These forums are locked and archived, but all topics have been migrated to the new forum. You can search for this topic on the new forum: Search for How to properly change a website's IP? on the new forum.
I have only two websites in the server, one one main shared IP, and second one on a private IP. Now I wanted to delete the first website and make second one main website. So I removed virtual server for the first site and have changed IP for the second site to the main shared IP. But as soon as I change the website's IP it becomes unavailable.
bump
if you change the IP address then it will need to propagate through out the world. The DNS servers around the world hold a cache with your old IP. Until that cache is released your site will not be visible under the new IP.
It can take a few hours before the new IP takes effect.
I thought I can change IP addresses within IP range bound to my server. I didn't change nameservers and as AFAIK propagation matters when you change nameservers.
You do have to change the IP address to which your hostname resolves. When you use Virtualmin's function to change the IP, it will do that automatically for you.
But it indeed does take a while before that change propagates.