http: // sub . site.net : 8080 /lvl-1/lvl-2 ?q=term #anchor

Notes:

  • TLD: Top Level Domain

  • Hostname is not included since it can both refer to the whole domain or just the subdomain, depending.

  • Alternative visualization:

    protocol://sub.domain.tld:8080/path/name?q=search#anchor

Sources: