The ".gov-system-without-a-country's-name-in-the-URL" was against the best interests of the United States of America's and Earth's people and governments; it results in the conflation of "state" (as in the 50 states in the USA) with "state" (country, in geopolitical terms); hence, the proliferation of government agencies--but only USA government agencies--with URLs that do not identify their country. This individualized use by USA agencies, cities, and "projects" of the logically generic .gov URLs came at the expense of all the other countries, which would otherwise be able to use "their-country.gov" URL text for their English-speaking websites. The generic .gov domain should not be claimed as being subject to the copyright laws applying to individual government contracting companies or individual governments because it is the logical, concise English abbreviation and thus fundamentally belongs to the internet's English-language communicators as a whole. However, the United Nations COULD endorse the official .gov sites of legitimate countries on their own website, as long as it monitors the internet carefully for fraudulent use of its .gov endorsement on any other, illegitimate sites that attempt to portray themselves as government websites.
Fortunately, the systems in place BEFORE the internet's era kept this country and most other countries from crumbling during this era of confusion, and the USA has been correcting itself, reigning itself in, and stepping back from international aggression, but we have A TREMENDOUS AMOUNT OF WORK TO DO TO return the .gov systems to efficiency in facilitating the communications of people and our government. International diplomacy will improve dramatically if people have a straightforward URL system that facilitates our ability to get the official word of each government in a straightforward fashion.
Are y'all having trouble seeing that we have ONLY TWO primary parameters upon which we need to base government URL structure, so it does not need to be very complicated? One parameter is geographic and exists on an unambigous univariate nested hierarchy: cities are within counties are within states are within the federal government's geographic boundaries. The other parameter--government departmental structure--is also hierarchical, but not on a single axis. We have three legislative branches and the military.
The Executive Branch was intended in the constitution to be the least powerful of the three and is the administration of the White House in any given term. It should function to prevent radical decentralization of the government and provide rational international diplomacy. The Justice Department of this branch leads prosecution in the Supreme Court. The Congress works to keep the constitutional legislative system accountable to and helpful for the people--one reason for taxes (some also go to the military, but in recent years the military has been remarkably thrifty). The Congress is the House and the Senate. It is designed to be the most powerful branch, because it is represented by a wide range of citizens--the core of representative democracy. The Supreme Court checks both, and they are actually all supposed to mutually keep each other in check and prevent people from harming and exploiting one another. The military has to operate much more rapidly on a large scale to save lives and respond to international conflicts, so it is semi-autonomous. Local law enforcement is directly attached to the geoGRAPHIC hierarchy described above (it is not geoPOLITICAL). The states have their own nested government hierarchical structure that reflects the same branched structure as the federal government.
In the past, the President was only the Commander-in-Chief during war, but then the government started waging wars on concepts, which LITERALLY never end, by default--this was a mistake--and which do not exclude the possibility of threats that are mostly internal geographically.
At the core of the URL confusion was EFFICIENCY IN AUTOFILL. The univariate (one variable: nested geography, measurable in acreage) gov.usa.state.county.city would lead everyone to be typing "gov...". over and over again. But combining forward slashes with dots provides us with the ability to add the other primary parameter (departmental structure) without sacrificing all that non-autofill time. Hence, we would have ca.usa.gov/supremecourt, or humboldt.ca.usa.gov/superiorcourt. or house.congress.usa.gov/oversight-and-accountability or assembly.ny.usa.gov/health. Then, redirects give us the ability to further efficiency in autofill by providing alternative typing options depending on how we as individuals vary in our regular interactions with the government: