Hi. I finally moved my website, but I have problem. When I type example.com (not my actual website address) in my browser, the site works like a charm. But when I type www.example.com, then I have this error: “Server not found. Firefox can’t find the server at www.example.com”.
I have proper DNS addresses set in my domain register (ovh.com) and added to DO’s DNS section. I’m using Ubuntu 14.04 x64 with Sentora panel. Domain added via Sentora panel and files uploaded to domain’s public_html folder created by Sentora. I’ve checked Sentora virtual host file (httpd-vhosts.conf) and my domain has proper addresses:
ServerName example.com ServerAlias www.example.com
Can anyone tell me what should I do, to make it work?
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.
Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.
Click below to sign up and get $100 of credit to try our products over 60 days!