Help! My site crashed when I updated site / wordpress address

Like a few folks in this help section, I built a one-click wordpress installation with digital ocean.

I host my personal domain - - through google domains. I set it up with custom nameservers to point to digital ocean. I then pointed the URL to my IP address of the digital ocean droplet -

It was working ok, except when I typed in “” I got directed to “” and the IP is what showed in the address bar.

Following instructions from another thread, I updated my site + wordpress address in my wordpress dashboard, changing from to That effectively crashed my site – I now get a “This site can’t be reached. refused to connect.” error

I cannot access my wp-admin to change things back. How do I get my site back?!


Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

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.

Hello, @stefanpalios

If you can access your database from the MySQL/MariaDB console you can change the home and site URLs from there.

You need to update the: option_name: siteurl and option_name: home

If you’ve installed phpMyAdmin you can make this change from there as well. Alternatively if you have a database backup prior the change you can restore your database as well.

Hope this helps, let me know how it goes.

Regards, Alex