Advice needed on best DNS setup with Digital Ocean

  • Posted June 28, 2014

I am keen to upgrade my droplet from Ubuntu 13.04 to 14.04 and can see building a new droplet and moving my web docs and databases from my old droplet to the new is probably the best way to do this.

My question is what is the most flexible way to setup domains and DNS so switching say 20 domains to a new server is fast and seamless. My domains are currently ‘parked’ at the registrar so I can forward email addresses at the registrar level (to Gmail addresses), which I like as my droplet doesn’t then need a mail server and email is as un-interrupted as possible.

Currently I’d have to build the new droplet, rsync across the data, test it and then go through one by one at the domain registrar and change the IP address to the new droplet and possibly lose data in the window between when I rsync’ed the data to the new server and the DNS changeover taking effect.

Any advice much appreciated…


Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

The easiest way: Configure http proxy (nginx) on the old droplet. And to proxy http requests for these 20 domains on a new droplet. More slowly change to the new IP from domain registrars.