3 ms·
If you're just going to redirect www to . why not make it a CNAME instead of a hop?
by zamadatix 7y ago
If you're just going to redirect www to . why not make it a CNAME instead of a hop?
- Avamander 7y agoCNAME would just resolve `www.` as `.`. Browsers and search engines would still need to be instructed to use the non www. address.
- simcop2387 7y agoCNAME in this case makes no difference vs an A/AAAA record. The HTTP side of things doesn't care what kind of DNS record it was, but will be affected by what the fqdn is, since it will affect cookie propagation and other security things in the browser.
- toast0 7y agoIt's usually better not to have the same content at two urls. Whichever one you choose, the other should redirect to; or if you're picky like me, trying to go to the non-published one should send you to the home page on the other --- this reduces the tendency of others to link to the wrong form.