IP redirects to old droplet from where I created snapshot for create new droplet

April 11, 2019 351 views
DigitalOcean Configuration Management PHP Frameworks Ubuntu 16.04

I created a snapshot from droplet ‘X’.
Then I created a new droplet “Y” using the snapshot above.

Then I assign new Domain, floating IP and able to login using SSH to the newly created droplet 'Y’.
I have updated the DNS of the domain as well.

Now once I browse the new domain which pointed to new droplet 'Y’, , it’s redirect to the Droplet “X” IP / Domain.

[ Note ] : The source droplet “X” has SSL enabled and also has postfix installed. I had to update the host and Port too.

1 Answer

Hello, @kazishahin

Have in mind that the DNS might take up to 24 hours in order to fully update due the DNS cache. If you try to access your domain name right after the DNS is updated you will most probably experience the same thing, it’s just how DNS works. You can always set a low TTL but this will still not solve the issue with the DNS cache in all the ISPs.

Have another answer? Share your knowledge.