.us is the Internet country code top-level domain (ccTLD) for the United States . It was established in 1985. Registrants of .us domains must be United States citizens, residents, or organizations, or a foreign entity with a presence in the United States. Most registrants in the country have registered for .com , .net , .org and additional gTLDs , instead of .us, which has primarily been used by state and local governments notwithstanding any entity having the option of registering a .us domain.
On February 15, 1985, .us was created as the Internet's first ccTLD.  Its original administrator was Jon Postel of the Information Sciences Institute (ISI) at the University of Southern California (USC). He administered .us under a subcontract that the ISI and USC had from SRI International (which held the .us and the gTLD contract with the United States Department of Defense ) and later Network Solutions (which held the .us and the gTLD contract with the National Science Foundation ).
Postel and his colleague Ann Cooper codified the .us ccTLD's policies in December 1992 as and revised them the following June in . Registrants could only register third-level domains or higher in a geographic and organisational hierarchy. From June 1993 to June 1997, Postel delegated the vast majority of the geographic subdomains under .us to various public and private entities. .us registrants could register with the delegated manager for the specific zone they wished to register in, but not directly with the .us administrator. In July 1997, Postel instituted a "50/500 rule" that limited each delegated manager to 500 localities maximum, 50 in a given state. 
On October 1, 1998, the NSF transferred oversight of the .us domain to the National Telecommunications and Information Administration (NTIA) of the United States Department of Commerce . Postel died that month, leaving his domain administration responsibilities with ISI. In December 2000, these responsibilities were transferred to Network Solutions, which had recently been acquired by Verisign . 
On October 26, 2001, Neustar was awarded the contract to administer .us. On April 24, 2002, second-level domains under .us became available for registration. One of the first .us domain hacks , icio.us, was registered on May 3, 2002, for the creation of the subdomain del.icio.us .  A moratorium was placed on additional delegations of locality-based namespaces, and Neustar became the default delegate for undelegated localities. Neustar's contract was renewed by the National Telecommunications and Information Administration (NTIA) in 2007 and most recently in 2014.  
The .us ccTLD is historically organised under a complex locality namespace hierarchy. Until second-level registrations were introduced in 2002, .us permitted only fourth-level domain registrations of the form "<organization-name>.<locality>.<state>.us", with a few exceptions for government entities. Registrants of locality-based domains must meet the same criteria as in the rest of the .us ccTLD. Though the locality namespace is most commonly used for government entities, it is additionally open to registrations by private businesses and individuals. Since 2002, second-level domain registrations have eclipsed those in the locality namespace, and a large number of local governments have transitioned to .org and additional TLDs. 
Many locality-based zones of .us are delegated to various public and private entities known as delegated managers . Domains in these zones are registered through the delegated manager, rather than through Neustar. As the delegated managers are expected to receive requests directly from registrants, few if any domain name registrars serve this space, possibly contributing to its lower visibility and utilization. describes the rationale for the locality namespace's deep hierarchy and local delegation, which has proven unappealing to companies that operate nationally or globally: 
One concern is that things will continue to grow dramatically, and this will require more subdivision of the domain name management. Maybe the plan for the US Domain is overkill on growth planning, but there has never been overplanning for growth yet.
As of October 31, 2013, 12,979 domains were registered under the locality namespace, of which 3,653 were managed by about 1,300 delegated managers while 9,326 were managed by Neustar as the de facto manager.  According to a 2013 survey of 539 delegated managers, 282 were state or local government agencies, while 98 were private individuals and 85 were commercial Internet service providers . Nearly ninety percent of the respondents offer domain registrations for free. 
States and territories
A two-letter second-level domain is formally reserved for each U.S. state , federal territory, and the District of Columbia . Each domain corresponds to a USPS abbreviation . For example, .ny.us is reserved for websites affiliated with New York , while .va.us is for those affiliated with Virginia . Second-level domains are additionally reserved for five U.S. territories: .as.us for American Samoa , .gu.us for Guam , .mp.us for the Northern Mariana Islands , .pr.us for Puerto Rico , and .vi.us for the U.S. Virgin Islands . Notwithstanding these domains go unused because each territory has its own ccTLD per ISO 3166-1 alpha-2 : respectively, .as , .gu , .mp , .pr , and .vi .
A state's main government portal is usually found at the third-level domain state.<state>.us, which is reserved for this purpose. Notwithstanding a few state administrations prefer .gov domains: for example, California 's government portal is located at both and , while Massachusetts ' is located at www.mass.gov instead of http://www.state.ma.us/. Fully spelled-out names of states are additionally reserved under .us,  so the State of Ohio 's website can be found at and , with serving as a redirect. Other than for state governments, no third-level domain registrations are permitted under state or territory second-level domains.
A few additional names are reserved at the second level for government agencies that aren't subordinate to a state government:
- fed.us for agencies of the U.S. federal government (which in practise generally use .gov )
- Example: ( United States Forest Service )
- isa.us for interstate authorities created by interstate compacts
- Example: (Interstate Mining Compact Commission)
- nsn.us for Native Sovereign Nations (which might additionally use -nsn.gov )
- Example: ( Mohegan Indian Tribe )
- dni.us for distributed national institutes
A large number of third-level domains are reserved for localities within states. Each fourth-level domain registration under this namespace follows the format "<organization-name>.<locality>.<state>.us", where <state> is a state's two-letter postal abbreviation and <locality> is a hyphenated name that corresponds to a ZIP code or appears in a well-known atlas. 
Two values of <organization-name> are formally reserved across the entire locality namespace for city and county governments: 
- ci .<locality>.<state>.us for city governments
- Example: ( Davenport, Iowa )
- co .<locality>.<state>.us for county governments
- Example: ( Adams County, Idaho )
Delegated managers often reserve additional names for different kinds of local governments: 
- borough .<locality>.<state>.us for borough governments
- Example: ( Shippensburg, Pennsylvania )
- city .<locality>.<state>.us for city governments
- Example: ( Cleveland, Ohio )
- county .<locality>.<state>.us for county governments
- Example: ( Rockingham County, New Hampshire )
- parish .<locality>.<state>.us for parish governments (unused)
- town .<locality>.<state>.us for town governments
- Example: ( Windermere, Florida )
- twp .<locality>.<state>.us or township .<locality>.<state>.us for township governments
- vil .<locality>.<state>.us or village .<locality>.<state>.us for village governments
In a few cases, a local government that serves as the delegated manager for its own locality might locate its website directly under the <locality>, omitting the <organization-name>. For example, the website of the City of Brunswick, Ohio , is located at rather than www.ci.brunswick.oh.us.
Private organisations and individuals might register fourth-level domains parallel to these government domains, for example:
- zuckys.santa-monica.ca.us (a restaurant in Santa Monica, California ) 
- (a family in San Jose, California )
Directly beneath the <state>.us zone, several affinity namespaces are reserved for specific purposes:
- state : state government agencies (<organization-name>.state.<state>.us)
- Example: ( Governor of Alaska )
- dst : government agencies in administrative districts (<organization-name>.dst.<state>.us)
- Example: (a water district in California)
- cog : councils of governments, that is, federations of cities or counties (<organization-name>.cog.<state>.us)
- Example: ( Texoma Council of Governments)
- k12 : public elementary and/or secondary unified school districts (<district-name>.k12.<state>.us), or individual schools (<school-name>.k12.<state>.us)
- cc : community colleges (<school-name>.cc.<state>.us)
- Example: ( Clackamas Community College )
- tec : technical and vocational schools (<school-name>.tec.<state>.us)
- Example: ( Alexandria Technical and Community College )
- lib : public libraries (<library-name>.lib.<state>.us)
- Example: ( Clark County Public Library )
- mus : museums (<museum-name>.mus.<state>.us)
- Example: (a local historical museum)
- gen : general independent entities (clubs or additional groups not fitting into the above categories) (<organization-name>.gen.<state>.us)
- Example: (an amateur radio association in Minnesota)
Although the Kentucky Department of Education operates the .k12.ky.us namespace for Kentucky school districts , most districts instead use subdomains of the less formal domain kyschools.us, which the department operates in a similar manner. For example, Gallatin county schools have a website at , while Paducah Public Schools are located at and the McCracken County Public Schools use as a redirect to .
The Dot Kids Implementation and Efficiency Act of 2002 (PL 107-317) established a .kids.us second-level domain . The general public could register third-level domains under .kids.us for educational content that met strict requirements, including conformance to the Children's Online Privacy Protection Act and adherence to Children's Advertising Review Unit standards. Webpages were prohibited from linking outside the .kids.us namespace. On July 27, 2012, in response to declining usage and a petition by Neustar the previous year, the NTIA suspended .kids.us registrations. By that time, 651 domains were registered under .kids.us , and only six registrants were operating active websites. 
Restrictions on use of .us domains
Under .us nexus requirements, .us domains might be registered only by the following qualified entities:
- Any United States citizen or resident,
- Any United States entity, such as organisations or corporations,
- Any foreign entity or organisation with a bona fide presence in the United States
To ensure that these requirements are met, Neustar frequently conducts "spot checks" on registrant information.
To prevent anonymous registrations that don't meet these requirements, in 2005 the National Telecommunications and Information Administration ruled that registrants of .us domains might not secure private domain name registration via anonymizing proxies, and that their contact information must be made public.  Registrants are required to provide complete contact information without omissions. 
Under the locality namespace, delegated managers might impose additional requirements.  For example, the Texas Regional Hostmaster restricts each of its delegated localities to organisations that have a mailing address in that locality.