View Full Version : Keep getting "Shared IP" Page
runbuck
3rd January 2008, 18:18
Any ideas on how to troubleshoot this issue would be appreciated. In short, I added 2 sites (was just running 1) to my ISPconfig. Now those two sites are both getting the shared IP page. Here is what I have done to troubleshoot:
1. Checked my DNS provider (DNS2GO) and looked at the custom A records for those sites. They were pointing to the current external IP of my router.
2. Checked my router. It is forwarding 80 and such ports to the internal IP that ISPconfig runs on.
3. Checked settings in ISPConfig. DNS check boxes are off.
4. Checked ISPconfig_vhosts file on ubuntu ... looks fine.
5. Checked ISPconfig log no issues with the '-t' command so the vhost file is building
6. Names are the same on the websites between all the above
Thoughts?
till
3rd January 2008, 18:53
Please make sure that you selceted the internal IP for your sites and not the external IP.
runbuck
3rd January 2008, 19:09
Till 1st off thanks for your tireless support of this product. I like it quite a bit and have been using it for about 4 months.
That said, to your question.
When I go into the admin for ISPconfig and pull up the site in question the IP shown on the "ISP Site" page is the internal ip (192.168.0.188 actually) so I believe that is correct. The router redirects inbound 80 requests to that IP.
till
4th January 2008, 12:14
Have a look in the Vhost_ispconfig.conf file (in /etc/apache2/vhosts/ or a similar directory). Does it contain the same internal IP in the vhost definition for this domain?
runbuck
4th January 2008, 14:40
Till, seems to be the same IP. Here is the VHOSTs segment from the Vhosts_ispconfig.conf file for that website:
<VirtualHost 192.168.0.188:80>
ServerName www.sitename.com:80
ServerAdmin webmaster@sitename.com
DocumentRoot /var/www/web10/web
ServerAlias sitename.comDirectoryIndex index.html index.htm index.php index.php5 index.php4 index.php3 index.shtml index.cgi index.pl index.jsp Default.htm default.htm
ErrorLog /var/www/web10/log/error.log
Alias /error/ "/var/www/web10/web/error/"
ErrorDocument 400 /error/invalidSyntax.html
ErrorDocument 401 /error/authorizationRequired.html
ErrorDocument 403 /error/forbidden.html
ErrorDocument 404 /error/fileNotFound.html
ErrorDocument 405 /error/methodNotAllowed.html
ErrorDocument 500 /error/internalServerError.html
ErrorDocument 503 /error/overloaded.html
AliasMatch ^/~([^/]+)(/(.*))? /var/www/web10/user/$1/web/$3
AliasMatch ^/users/([^/]+)(/(.*))? /var/www/web10/user/$1/web/$3
</VirtualHost>
till
4th January 2008, 14:45
Is this really in one line?
ServerAlias leveragency.comDirectoryIndex index.html index.htm index.php index.php5 index.php4 index.php3 index.shtml index.cgi index.pl index.jsp Default.htm default.htm
The DirectoryIndex must be in the next row.
runbuck
6th January 2008, 00:40
Not sure what happened there. Yes its one line:
<VirtualHost 192.168.0.188:80>
ServerName www.sitename.com:80
ServerAdmin webmaster@sitename.com
DocumentRoot /var/www/web10/web
ServerAlias sitename.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
ErrorLog /var/www/web10/log/error.log
Alias /error/ "/var/www/web10/web/error/"
ErrorDocument 400 /error/invalidSyntax.html
ErrorDocument 401 /error/authorizationRequired.html
ErrorDocument 403 /error/forbidden.html
ErrorDocument 404 /error/fileNotFound.html
ErrorDocument 405 /error/methodNotAllowed.html
ErrorDocument 500 /error/internalServerError.html
ErrorDocument 503 /error/overloaded.html
AliasMatch ^/~([^/]+)(/(.*))? /var/www/web10/user/$1/web/$3
AliasMatch ^/users/([^/]+)(/(.*))? /var/www/web10/user/$1/web/$3
</VirtualHost>
till
6th January 2008, 14:37
The vhostr definition in the last post is fine.
vBulletin® v3.8.7, Copyright ©2000-2012, vBulletin Solutions, Inc.