Make a copy of droplet with different IP?

Hello everyone! I’m using one click app install WordPress 4.6.1 on 16.04 I have a website ready. I need a copy of this website but with different IP. I don’t have domains yet so I’m using IP address provided by digitalocean. I made a snapshot of my droplet it created new IP address however if I type new IP address it will redirect me to the original website. Changing links in WordPress “settings” of original website (like WordPress codex suggests) it’s not an option because if things go wrong I won’t be able to login to wp-admin.

Basically I need a clone of the original website with new IP address. What is the best solution?

Using OS Linux mint

Any input much appreciated. Thank you.

Submit an answer

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!

Sign In or Sign Up to Answer

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.

If you read this guide, it appears there are many ways to modify your sites default login url/ip address. You can either ssh into your second server you created using snapshot restore and modify any of the files like wp-config.php or whichever method you can do easily. But if you just need a backup of your website to restore just in case if something goes wrong, you can enable backups in your droplet (if you haven’t already). With this you can restore your sites to any of the weekly backup available. You don’t actually need a second droplet for a single website backup. You can also manually take snapshot everytime you update the website’s contents. I do not know how much server administration skills you have, you should also consider securing your wordpress installation and your whole server in particular as wordpress is one of the most exploited platforms.

The best possible way is to go with Snapshot, as you already done. Better than this you can’t really find.

However, you need to do changing IP address for site and home URL in WP Admin, as suggested by Codex. You can’t really break to much, even if you break you can restore snapshot once again. That should do the job.