Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 2 > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 1st August 2008, 02:27
spuppy spuppy is offline
Member
 
Join Date: Aug 2007
Posts: 74
Thanks: 5
Thanked 0 Times in 0 Posts
Default Added new site - gets error page

Hi I just added a second site to my new setup, and quickly updated my hosts file to check it out. However, when I go to that domain, I get the following error:

This IP address is shared. For access to the web site which you look for, enter its address instead of its IP.

For questions or problems please contact the server administrator.

However, the first site I added works perfectly fine.

Please help, thanks!
Reply With Quote
Sponsored Links
  #2  
Old 1st August 2008, 11:48
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,777
Thanks: 821
Thanked 5,332 Times in 4,184 Posts
Default

http://www.howtoforge.com/ispconfig-2.x-first-steps-p3

Chapter 2.10.3
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 1st August 2008, 20:20
spuppy spuppy is offline
Member
 
Join Date: Aug 2007
Posts: 74
Thanks: 5
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by till View Post
That's not it, the IP is correct
Reply With Quote
  #4  
Old 2nd August 2008, 13:46
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,740 Times in 2,575 Posts
Default

What's in your Vhosts_ispconfig.conf file, and what's the output of
Code:
ifconfig
?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #5  
Old 2nd August 2008, 19:23
spuppy spuppy is offline
Member
 
Join Date: Aug 2007
Posts: 74
Thanks: 5
Thanked 0 Times in 0 Posts
Default

The file looks like this

Code:
###################################
#
# ISPConfig vHost Configuration File
#         Version 1.0
#
###################################
#
NameVirtualHost 64.40.112.137:80
<VirtualHost 64.40.112.137:80>
  ServerName localhost
  ServerAdmin root@localhost
  DocumentRoot /var/www/sharedip
  <IfModule mod_rewrite.c>
    RewriteEngine on
    RewriteCond %{REQUEST_METHOD} ^(TRACE|TRACK)
    RewriteRule .* - [F]
  </IfModule>
</VirtualHost>
#
...
######################################
# Vhost: www.builsilentpc.com:80
######################################
#
#
<VirtualHost 64.40.112.137:80>
ServerName www.builsilentpc.com:80
ServerAdmin webmaster@builsilentpc.com
DocumentRoot /var/www/web2/web
ServerAlias builsilentpc.com
DirectoryIndex index.html index.htm index.php index.php5 index.php4 index.php3 $
ErrorLog /var/www/web2/log/error.log
AddType application/x-httpd-php .php .php3 .php4 .php5
And ifconfig:

Code:
eth0      Link encap:Ethernet  HWaddr 00:19:B9:F8:16:C3
          inet addr:64.40.112.137  Bcast:64.40.112.255  Mask:255.255.255.0
          inet6 addr: fe80::219:b9ff:fef8:16c3/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:3983568 errors:0 dropped:0 overruns:0 frame:0
          TX packets:190366 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:318639692 (303.8 MiB)  TX bytes:83430453 (79.5 MiB)
          Interrupt:169

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:8902 errors:0 dropped:0 overruns:0 frame:0
          TX packets:8902 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:852250 (832.2 KiB)  TX bytes:852250 (832.2 KiB)
Reply With Quote
  #6  
Old 3rd August 2008, 13:43
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,740 Times in 2,575 Posts
Default

Can you post the vhost configuration of the vhost that's not working?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #7  
Old 3rd August 2008, 19:50
spuppy spuppy is offline
Member
 
Join Date: Aug 2007
Posts: 74
Thanks: 5
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by falko View Post
Can you post the vhost configuration of the vhost that's not working?
That is the one that's not working. The other sites I added work fine, it's just this one that's broken. I guess it might be easier just to do it all over again...

EDIT: I tried deleting and adding the site again, but the same problem occurs. It only occurs for this domain.

Here's the whole thing

Code:
######################################
# Vhost: www.builsilentpc.com:80
######################################
#
#
<VirtualHost 64.40.112.137:80>
ServerName www.builsilentpc.com:80
ServerAdmin webmaster@builsilentpc.com
DocumentRoot /var/www/web2/web
ServerAlias builsilentpc.com
DirectoryIndex index.html index.htm index.php index.php5 index.php4 index.php3 $
ErrorLog /var/www/web2/log/error.log
AddType application/x-httpd-php .php .php3 .php4 .php5
<Files *.php>
    SetOutputFilter PHP
    SetInputFilter PHP
</Files>
<Files *.php3>
    SetOutputFilter PHP
    SetInputFilter PHP
</Files>
<Files *.php4>
    SetOutputFilter PHP
    SetInputFilter PHP
</Files>
<Files *.php5>
    SetOutputFilter PHP
    SetInputFilter PHP
</Files>
php_admin_flag safe_mode Off
Alias /error/ "/var/www/web2/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/web2/user/$1/web/$3
AliasMatch ^/users/([^/]+)(/(.*))? /var/www/web2/user/$1/web/$3
<IfModule mod_rewrite.c>
  RewriteEngine on
  RewriteCond %{REQUEST_METHOD} ^(TRACE|TRACK)
  RewriteRule .* - [F]
</IfModule>
</VirtualHost>

Last edited by spuppy; 3rd August 2008 at 21:58.
Reply With Quote
  #8  
Old 4th August 2008, 10:47
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,740 Times in 2,575 Posts
Default

And you've tried www.builsilentpc.com or builsilentpc.com in your browser?
IS there maybe a "d" missing in the domain name? buildsilentpc.com
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
The Following User Says Thank You to falko For This Useful Post:
spuppy (4th August 2008)
  #9  
Old 4th August 2008, 19:33
spuppy spuppy is offline
Member
 
Join Date: Aug 2007
Posts: 74
Thanks: 5
Thanked 0 Times in 0 Posts
 
Default

Quote:
Originally Posted by falko View Post
And you've tried www.builsilentpc.com or builsilentpc.com in your browser?
IS there maybe a "d" missing in the domain name? buildsilentpc.com
OMG I didnt notice the typo.... UGH I am an idiot. Thanks for your help. I'm actually glad it was something stupid like this, and not a problem with the server.

Last edited by spuppy; 4th August 2008 at 21:00.
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
Postfix - Relay access denied gotting Server Operation 3 23rd April 2008 14:06
network issues now it says "401 The web site is blocked by administrator" Check General 3 26th February 2008 14:22
ISPConfig 2.3.2-dev released till General 9 4th June 2007 10:46
Apache2 Freezes celtic Server Operation 31 28th May 2007 17:18
php script injections Grizzly General 21 18th July 2006 08:55


All times are GMT +2. The time now is 10:43.


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