Report this

What is the reason for this report?

Site not working with www

Posted on May 5, 2013

My site is reacheable only without www.

I have added a CNAME record: www xxx.xxx.xxx.xxx but it still doesn’t work.

Any suggestion ?



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.

This comment has been deleted

If it is a wordpress installation, you also need to make sure that the siteurl for the wordpress website starts with www, else you will get the same problem.

It is happened to my site too <br> <br>kancingdoortrim.com is online BUT www.kancingdoortrim.com is not accessible… <br> <br>here is what is in the /etc/apache2/sites-available/kancingdoortrim.com: <br> <br>ServerName kancingdoortrim.com <br>ServerAlias www.kancingdoortrim.com <br> <br>I have added www in “name” column + kancingdoortrim.com. in the “hostname” via “add CNAME record” inside the DNS menu of digitalocean account but still no differences. <br> <br>the www still not working

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.