Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Transfering accounts to a different server issue

Discussion in 'Bind/DNS/Nameserver' started by mythprod, Jan 31, 2019.

  1. mythprod

    mythprod Registered

    Joined:
    Jan 31, 2019
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Kansas
    cPanel Access Level:
    Root Administrator
    Hi all, first post here and not sure if this is the right forum. I'm transferring my sites managed via WHM / Cpanel from one server to another. It's just a hosting provider switch, running on CentOS 7.5. My old server had 5 dedicated IPs all pointing at the same server. My new server has only one IP. I have everything set up in WHM / Cpanel set up to use the new IP and some sites are working. One of the sites using a dedicated IP is not, so I need help on coming up with things to check or at least start checking some log files. I have root access to both boxes. I keep hitting the cgi-sys/defaultwebpage.cgi script on the sites that aren't working and I can't figure out what is still misconfigured - like what area of WHM / Cpanel would care about dedicated IPs? I feel like I'm fighting WHM / Cpanel vs. apache or centOS and just need help on what to check for. We did a complete transfer of WHM / Cpanel from one server to another and it's looking like everything came over okay and like I said above some sites are working fine. It seems related to the addon domains and parent domain that previously had a dedicated IP pointed at it. If we could start there with the ideas that might be ideal!

    TIA!

    Dave
     
  2. Jarvis421

    Jarvis421 Member

    Joined:
    Nov 20, 2018
    Messages:
    15
    Likes Received:
    2
    Trophy Points:
    3
    Location:
    Kochi, India
    cPanel Access Level:
    Root Administrator
    Hello Dave,

    Welcome to cPanel forums.

    IP mismatch in DNS and Apache configuration can cause such issues. Just check and ensure that A record of domains that have issue are matching IP in httpd.conf new server.

    You can check A record of domains using : Dig (DNS lookup)

    To check IP of domain in httpd.conf, SSH to the new server and run following command :

    Code:
    grep -4 www.yourdomain.tld /etc/apache2/conf/httpd.conf
     
  3. mythprod

    mythprod Registered

    Joined:
    Jan 31, 2019
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Kansas
    cPanel Access Level:
    Root Administrator
    You're absolutely right. Something is putting local IPs in there for the domains that aren't working. Can I edit the httpd.conf directly or should I go back into WHM and fix it in the interface somewhere? Because we've been in the interface already and didn't see these assigned. I'm not sure how local IPs got there the IP address isn't familiar to me. Is it some NAT setting maybe putting it there? I'm okay with editing the httpd.conf file if that's the thing to do at this point. Any advice there?

    Thanks!!
     
  4. cPanelLauren

    cPanelLauren Forums Analyst II Staff Member

    Joined:
    Nov 14, 2017
    Messages:
    5,728
    Likes Received:
    436
    Trophy Points:
    233
    Location:
    Houston
    cPanel Access Level:
    DataCenter Provider
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice