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


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.

Try DigitalOcean for free

Click below to sign up and get $200 of credit to try our products over 60 days!

Sign up

card icon
Get our biweekly newsletter

Sign up for Infrastructure as a Newsletter.

Sign up
card icon
Hollie's Hub for Good

Working on improving health and education, reducing inequality, and spurring economic growth? We’d like to help.

Learn more
card icon
Become a contributor

You get paid; we donate to tech nonprofits.

Learn more
Welcome to the developer cloud

DigitalOcean makes it simple to launch in the cloud and scale up as you grow – whether you’re running one virtual machine or ten thousand.

Learn more ->
DigitalOcean Cloud Control Panel