By deskha
Hello I’m moving my websites (multiple web and domain names) from a vps to Digital ocean, i have several websites running and alive. I have move the necessary files to new droplet in digitalocean but i need to do some adjustment. How do i access all those websites (temporarily) before i change my ns, since i can’t afford to let the websites down and wait for propagation of the new ns (which sometimes can take a whole day/night)
Any advice?
Thank you in advance.
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!
The easiest way to do this is to create hosts file entries on your local computer. With these entries your computer will use the address you give it rather than querying DNS servers for the names you define.
On Windows this file can be found in C:\Windows\system32\drivers\etc\
On Mac and Linux it can be found in /etc/hosts
In both cases the format is a name (the domain) and an ip address.
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.