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

jasoncollege24

Active Member
Mar 25, 2012
44
11
58
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. :)
 
Last edited by a moderator:

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,258
463
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.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,258
463
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.
 

jasoncollege24

Active Member
Mar 25, 2012
44
11
58
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.
 

jasoncollege24

Active Member
Mar 25, 2012
44
11
58
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.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,258
463
Hello,

I am happy to see the issue is now resolved. Thank you for updating us with the outcome.