Hi, this seems like a small thing. Put up a maintenance page while I’m fiddling with my site.
In your experience what’s the best way to do this on DO?
Change DNS to new IP?
Move IP to new Droplet?
Thanks
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!
Hello dear.
Change DNS to new IP? Please run putty or ssh and connect to your server with root then
Use “PEERDNS=no”. This option will prevent /etc/resolv.conf from being modified by a DHCP server. So instead of using DHCP-provided DNS, you can specify any arbitrary DNS servers you want to use in /etc/resolv.conf.
The configuration file for your network interface (e.g., eth0) looks like the following.
sudo vi /etc/resolv.conf
Press enter for continue
for delete u can use of x button on keyboard and then ESC after it use i for edit .conf file and after edit click Esc and then type :wq for save changes
((for more help edit file please click here))
2. Move IP to new Droplet?
-login to digital ocean Droplets—>click on the name of servers that you want to upgrade on downgrade it—>click on Destroy tab---->then click on Destroy blue button —>
After it you can create a new droplet just should select size ((everything that you want))+ same region*
Have a good day
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.