By dsdohn
I have a domain, ‘example.com’, registered with Bluehost. I also have a droplet with DigitalOcean. Now, I’ve re-pointed the nameservers to use CloudFlare. Great.
After adding the DNS entries, I go to a browser and type in ‘example.com’ … it properly resolves to the correct IP address of the correct Droplet.
But: in the browser bar, upon resolution and display of the Droplet’s server page, the address bar then stops displaying the domain - and, instead, exposes the IP address.
I have tried a 1000 different configurations - including trying same for a subdomain.
However, nothing seems to correct the problem, preserve the domain/subdomain in the address bar, and not display the IP address.
Here’s what I get: Domain: www.example.com/index.html --> xxx.xxx.xxx.xxx/index.html Subdomain: subdomain.example.com/index.html --> xxx.xxx.xxx.xxx/index.html
What am I doing wrong??
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!
I had the same issue with my Wordpress site. I logged in and went to settings and it was set to http://ip address. I changed it to http://www.example.com and saved the settings. When going back to the website, it displayed the domain name instead of the ip address.
I have the same issue with Magento 2.x Anybody has an idea how to go about this in Magento? I tried editing “/etc/apache2/apache2.conf” and replaced the IP address with the domain but still not working. Anybody knows what do?
Yup. I got the same problem, and problem was wordpress configuration. Thanks for help. GL
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.