Site not showing after change of account IP

SamStones

Member
Apr 18, 2016
5
0
1
Lancashire, UK
cPanel Access Level
Root Administrator
Hello,

We've been having some problems with our main server ip as part of the network block is on some spam lists. As such, I have moved these accounts off the main shared ip onto a new ip on the same server.

Should there be any delay in the web sites showing up on the new ip address?

I can't make out why the site still doesn't show up 36 hours after the chance (TTL times have long since expired)

Visiting the web site just gives me:

--------------------
[Removed]
---------------------

When there should be a full web site there.

Any ideas what I should be looking at?
 
Last edited by a moderator:

keat63

Well-Known Member
Nov 20, 2014
1,962
267
113
cPanel Access Level
Root Administrator
Although it's recommended that DNS propogation can take 48 hours, i find about 4 is usually enough.
Are you sure that the issue isn't DNS or browser caching on your own PC ?

Also, I'm not sure what would happen to WHM DNS settings after changing the IP, would you have to change these manually, maybe worth a quick peek in one of the sites DNS settings.

I'd then start by trying something like MXtoolbox.com. This site has a great set of tools for diagnosing DNS as well as other issues.
 

Jcats

Well-Known Member
PartnerNOC
May 25, 2011
807
160
168
New Jersey
cPanel Access Level
DataCenter Provider
DNS isn't the problem in this situation, you can clearly see it is pulling up the site, its just not pointing to the correct location.

If you have 2 IP's on the same server, and all you did was "Home »Account Functions »Change Site’s IP Address" and you are seeing an empty site now, it almost seems as though the second IP is on a different server.

I would double check and make sure you are pointed to the correct IP.

Can you see the hits from refreshing the page in the access logs?
 

Jcats

Well-Known Member
PartnerNOC
May 25, 2011
807
160
168
New Jersey
cPanel Access Level
DataCenter Provider
Also, by moving the sites onto a different IP it wouldn't do anything if you are referring to a mail server black list as the emails will still be sent from the main IP of the server. You would need to go into

Home »Service Configuration »Exim Configuration Manager

and set:

"Send mail from account’s dedicated IP address" to On

To have what you did work.

Otherwise, you could of just left the sites on the main IP, and in:

Home »Service Configuration »Exim Configuration Manager

set:

Reference /etc/mailhelo for outgoing SMTP HELO to ON
and
Reference /etc/mailips for outgoing SMTP connections to ON

and configure both /etc/mailhelo /etc/mailips to reference the secondary IP this way the outgoing emails will start sending from the secondary IP without having to change any DNS.

How to Configure Exim's Outgoing IP Address - cPanel Knowledge Base - cPanel Documentation
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,884
2,254
463
I can't make out why the site still doesn't show up 36 hours after the chance (TTL times have long since expired)
Hello :)

Could you verify which method you used to update the IP address of the accounts?

Thank you.
 

SamStones

Member
Apr 18, 2016
5
0
1
Lancashire, UK
cPanel Access Level
Root Administrator
Thanks for your response....

If you have 2 IP's on the same server, and all you did was "Home »Account Functions »Change Site’s IP Address" and you are seeing an empty site now, it almost seems as though the second IP is on a different server.
This is what I did, and is the impression I got also.

I would double check and make sure you are pointed to the correct IP.
How can I check this? I checked with the host that the ip I've moved to is allocated to the server, and I've moved the site back to the old ip (site started working again) and then back to the new ip (site stopped working again)

Can you see the hits from refreshing the page in the access logs?
Doesn't appear that I can , no.
 

SamStones

Member
Apr 18, 2016
5
0
1
Lancashire, UK
cPanel Access Level
Root Administrator
Also, by moving the sites onto a different IP it wouldn't do anything if you are referring to a mail server black list as the emails will still be sent from the main IP of the server.

You would need to go into

Home »Service Configuration »Exim Configuration Manager

and set:

"Send mail from account’s dedicated IP address" to On

To have what you did work.
Hi, this is already set to ON. So my original theory should work?
 

SamStones

Member
Apr 18, 2016
5
0
1
Lancashire, UK
cPanel Access Level
Root Administrator
Hi,

Thanks to the below, I (think) I have managed to sort out my problem, but I'll have to see how it goes over the next couple of days...

Also, by moving the sites onto a different IP it wouldn't do anything if you are referring to a mail server black list as the emails will still be sent from the main IP of the server. You would need to go into

Home »Service Configuration »Exim Configuration Manager

and set:

"Send mail from account’s dedicated IP address" to On

To have what you did work.
This was already set to "on" , so I figured I'd try reversing the setup...

I set the main shared IP of the server to be the old IP address that the sites were originally on
This allowed me to use the WHM Change Accounts IP address tool to move the accounts back to their original IP (sites started working again)
I then changed the main server IP to be another IP address on the server , which doesn't have any problems sending mail from that account (since the "Send mail from account’s dedicated IP address" was set to "On")
I then turned OFF the "Send mail from account’s dedicated IP address" (so the server sends from the main server IP address)

I've done a couple of test emails from the problem account and don't seem to have any mailer daemon bounce back messages, and the sites are working, so will wait and see how we get on!
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,884
2,254
463