Question
My website not work when there is www at the beginning od website's address
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?
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.
×