4
votes
4answers
2k views

How is a subdomain passed to the webserver?

I know that dns resolves an address like example.com to an IP address like 11.22.33.44, but I'm a little confused about how subdomains are resolved, so that when you type http://subdomain.example.com, ...