A URL (uniform resource locator) uniquely identifies what a client requests from a server. Its domain name is translated by DNS into an IP address, while its slash-separated path identifies a logical resource. section 6.3
A URL can identify more than a website name:
- The domain distinguishes servers, such as myserver.com and myserver.net. section 6.3
- The port selects a service; HTTP commonly defaults to port 80 but can use another available port. section 6.3
- The path presents a hierarchy that can map to a file, a handler, or an error response. section 6.3
A URL in an HTTP request
GET /path_part/index.html HTTP/1.1 requests the resource at the given path from fictional_website.com on port 80. The server can return a file, handler output, or error. section 6.3








