arrow_upward

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Apache Redirect Error Ubuntu Server
#5
Okay, so I have tried the above method with the same results happening. Below is my vHost and DNS entries. What I am not understanding is the .htaccess portion, I keep seeing conflicting entries where people are setting it up in the main domain folder and the subdomain folder.

NameVirtualHost *:80

<VirtualHost *:80>
    ServerName tbelldesign.co
    ServerAlias www.tbelldesign.co
    DocumentRoot /var/www/tbelldesign.co/public_html/

    ErrorLog ${APACHE_LOG_DIR}/error.log
    CustomLog ${APACHE_LOG_DIR}/access.log combined

    <Directory /var/www/tbelldesign.co/public_html>
         Options Indexes FollowSymLinks MultiViews
         AllowOverride All
         Order allow,deny
         allow from all
    </Directory>
</VirtualHost>

<VirtualHost *:80>
    ServerName dev.tbelldesign.co
    DocumentRoot /var/www/tbelldesign.co/public_html/

    ErrorLog ${APACHE_LOG_DIR}/error.log
    CustomLog ${APACHE_LOG_DIR}/access.log combined

    <Directory /var/www/dev.tbelldesign.co/public_html>
         Options Indexes FollowSymLinks MultiViews
         AllowOverride All
         Order allow,deny
         allow from all
    </Directory>
</VirtualHost>


Main Domain - Type A - @ - Points to SERVERIP
Sub Domain - Type CNAME - Points to @

Any help would be appreciated, I have been looking through a few items online and I keep getting redirected back to the main tbelldesign.co site from dev.tbelldesign.co
Thank you to CubeData and Posts4VPS for the services of VPS 8.
lockThread Closed 


Messages In This Thread
RE: Apache Redirect Error Ubuntu Server - by tbelldesignco - 11-14-2020, 09:19 PM

Possibly Related Threads…
Thread
Author
Replies
Views
Last Post
9,516
02-24-2021, 07:17 AM
Last Post: Pacific Spirit
2,278
11-27-2020, 02:53 AM
Last Post: Rehan
11,726
06-17-2020, 04:32 PM
Last Post: Mashiro
2,584
06-11-2020, 06:31 PM
Last Post: rudra

person_pin_circle Users browsing this thread: 1 Guest(s)
Sponsors: VirMach - Host4Fun - CubeData - Evolution-Host - HostDare - Hyper Expert - Shadow Hosting - Bladenode - Hostlease - RackNerd - ReadyDedis - Limitless Hosting