I’m looking to move from a Digital Ocean droplet where I have a webpage hosted on a standard LAMP setup and i’m looking to move to a new droplet where I have an Express/Node.js setup.
My question is what is the best way to assign my Hostname to my new droplet while:
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
Your search engine rankings will depend much more on the content on your site than the IP your domain is pointed to so that should not be a concern if you have taken the same steps to optimize your new site as you did with your old one.
You can use a host file entry on your local machine to test your new site using your domain name before changing over your DNS. If both servers are active the DNS change should not cause any downtime but for a couple hours (while the change propagates) some users may see your old site while some see the new one.
Keep both sites up until the TTL for the A record that you changed expires. You can confirm with logs if visitors are still accessing the old site. Once traffic stops happening, turn the droplet off.
Search engine ranking is not something you have control over, really.
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.