Forum Moderators: phranque
# IP, tab, tab, domain, alias
127.0.0.1localhost.localdomain localhost
123.45.67.89servername.example.com servername 987.65.43.21subdomain.example.com subdomain
123.45.67.89 subdomain.example.com
127.0.0.1 localhost.localdomain localhost
# old record
#123.45.67.89 servername.example.com servername
# new record
987.65.43.21 servername.example.com servername
# just changing the above didn't work, so I also plugged in a bunch of domains
987.65.43.21 foo.com
987.65.43.21 www.foo.com
987.65.43.21 bar.com
987.65.43.21 www.bar.com # old VPS IP | * | new VPS IP | * | tcp/udp
123.45.67.89|*|987.65.43.21|*|tcp/udp 123.45.67.89|80|987.65.43.21|80|tcp/udp
123.45.67.89|443|987.65.43.21|443|tcp/udp Well, I can't log in to WHM anymore, because server.example.com/whm redirects to the new server!
You should also use your hosts file to test if everything works as it should on the new server before you change the A records.
Could the ping and http results you are seeing be due to local caching?