I have a wordpress site, hosted on digital ocean with a domain from 1&1. When I type in the domain it correctly goes to the site, but the URL displays the IP not the domain.
I have tried changing the Site Address (URL) in wordpress settings but this seems to leave me in an endless redirect, where the domain redirects to the IP which redirects to the domain etc.
What do I need to do to get a user to see the domain rather than the URL.
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!
Hello,
Indeed in most cases, this is due to an incorrect Site and Home URLs. I would suggest the following:
Change your site and home URLs to your domain name
Clear your website cache in case that you are using any caching plugins
Check your Apache Vhost for any redirects
Check your .htaccess file for any redirects as well
Go through your plugins and make sure that there are no redirect plugins installed that could be causing the issue
Let me know how it goes! Regards, Bobby
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.