The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Website can't connect after IP change, but domain does resolve

Discussion in 'General Discussion' started by jasoncollege24, May 4, 2015.

  1. jasoncollege24

    Joined:
    Mar 25, 2012
    Messages:
    15
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Portsmouth, Virginia, United States
    cPanel Access Level:
    Root Administrator
    URL is [Removed] and the domain is registered through GoDaddy

    The server in question is a dedicated server. When I created the initial cPanel account, I attached it to the shared IP, then once the site was resolving, I changed the IP address to a dedicated one.

    At first, I was redirected to the default CGI page (which I understood). Within an hour, most other services that use that domain (FTP, SSH, etc) were resolving, but the website itself refuses to.

    I've checked httpd.conf and it has the proper IP address. I've also checked the DNS zone, and it also has the correct IP address.

    I've installed CSF, but I know that it's not the culprit, as this problem persists, even if the firewall is turned off.

    also the URLs for WHM, and cPanel work fine

    in Google Chrome, I get the message that the connection was refused. My IP address is whitelisted in both cPHulk, and CSF, and this problem also happens from other locations.

    Any help with this would be greatly appreciated. :)
     
    #1 jasoncollege24, May 4, 2015
    Last edited by a moderator: May 4, 2015
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    651
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello,

    Have you tried uploading a test HTML page (e.g. test.html) and then attempting to load that page in the browser to see if it works as expected? Have you uploaded any content to it at this point?

    Thank you.
     
  3. jasoncollege24

    Joined:
    Mar 25, 2012
    Messages:
    15
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Portsmouth, Virginia, United States
    cPanel Access Level:
    Root Administrator
    There is a website there, and I've tried loading the different pages specifically with the same results. I also added a new file as a test, which also failed to load.

    If I do http://IP/~user the content that is there loads as expected.
     
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    651
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello,

    Do you have any custom Mod_Rewrite rules added to your .htaccess file within the account's public_html directory? Do you notice any error messages in /usr/local/apache/logs/error_log when attempting to load the website?

    Thank you.
     
  5. jasoncollege24

    Joined:
    Mar 25, 2012
    Messages:
    15
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Portsmouth, Virginia, United States
    cPanel Access Level:
    Root Administrator
    I don't have anything at all in my .htaccess file within the account's public_html directory. A copy of the error_log, starting from when I started messing with the site today is below.

    Code:
    [Mon May 04 14:32:23 2015] [error] [client Hiding IP] File does not exist: /usr/local/apache/htdocs/favicon.ico
    [Mon May 04 14:32:23 2015] [error] [client Hiding IP] File does not exist: /usr/local/apache/htdocs/favicon.ico
    [Mon May 04 16:07:36 2015] [error] [client Hiding IP] File does not exist: /usr/local/apache/htdocs/favicon.ico
    [Mon May 04 16:07:36 2015] [error] [client Hiding IP] File does not exist: /usr/local/apache/htdocs/favicon.ico
    [Mon May 04 16:36:53 2015] [notice] Graceful restart requested, doing restart
    [Mon May 04 16:36:54 2015] [warn] RSA server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
    [Mon May 04 16:36:54 2015] [notice] Apache/2.2.29 (Unix) mod_ssl/2.2.29 OpenSSL/1.0.1e-fips mod_bwlimited/1.4 configured -- resuming normal operations
    [Mon May 04 16:37:09 2015] [notice] caught SIGTERM, shutting down
    [Mon May 04 16:37:11 2015] [warn] RSA server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
    [Mon May 04 16:37:11 2015] [notice] suEXEC mechanism enabled (wrapper: /usr/local/apache/bin/suexec)
    [Mon May 04 16:37:11 2015] [notice] ModSecurity for Apache/2.8.0 (http://www.modsecurity.org/) configured.
    [Mon May 04 16:37:11 2015] [notice] ModSecurity: APR compiled version="1.5.1"; loaded version="1.5.1"
    [Mon May 04 16:37:11 2015] [notice] ModSecurity: PCRE compiled version="8.36 "; loaded version="8.36 2014-09-26"
    [Mon May 04 16:37:11 2015] [notice] ModSecurity: LUA compiled version="Lua 5.1"
    [Mon May 04 16:37:11 2015] [notice] ModSecurity: LIBXML compiled version="2.9.2"
    [Mon May 04 16:37:11 2015] [notice] Status engine is currently disabled, enable it by set SecStatusEngine to On.
    [Mon May 04 16:37:12 2015] [warn] RSA server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
    [Mon May 04 16:37:12 2015] [notice] Apache/2.2.29 (Unix) mod_ssl/2.2.29 OpenSSL/1.0.1e-fips mod_bwlimited/1.4 configured -- resuming normal operations
    The only thing i see as far as errors go there is that favicon.ico is missing. I also hid the access IP address for security reasons.
     
  6. jasoncollege24

    Joined:
    Mar 25, 2012
    Messages:
    15
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Portsmouth, Virginia, United States
    cPanel Access Level:
    Root Administrator
    Wanted to update so you know this has been resolved. the problem was that the IP address for apache to listen on was changed. I restored it to it's default, and the pages are now being served properly.
     
  7. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    651
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
Loading...

Share This Page