Report this

What is the reason for this report?

www not working

Posted on April 22, 2014

I’m just getting my first wordpress droplet set up. Everything seems to be working except for the ‘www’ version of my domain. Domain in question - qcmny.com



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.

First of all let me say that I like your website. <br>Now about the question, if you haven’t add a CNAME in DNS please do. If you have then check your .htaccess file and make sure it looks like this. <br>Note: Haven’t tried this cause I don’t use Apache <br> <br>RewriteEngine On <br>RewriteCond %{HTTP_HOST} ^example.com$ <br>RewriteRule (.*) http://www.example.com/$1 [R=301,L]

Sorry I misread your question, If you want to have only www edit your /etc/apache2/sites-available/your-web-site and add the www. <br>You need again to have a CNAME.

Thanks Marinos! <br> <br>It looks like the CNAME may have done it, new to manually setting up DNS ;)

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.