I have created a site in ISPConfig but the site resolves to the web root rather than the document root specified in the "Vhosts_ispconfig.conf" file as shown here:
Code:
NameVirtualHost 000.00.000.0:80
<VirtualHost 000.00.000.0:80>
ServerName localhost
ServerAdmin root@localhost
DocumentRoot /var/www/sharedip
</VirtualHost>
#
#
######################################
# Vhost: www.mysite.com:80
######################################
#
#
<VirtualHost 000.00.000.0:80>
ServerName www.mysite.com:80
ServerAdmin webmaster@mysite.com
DocumentRoot /var/www/web6/web
ServerAlias mysite.com
DirectoryIndex index.html index.htm index.php index.php5 index.php4 index.php3 index.shtml index.cgi index.pl index.jsp Default.htm default.htm
##### [shortened to save space]##########
AliasMatch ^/~([^/]+)(/(.*))? /var/www/web6/user/$1/web/$3
AliasMatch ^/users/([^/]+)(/(.*))? /var/www/web6/user/$1/web/$3
</VirtualHost>
So, basically, I can see the directory ISPConfig created for my site when I got to
http://www.mysite.com. What am I doing wrong? Any help is appreciated!