2 ms·
That's an interesting way to think about URLs. If both `url`.com` and `url2.com` resolve to the same IP then they are functionally the same. It's like comparing
by tyre 7y ago
That's an interesting way to think about URLs. If both `url`.com` and `url2.com` resolve to the same IP then they are functionally the same. It's like comparing two strings whose variable names are different but that resolve to the same space in memory.
It also means that if one URL changes, then they could be equal sometimes and not others.
- kohtatsu 7y agoThey are not functionally the same. Full stop. It sends a different Host HTTP header; servers send different responses based on that header ~100% of the time.
- ses1984 7y agoNo, they aren't functionally the same for all protocols, because of things like SNI.
- duskwuff 7y agoOr, even before that: because of things like HTTP 1.1 virtual hosting.