by PinguTS · 2y ago · 0 comments
That's not true. I have an server with a single IP and a number of Domains that are served from that single IP like http(s)://example.com http(s)://example.org http(s)://example.de
All of those delivery completely different websites from that single domain. You are mixing up two tings: DNS with HTTP(s). In DNS its right but for HTTP(s) it doesn't matter.
Even if you are using CNAMEs, that's only been possible recently due to hacks/workarounds, as bonzini said.
A compounding issue is that CDNs (or GitLab/GitHub) want to be able to change their IP addresses, so they don't want you to use an A record.
Because of no SRV records for HTTP and no CNAME for apex records, you can't follow "one true name per IP" without giving an IP to every domain.
I run may own email server now for more than 20 years. Only recently I in-cooperated public RBLs to deny spam. I still don't like it to depend on external services for this, which flag spam incorrectly.
I think this is what people elsewhere were referring to when they said that SRV records would be nice for HTTP.
edit: Aside: I ran my own first mail server over 30 years ago. :-)