DNS Subdomain

  • Posted August 24, 2013

The old shared hosted server had and the new droplet is The community is really just a subdirectory.

DNS records and are set for droplet. Can go to browser and type as well as and get to Can also go and the pages load fine.

However … I cannot go … and get a browser error that the page will not load.

Server not found

I went to the DNS panel and added a CNAME (the period is present).

Did I miss a step? will point to … (and does roll properly).


Submit an 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.

DNS doesn’t handle redirects, it only maps the domain name to your droplet('s IP address). <br> <br>Please pastebin all of your virtualhost configs (

What’s the contents of <code>/etc/apache2/sites-enabled/</code>?

Sorry - cannot edit above <br> <br>Also noticed that any of the * subdomains are not rolling to <br> <br>So this must be something I’ve done wrong on the DNS side too.

Hi, <br> <br>I added an “A” record. Dunno what I’m really doing but think it is mostly working now. <br> <br> <br> <br> <br>But the roll over isn’t quite right … <br> <br>In .htaccess I have <br> <br>RewriteCond %{HTTP_HOST} ^ <br>RewriteRule ^(.*)$$1 [R=301] <br> <br>The hope is everything in is rolled over to … <br> <br>so I don’t lose all the links from Google search. <br> <br>But none of the links seem to redirect properly. <br> <br> <br> <br>I’m not sure if this is all related … or a really bad .htaccess attempt :)

What are the two domain names?