Added new site - gets error page

Discussion in 'Installation/Configuration' started by spuppy, Aug 1, 2008.

  1. spuppy

    spuppy New Member

    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!
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

  3. spuppy

    spuppy New Member

  4. falko

    falko Super Moderator Howtoforge Staff

    What's in your Vhosts_ispconfig.conf file, and what's the output of
    Code:
    ifconfig
    ?
     
  5. spuppy

    spuppy New Member

    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 [email protected]
    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)
    
     
  6. falko

    falko Super Moderator Howtoforge Staff

    Can you post the vhost configuration of the vhost that's not working?
     
  7. spuppy

    spuppy New Member

    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 [email protected]
    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: Aug 3, 2008
  8. falko

    falko Super Moderator Howtoforge Staff

    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
     
  9. spuppy

    spuppy New Member

    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: Aug 4, 2008

Share This Page