How to delete my ip address from my listed domain


I am trying to Certify my website through Let’s Entrypt when I noticed that my ip address is listed as a domain in my console.

I am on the step where it is asking “Which names would you like to activate HTTPS for?”. Instead of the two domain that should be listed ( / there is the ip address www. which is causing a re-direct and all the errors that follow.

I am wondering how to get rid of that ip address so my site does not re-direct from to www.

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.

Bobby Iliev
Site Moderator
Site Moderator badge
July 5, 2022

Hi there,

In order to do that you need to change your WordPress site and home URLs.

One way to do that is to add the following in your wp-config.php file:

define( 'WP_HOME', '' );
define( 'WP_SITEURL', '' );



Try DigitalOcean for free

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

Sign up