Question

How to login into wordpress site hosted at Digital Ocean after removing dns records?

I have a wordpress website and i redirect the domain to a new ecommerce plataform. I want to access the Wordpress admin panel at Digital ocean but i don’t know how to do it. I’m the site owner. Can anyonyone help me. Thanks in advance!


Submit an answer
Answer a question...

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.

alexdo
Site Moderator
Site Moderator badge
January 12, 2023

Hello @vanessap

Depending on the virtual host configuration the WordPress admin area might be accessible via the droplet’s IP address.

I would also recommend using your local hosts file to access the WordPress admin dashboard. There are also sites who can server as a proxy to load your domain name through a different IP address, but use them with caution.

Regards

KFSys
Site Moderator
Site Moderator badge
January 12, 2023

Hi @vanessap,

You can your laptop’s hosts file. What it does is, you tell your laptop/computer from where it should load the given domain. You can add any domain.

For instance, you can add google.com to load from your Droplet and every time you open goolge.com rather than loading from it’s original source, it will check your hosts file and take the information from there.

It’s really easy to edit as well, if you are using Windows, go to C:\Windows\System32\Drivers\etc\, set the drop-down menu next to “File name,” and select the “All Files” option. Once that is done, you’ll see the hosts file, open it with any editor but use the Administrator mode. Inside at the end of the file, add the following line:

XXX.XXX.XXX.XXX www.domain.com domain.com

Where XXX.XXX.XXX.XXX is your Droplet’s IP address and www.domain.com domain.com is your real domain.

Make the changes you need and don’t forget to remove the line from your hosts file after you are done.