Re:Does “www.” Mean Better Transport Layer Security?
by Avamander on Monday August 19, 2019 @05:22AM
(#20736198)
Honestly, you should be redirecting from either www. to . or vice versa, having one of them broken or doing something else is bad in 99.99% of cases.
[ Parent
| on HN ]
Re:Does “www.” Mean Better Transport Layer Security?
by notfashion on Monday August 19, 2019 @09:29AM
(#20737528)
The way you are using "www." and "." is incorrect. The dot isn't part of the local hostname "www". It is a separator or delimiter for the textual elements in the domain name. "Redirecting from (or to) ." is a weird and as far as I know completely wrong way to talk about redirecting from or to the domain name one level up in the hierarchy. The only time a dot plays any role in a domain name (other than that of a simple separator) is when it's used at the end of the fully qualified domain name.
Re:Does “www.” Mean Better Transport Layer Security?
by Avamander on Monday August 19, 2019 @12:01PM
(#20738915)
What if I'm talking about redirecting an entire TLD "www" to ""?
Obviously it's a separator, I just found writing "" and "www" too weird. Not to mention that in this context where you're not really a recursive DNS resolver it really doesn't matter how one specifies the existence or lack of it of a subdomain. In addition to that some things use "@" (instead of the dot I used).
Re:Does “www.” Mean Better Transport Layer Security?
by notfashion on Monday August 19, 2019 @03:42PM
(#20741082)
Whether it feels weird or not, the hostname label is "www".
The hostname-as-tld example is sort of against the rules:
https://serverfault.com/questions/907226/is-it-possible-to-c...
Either way, "." by itself can only meaningfully refer to the root, not some arbitrary enclosing domain name. There is no way you will convince me that using "." as a shorthand for "parent domain" is a good idea, for that and all the other reasons.