My website not work when there is www at the beginning od website's address

Posted February 19, 2015 3.6k views

Hi. I finally moved my website, but I have problem. When I type (not my actual website address) in my browser, the site works like a charm. But when I type, then I have this error: “Server not found. Firefox can’t find the server at”.

I have proper DNS addresses set in my domain register ( 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:


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.

Submit an Answer
2 answers

You need to configure DNS to resolve www. A CNAME might do it.

  • rascul, thank you very much. It worked. The solution was so simple. I’ve been fighting this for 2 days :)

  • I have two domains I have switched over to digital ocean, for one this fix worked perfectly. for the other I am still waiting. Should this be an instantaneous switch?