We recently moved servers and used the Transfer Tool to migrate to a new server, old websites which existed continued to work normally, but when creating a new domain or subdomain the new sites don't work, after checking the httpd.config file I found that it's assigning them the IP of the old server.

How can I fix this? I confirmed that the new server IP is set in "Basic cPanel & WHM Setup". However the below files seem to still contain the IP of the old server:
./etc/userdatadomains
./etc/domainips
./etc/userdatadomains.json

Staff Member

I'm happy to see you were able to address the issue. Note the wrong IP address would have only been assigned to the account if it was added to the destination server as an available IP address during the transfer. I was unable to reproduce the issue on test servers. Is this something you can reproduce when copying over additional accounts?