This is a new one for me. Can’t figure it out. I have other domains on my server that are working just fine. They’re all set up the same way as far as I can tell.
The DNS has the same entries:
The virtual host file has www.domain.net set as ServerAlias.
I disabled the htaccess file, even though it didn’t have any rules explicitly regarding this.
Yet still, when I go to domain.net, it works no problem. When I try to go to www.domain.net, it forwards me to:
Any idea what’s going on? How did I screw this up?
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!
Accepted Answer
Turns out this was a purely local issue. Was working for other people and once I cleared my local cache, it was resolved.
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.