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.

Site not showing after change of account IP

Discussion in 'Bind / DNS / Nameserver Issues' started by SamStones, Apr 18, 2016.

  1. SamStones

    SamStones Member

    Joined:
    Apr 18, 2016
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    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?
     
    #1 SamStones, Apr 18, 2016
    Last edited by a moderator: Apr 18, 2016
  2. keat63

    keat63 Well-Known Member

    Joined:
    Nov 20, 2014
    Messages:
    765
    Likes Received:
    20
    Trophy Points:
    18
    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.
     
  3. Jcats

    Jcats Well-Known Member

    Joined:
    May 25, 2011
    Messages:
    275
    Likes Received:
    31
    Trophy Points:
    28
    Location:
    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?
     
  4. Jcats

    Jcats Well-Known Member

    Joined:
    May 25, 2011
    Messages:
    275
    Likes Received:
    31
    Trophy Points:
    28
    Location:
    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
     
  5. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    675
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello :)

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

    Thank you.
     
  6. SamStones

    SamStones Member

    Joined:
    Apr 18, 2016
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Lancashire, UK
    cPanel Access Level:
    Root Administrator
    Hi,

    I used the "change sites ip address" tool from within WHM.

    I'm reviewing the other answers in this thread also, thanks for the help so far.
     
  7. SamStones

    SamStones Member

    Joined:
    Apr 18, 2016
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Lancashire, UK
    cPanel Access Level:
    Root Administrator
    Thanks for your response....

    This is what I did, and is the impression I got also.

    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)

    Doesn't appear that I can , no.
     
  8. SamStones

    SamStones Member

    Joined:
    Apr 18, 2016
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Lancashire, UK
    cPanel Access Level:
    Root Administrator
    Hi, this is already set to ON. So my original theory should work?
     
  9. SamStones

    SamStones Member

    Joined:
    Apr 18, 2016
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    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...

    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!
     
  10. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

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

Share This Page