Method or way to minimize site disruption when changing ip address

Hello,

We have a virtual server with a shared ip address. We will be adding an SSL cert to it and changing this virtual server to a dedicated ip address. Is there a method to allow the site to resolve to both ip addresses temporarily to prevent website disruption? Or if this is not possible, another method to minimize site disruption while the DNS records for the site propagate from the old shared ip to the new dedicated ip address. Thanks in advance.

Status: 
Closed (fixed)

Comments

Howdy -- our suggestion for how best to handle that would be to change the DNS TTL, a day or two ahead of time.

To do that, you can run a command such as the following:

virtualmin modify-dns --domain example.com --ttl 1h

That would make it so that the DNS was only cached for an hour. You can set it to less if you like, but making that an hour, and then performing the changes at night, is a good way to accomplish a switch such as what you're doing.

When you're done, you can change the DNS TTL back with a command like this:

virtualmin modify-dns --domain example.com --ttl 38400