PDA

View Full Version : Added new site - gets error page


spuppy
1st August 2008, 03:27
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!

till
1st August 2008, 12:48
http://www.howtoforge.com/ispconfig-2.x-first-steps-p3

Chapter 2.10.3

spuppy
1st August 2008, 21:20
http://www.howtoforge.com/ispconfig-2.x-first-steps-p3

Chapter 2.10.3
That's not it, the IP is correct

falko
2nd August 2008, 14:46
What's in your Vhosts_ispconfig.conf file, and what's the output of ifconfig?

spuppy
2nd August 2008, 20:23
The file looks like this


###################################
#
# 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:

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)

falko
3rd August 2008, 14:43
Can you post the vhost configuration of the vhost that's not working?

spuppy
3rd August 2008, 20:50
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


######################################
# 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>

falko
4th August 2008, 11:47
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

spuppy
4th August 2008, 20:33
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.