Make a copy of droplet with different IP?

December 26, 2016 159 views
One-Click Install Apps WordPress Ubuntu 16.04

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.

2 Answers

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.

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.

Have another answer? Share your knowledge.