News for hackers. Stuff that matters.
Re:Ask HN: How did internet discover my subdomain? by paxys on Friday March 07, 2025 @12:23PM (#43292054)
> When doing HTTP request to IP you specify the domain you want to connect to

No, you make HTTP requests to an IP, not a domain. You convert the domain name to an IP in an earlier step (via a DNS query). You can connect to servers using their raw IPs and open ports all day if you like, which is what's happening here. Yes servers will (likely) reject the requests by looking at the host header, but they will still receive the request.

There are no comments on this comment yet.