Report this

What is the reason for this report?

Domain without the www?

Posted on February 21, 2017

I can not access my domain without the www, how to solve it?



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!

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.

It could also be a DNS issue. Could you post what the zone file for example.com as I suspect the problem might have to do with A records. Thanks.

Thanks to all for the tips, I managed, configuring the www as a subdomain worked, thank you again.

I wish there was a write up on this, but the best way I can describe this is to set up the DNS twice. That is, you log into your DO account, then go to networking. Create a DNS entry for www.mydomain.com and another one for mydomain.com. That is, the second entry doesn’t have a www.

Technically the www is a subdomain of mydomain.com. So if your www.mydomain.com works, just create another DNS without the www.

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.