Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 2 > General

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 3rd January 2008, 17:18
runbuck runbuck is offline
Junior Member
 
Join Date: Nov 2007
Posts: 16
Thanks: 1
Thanked 0 Times in 0 Posts
Default Keep getting "Shared IP" Page

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?
Reply With Quote
Sponsored Links
  #2  
Old 3rd January 2008, 17:53
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,011
Thanks: 826
Thanked 5,379 Times in 4,226 Posts
Default

Please make sure that you selceted the internal IP for your sites and not the external IP.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 3rd January 2008, 18:09
runbuck runbuck is offline
Junior Member
 
Join Date: Nov 2007
Posts: 16
Thanks: 1
Thanked 0 Times in 0 Posts
Default Thanks

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.
Reply With Quote
  #4  
Old 4th January 2008, 11:14
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,011
Thanks: 826
Thanked 5,379 Times in 4,226 Posts
Default

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?
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #5  
Old 4th January 2008, 13:40
runbuck runbuck is offline
Junior Member
 
Join Date: Nov 2007
Posts: 16
Thanks: 1
Thanked 0 Times in 0 Posts
Default Same IP (internal)

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>

Last edited by runbuck; 5th January 2008 at 23:41.
Reply With Quote
  #6  
Old 4th January 2008, 13:45
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,011
Thanks: 826
Thanked 5,379 Times in 4,226 Posts
Default

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.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #7  
Old 5th January 2008, 23:40
runbuck runbuck is offline
Junior Member
 
Join Date: Nov 2007
Posts: 16
Thanks: 1
Thanked 0 Times in 0 Posts
Default One line.

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>
Reply With Quote
  #8  
Old 6th January 2008, 13:37
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,011
Thanks: 826
Thanked 5,379 Times in 4,226 Posts
 
Default

The vhostr definition in the last post is fine.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Add new website: folders OK but still "shared IP" notice djkoelkast Installation/Configuration 20 6th July 2007 17:45
not seeing shared IP page andyreynolds Installation/Configuration 2 21st February 2007 23:24
"Shared IP" page again - why? bmwpingvinen Installation/Configuration 6 31st January 2007 14:35
"shared ip" information page for new domains josefu General 2 27th November 2006 17:53
"Shared IP" Message and Fragmented Vhost.conf files! bpmee Installation/Configuration 6 23rd September 2006 22:37


All times are GMT +2. The time now is 14:12.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.