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!
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 ;)
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.