Question
Apache Virtual hosts won't work.
I have two domains hosted on my droplet, I have the virtual hosts setup. But my second domain keeps going to the first one's directory for some reason.
This is the Apache VHosts file for the first one:
ServerAdmin webmaster@localhost
DocumentRoot /var/www/computingessentials
Options FollowSymLinks
AllowOverride None
Options Indexes FollowSymLinks MultiViews
AllowOverride None
Order allow,deny
allow from all
ErrorLog "/var/www/computingessentials/logs/error_log"
And this is for the second one:
ServerAdmin webmaster@localhost
DocumentRoot /var/www/crunchyvps
Options FollowSymLinks
AllowOverride None
Options Indexes FollowSymLinks MultiViews
AllowOverride None
Order allow,deny
allow from all
ErrorLog "/var/www/crunchyvps/logs/error_log"
I have used ajenti to generate both of the files
Add a comment
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
×