Migration to Digital Ocean & DNS

February 11, 2018 783 views
WordPress DigitalOcean DNS Ubuntu 16.04

Hi All,

I am looking for some advice around the best way to achieve the following, essentially i currently run 3 wordpress websites all hosted on 3 different shared hosting accounts. Lets call them r2d2.com, C3P0.com & BB8.com i want to consolidate these down and move over to a VPS on DO. I do however need to minimise any downtime and would like to take the opportunity of the move to do some testing on new features in advance. This is my plan so far"

  1. Build a new droplet based on Ubuntu 16.04, secure it and then install a LEMP stack. Add on a management platform (VirtualMin or ServerPilot).
  2. Deploy 3 new virtual sites on the server (testing.r2d2.com, testing.c3po.com & testing.bb8.com). At this point i will add NS Record with my naming provider to point these subdomains to the DO name servers. 3.Clone the live sites and deploy to the DO droplet, Make and test any changes.
  3. When Ready clone to testing sites to 3 new sites in the DO droplet using the original names.
  4. Create a records on my dns to point r2d2.com, C3P0.com and BB8.com to my droplet.

Hopefully the above makes sense, i have three questions though.

  1. Will the above work, the bit i am really unsure about is the DNS? 2.What size of Droplet will i need to achieve this(I appreciate this will only be rough estimates without the full details of the sites) 3.Which management platform do people recommend, i do have a long term view of potentially hosting other peoples sites in DO.

Thanks in advance for the help.

W

1 Answer

Great decision on moving to DigitalOcean. I moved my personal workloads to here some years ago and have loved the platform while using it in various capacities.

What you are trying to achieve is quite possible and not without the possibility of achieving it through various methods.

One approach I would take is as follows for a single droplet setup using the DigitalOcean DNS + Firewalls etc...: - Note: No admin panel outside DigitalOcean is used

Rinse and repeat for each domain as required. As stated before this is one possible way. Depending on the application you are running some details may need to be adjusted accordingly.

Another approach - https://blog.ssdnodes.com/blog/tutorial-using-docker-and-nginx-to-host-multiple-websites/

Setting up Vanity Name Servers - https://www.digitalocean.com/community/tutorials/how-to-create-vanity-or-branded-nameservers-with-digitalocean-cloud-servers

To avoid downtime you could design an infrastructure that spans multiple droplets with redundancy systems built in - https://www.digitalocean.com/community/tags/high-availability?type=tutorials

by Melissa Anderson
DigitalOcean calls its cloud servers Droplets; each Droplet you create is a new server for your personal use. This tutorial will walk you through creating and accessing your first Droplet.
Have another answer? Share your knowledge.