Apache Virtual Hosts go to root and not documentroot
This is my config file for the domain I want to map
<virtualhost *:80="">ServerAdmin shamist@gmail.com
ServerName thevorticon.com
ServerAlias www.thevorticon.com
DocumentRoot /srv/www/thevorticon</virtualhost>
and it seems as if it maps to /src/www and not the subfolder.
Any idea what could be wrong?
2 Replies
apachectl -k graceful
If that's not it, did you enable the virtual host? That is, do you have a link pointing from the sites-enabled directory to the config file in sites-available?