iverson0881
20th January 2007, 11:34
So basically when I access my server for the first time www.glerck.com I get a directory listing of /var/www/ once I create a site it then gives me the welcome to www.glerck.com. I don't believe this was the behavior. Also when I manually type in the server IP...8.14.146.162 it shows /var/www/ unless I create a site under ISPConfig. I also have 8.14.146.163-6. Which also observe this behavior. I try adding the following lines my vhosts_ispconfig:
NameVirtualHost 8.14.146.162:80
<VirtualHost 8.14.146.162:80>
ServerName localhost
ServerAdmin root@localhost
DocumentRoot /var/www/sharedip
</VirtualHost>
NameVirtualHost 8.14.146.163:80
<VirtualHost 8.14.146.162:80>
ServerName localhost
ServerAdmin root@localhost
DocumentRoot /var/www/sharedip
</VirtualHost>
NameVirtualHost 8.14.146.164:80
<VirtualHost 8.14.146.162:80>
ServerName localhost
ServerAdmin root@localhost
DocumentRoot /var/www/sharedip
</VirtualHost>
NameVirtualHost 8.14.146.165:80
<VirtualHost 8.14.146.162:80>
ServerName localhost
ServerAdmin root@localhost
DocumentRoot /var/www/sharedip
</VirtualHost>
NameVirtualHost 8.14.146.166:80
<VirtualHost 8.14.146.162:80>
ServerName localhost
ServerAdmin root@localhost
DocumentRoot /var/www/sharedip
</VirtualHost>
but it hasn't seemed to take any effect. Do you know whats up?
NameVirtualHost 8.14.146.162:80
<VirtualHost 8.14.146.162:80>
ServerName localhost
ServerAdmin root@localhost
DocumentRoot /var/www/sharedip
</VirtualHost>
NameVirtualHost 8.14.146.163:80
<VirtualHost 8.14.146.162:80>
ServerName localhost
ServerAdmin root@localhost
DocumentRoot /var/www/sharedip
</VirtualHost>
NameVirtualHost 8.14.146.164:80
<VirtualHost 8.14.146.162:80>
ServerName localhost
ServerAdmin root@localhost
DocumentRoot /var/www/sharedip
</VirtualHost>
NameVirtualHost 8.14.146.165:80
<VirtualHost 8.14.146.162:80>
ServerName localhost
ServerAdmin root@localhost
DocumentRoot /var/www/sharedip
</VirtualHost>
NameVirtualHost 8.14.146.166:80
<VirtualHost 8.14.146.162:80>
ServerName localhost
ServerAdmin root@localhost
DocumentRoot /var/www/sharedip
</VirtualHost>
but it hasn't seemed to take any effect. Do you know whats up?