By layneheiny
The old shared hosted server had community.domain.com and the new droplet is www.domain1.com/community. The community is really just a subdirectory.
DNS records domain.com and domain1.com are set for droplet. Can go to browser and type domain.com as well as domain1.com and get to domain1.com. Can also go www.domain1.com/community and the pages load fine.
However … I cannot go community.domain.com … and get a browser error that the page will not load.
Server not found
I went to the DNS panel and added a CNAME community.domain.com. (the period is present).
Did I miss a step?
Domain1.com will point to domain.com … (and does roll properly).
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!
Hi, <br> <br>I added an “A” record. Dunno what I’m really doing but think it is mostly working now. <br> <br>www.tuxreportsnetwork.com <br>www.tuxreports.com <br> <br>But the roll over isn’t quite right … <br> <br>In .htaccess I have <br> <br>RewriteCond %{HTTP_HOST} ^community.tuxreportsnetwork.com <br>RewriteRule ^(.*)$ http://www.tuxreports.com/community/$1 [R=301] <br> <br>The hope is everything in community.tuxreportsnetwork.com is rolled over to www.tuxreports.com/community … <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>https://www.google.com/search?q=tuxreportsnetwork.com&ie=utf-8&oe=utf-8&aq=t&rls=org.mozilla:en-US:official&client=firefox-a <br> <br>I’m not sure if this is all related … or a really bad .htaccess attempt :)
Sorry - cannot edit above <br> <br>Also noticed that any of the *.tuxreportsnetwork.com subdomains are not rolling to www.tuxreports.com <br> <br>So this must be something I’ve done wrong on the DNS side too.
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.