Shared IP - can't see my new site.

Discussion in 'Installation/Configuration' started by erikturk, May 23, 2006.

  1. erikturk

    erikturk New Member

    Fedora Core 5.0 - Installed via "perfect setup" (thanks for this, very much)

    Installed ISPConfig 2.2.3

    I have an existing server that I am moving the web-sites from to the new ISPconfig based server. So the domains are already registered and pointing to the correct IP address. I'm moving the ISPconfig server "in and out" to test it with the same IP address as the exisiting server.

    In ISP config, When I add a client, then a web-site, I get the "Shared IP" error page, not the page that I am looking for. This is true whether I even though I only have one web-site configured in ISPconfig.

    I need some more hints about where to look to solve this problem. The Vhosts file is okay, I don't have the issue with the dates that other posters have had. Which log files will tell me what is happening? I'm a DNS newbie, so I'm worried that the issue is somehow linked to the DNS server that is configured as part of ISPconfig.

    httpd -t is "syntax ok"

    I've looked for clues in

    /var/log/httpd/error_log

    /var/log/httpd/access_log

    /etc/httpd/conf/httpd.conf

    /etc/httpd/conf/vhosts/
     
  2. falko

    falko Super Moderator ISPConfig Developer

    What's in your Vhosts_ispconfig.conf?
     
  3. erikturk

    erikturk New Member

    cat Vhosts_ispconfig.conf
    ###################################
    #
    # ISPConfig vHost Configuration File
    # Version 1.0
    #
    ###################################
    #
    NameVirtualHost 64.25.171.7:80
    <VirtualHost 64.25.171.7:80>
    ServerName localhost
    ServerAdmin root@localhost
    DocumentRoot /var/www/sharedip
    </VirtualHost>
    #
    #
    ######################################
    # Vhost: www.hurtinbluesband.com:80
    ######################################
    #
    #
    <VirtualHost 64.25.171.7:80>
    ServerName www.hurtinbluesband.com:80
    ServerAdmin webmaster@hurtinbluesband.com
    DocumentRoot /home/www/web1/web
    ServerAlias hurtinbluesband.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 /home/www/web1/log/error.log
    Alias /error/ "/home/www/web1/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 ^/~([^/]+)(/(.*))? /home/www/web1/user/$1/web/$3
    AliasMatch ^/users/([^/]+)(/(.*))? /home/www/web1/user/$1/web/$3
    </VirtualHost>
    #
    #
    #
    ######################################
    # Vhost: www.bbn2.com:80
    ######################################
    #
    #
    <VirtualHost 64.25.171.7:80>
    ServerName www.bbn2.com:80
    ServerAdmin webmaster@bbn2.com
    DocumentRoot /home/www/web4/web
    ServerAlias bbn2.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 /home/www/web4/log/error.log
    Alias /error/ "/home/www/web4/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 ^/~([^/]+)(/(.*))? /home/www/web4/user/$1/web/$3
    AliasMatch ^/users/([^/]+)(/(.*))? /home/www/web4/user/$1/web/$3
    </VirtualHost>
    #
    #
    #
    ######################################
    # Vhost: www.iflions.com:80
    ######################################
    #
    #
    <VirtualHost 64.25.171.7:80>
    ServerName www.iflions.com:80
    ServerAdmin webmaster@iflions.com
    DocumentRoot /home/www/web3/web
    ServerAlias iflions.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 /home/www/web3/log/error.log
    Alias /error/ "/home/www/web3/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 ^/~([^/]+)(/(.*))? /home/www/web3/user/$1/web/$3
    AliasMatch ^/users/([^/]+)(/(.*))? /home/www/web3/user/$1/web/$3
    </VirtualHost>
    #
    #
     
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    I just checked your addresses:

    hurtinbluesband.com does not resolve at all.
    bbn2.com resolves to 64.202.189.170 and not to 64.25.171.7
    iflions.com resolves to 66.180.173.32 and not to 64.25.171.7

    Please make sure that the domains resolve all to 64.25.171.7. If 64.25.171.7 is not your server IP, change the IP in ISPConfig to the correct IP and edit + save all websites.

    Are you in a NAT enviroment behind a router?
     

Share This Page