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!
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.
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.