Question
Please help : SetUp NS records
Please help, I am a newbie to networking. I am planning to move my domain from go-daddy shared hosting server to digital ocean without any downtime. So my plan is the following
- Change Name servers at domain registrar ( Godaddy ) to digital ocean name servers.
- Add NS record that points godaddy name servers in digital ocean. Since name server changes at domain registrar will take less than 24 hours to propagate, i need to point every connections to godaddy shared hosting during this period.
- Once this period is over, i will remove the NS record at digital ocean ( that points to godaddy name servers ) and add an A record to assign to the right droplet.
So my questions are below.
A.) Does my above plan work ?. That is the following scenarios
A1. ) when a request comes to my domain and it finds out go-daddy name servers and points to godaddy hosting and works fine.
A2. ) When a request comes to my domain and finds out digital ocean name servers and it goes and ask digital ocean, since we have added NS records in digital ocean, digital ocean re-route to godaddy NS servers and my old site will load.
B. ) How long does it take to update NS records that is added in digitalocean.
C. ) How long does it take to update A records that is added in digitalocean.
D) Also I already have an SSL certificate installed in Godaddy ( purchased From godaddy control panel ). I want to install letsencrypt SSL in digital ocean. I have found the following documentations ( LAMP 14.04 ).
D.1 ) https://www.digitalocean.com/community/tutorials/how-to-set-up-apache-virtual-hosts-on-ubuntu-14-04-lts
D.2 ) https://www.digitalocean.com/community/tutorials/how-to-secure-apache-with-let-s-encrypt-on-ubuntu-14-04
I am planning to host only one domain in one droplet, So do i need to create virutal hosts to install SSL as mentioned in D.1.
Please bear my poor language and thanks in advance.
Regards
Noble
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.
×