Join 1M+ other developers and:
- Get help and share knowledge in Q&A
- Subscribe to topics of interest
- Get courses & tools that help you grow as a developer or small business owner
ip/wp-admin redirects to domain/wp-admin for no apparent reason
I recently set up a new droplet through the Ubuntu One Click Apache WP installment. Everything went hassle free, though I did initially run the Certbot upon being asked, and since I didnt want to connect the domain just yet (for demo purposes just use the IP) it was cancelled half-way through. This seems to have affected my IP setup in some way. When I visit the droplet through just the IP I can reach the site. But when I type in IP/wp-admin it redirects to Domain/wp-admin. And I havent configured anything with the domain. The SiteUrl and Home is set to the IP address. I’m suspecting it has to be Certbot that causes this? Where can I look for this domain setting?
Thanks in advance.
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.×