Join 1M+ other developers and:
- Get help and share knowledge in Q&A
- Subscribe to topics of interest
- Get courses & tools that help you grow as a developer or small business owner
Domain www and non-www problem
just a quick question.
I have added my domain via Networking panel in www.domain.com format.
Now when i try to access the non www version (aka domain.com) i get an DNS error saying that DNS host address couldnt be found (of course, pinging it doesnt work).
How to sort this out? Is it via CNAME entries or directly via nginx?
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.×