Transfer Tool: VirtualHost using old server IP for new domains after migrating to new server

sami.s

Registered
Jan 14, 2016
3
0
1
USA
cPanel Access Level
Root Administrator
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
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,909
2,229
463
Hello :)

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?

Thank you.