I can't access to my WP site after creating a new droplet from a snapshot from another droplet

April 5, 2015 978 views
Nginx LEMP

That's the issue, I first created a droplet under LEMP and I installed WP, after that I created a snapshot, I created another droplet from that snapshot and deleted the first one, and now when I try to access to my new droplet made with the snapshot, the site just keeps loading but nothing happens...I tried to flush the DNS cache in my mac, but still remains the same.

The weird thing is, when I try to access in another devices, it loads the site, but very slowly and without CSS style.

Any ideas?

2 Answers

It seems like it's trying to load the CSS and JS files from the old IP address. Once you've spun up a new droplet off the snapshot, log in to your Wordpress Admin Dashboard, navigate to Settings -> General, and replace all instances (there should be two, but it wouldn't hurt to check for more) of the old IP address with the new one.

The weird thing, is that after this issue, I created a new droplet with the same snapshot, then the system gave me the other IP (the original one) which I was working with. So it's supposed to work, since the general setting in WP should have that IP, but neither of both droplets was working, so what I did is, I deleted both droplets, and I start again from the beginning, since I'm just starting on Digital Ocean and setting up my server.

Anyway, the proper way to restore your server, is doing it through "restore from snapshot" tab. What I did was creating problems.

Have another answer? Share your knowledge.