For faster navigation, this Iframe is preloading the Wikiwand page for .localhost.

.localhost

localhost
Introduced1999
TLD typeReserved top-level domain
Intended useidentifies the local computer
DocumentsRFC 2606

The name localhost is reserved by the Internet Engineering Task Force (IETF) as a domain name label that may not be installed as a top-level domain in the Domain Name System (DNS) of the Internet.[1][2]

Reserved DNS names

In 1999, the Internet Engineering Task Force reserved the DNS labels localhost, example, invalid, and test so that they may not be installed into the root zone of the Domain Name System.

The reasons for reservation of these top-level domain names is to reduce the likelihood of conflict and confusion.[1][2] This allows the use of these names for either documentation purposes or in local testing scenarios.

Conventional use

The name localhost is a commonly defined hostname for the loopback interface in most TCP/IP systems, resolving to the IP addresses 127.0.0.1 in IPv4 and ::1 for IPv6. As a top-level domain, the name has traditionally been defined statically in host DNS implementations with address records (A and AAAA) pointing to the same loopback addresses. Any other use conflicts with widely deployed algorithms relying on this convention.

References

  1. ^ a b D. Eastlake; A. Panitz (June 1999). Reserved Top Level DNS Names. Network Working Group. doi:10.17487/RFC2606. BCP 32. RFC 2606. Best Common Practice. Updated by RFC 6761.
  2. ^ a b S. Cheshire; M. Krochmal (February 2013). Special-Use Domain Names. IETF. doi:10.17487/RFC6761. ISSN 2070-1721. RFC 6761. Proposed Standard. Updates RFC 1918 and 2606.
{{bottomLinkPreText}} {{bottomLinkText}}
.localhost
Listen to this article

This browser is not supported by Wikiwand :(
Wikiwand requires a browser with modern capabilities in order to provide you with the best reading experience.
Please download and use one of the following browsers:

This article was just edited, click to reload
This article has been deleted on Wikipedia (Why?)

Back to homepage

Please click Add in the dialog above
Please click Allow in the top-left corner,
then click Install Now in the dialog
Please click Open in the download dialog,
then click Install
Please click the "Downloads" icon in the Safari toolbar, open the first download in the list,
then click Install
{{::$root.activation.text}}

Install Wikiwand

Install on Chrome Install on Firefox
Don't forget to rate us

Tell your friends about Wikiwand!

Gmail Facebook Twitter Link

Enjoying Wikiwand?

Tell your friends and spread the love:
Share on Gmail Share on Facebook Share on Twitter Share on Buffer

Our magic isn't perfect

You can help our automatic cover photo selection by reporting an unsuitable photo.

This photo is visually disturbing This photo is not a good choice

Thank you for helping!


Your input will affect cover photo selection, along with input from other users.

X

Get ready for Wikiwand 2.0 🎉! the new version arrives on September 1st! Don't want to wait?