.localhost
Top level domain|name=.localhost|background=#6CC|image=
|
IANA -- Internet Assigned Numbers Authority |
|introduced=
1999|type=
Reserved top-level domain|status=Reserved to prevent actual use|registry=
IANA|sponsor=None|intendeduse=Identifies the current local computer; reserved at the top level of the DNS to prevent remote addresses that conflict with this|actualuse=Much software, including Web browsers, lets you access local host this way|restrictions=No registrations are possible, as this domain is not in the root|structure=Has no structure; it's used directly as a hostname|document=RFC 2606|disputepolicy=None|website=None|}}
.localhost is a
reserved top-level domain not intended for real use in the global
DNS. It was defined in June 1999 by RFC 2606, along with
.example,
.invalid, and
.test. Its reservation is intended to avoid confusion with the common
localhost. Also, the ".localhost" TLD has traditionally been statically defined in host DNS implementations as having an A record pointing to the loop back IP address and is reserved for such use. Any other use would conflict with widely deployed code which assumes this use.