News for hackers. Stuff that matters.
Re:Government URLs that don't end in .gov by easton on Sunday July 23, 2023 @12:33PM (#36836907)
My guess is that it’s because the US built the thing, they decided .gov was to be for US Government sites. Then when other countries joined they got their own TLDs, which they added a .gov.<tld> to for their own purposes.

https://en.m.wikipedia.org/wiki/.gov (Which seems to make my guess right, .gov is operated by the US Government)

Re:Government URLs that don't end in .gov by jomar on Sunday July 23, 2023 @06:56PM (#36840832)
That was introduced in 1985, almost 40 years ago.

For how many decades is this going to be a reasonable argument?

In 100 years, will it still be reasonable for the USA to say "we built the thing, so it is appropriate for us to continue to be the default country in domain names. The rest of you must use your ccTLDs, but we remain special."

In 200 years?

The only non-pathetic option is for the United States to transition to using its .us ccTLD for governmental and military domains in particular, with .edu and probably some others not far behind. The only question is how gradual the process is, and when it starts.

Re:Government URLs that don't end in .gov by granzymes on Sunday July 23, 2023 @07:09PM (#36840911)
Country calling codes date from the 60s and yet the US (and Canada?) are still +1.

The real answer is that it’s way too much work to change now, so it will probably continue indefinitely unless a new system supplants the current internet.

Re:Government URLs that don't end in .gov by kelnos on Sunday July 23, 2023 @07:24PM (#36841070)
That's silly; registering new domain names and putting redirects in place is much simpler than changing a freakin' country code.
Re:Government URLs that don't end in .gov by eganist on Sunday July 23, 2023 @07:40PM (#36841208)
> That's silly; registering new domain names and putting redirects in place is much simpler than changing a freakin' country code.

Cool, here's a $50,000 firm fixed contract for you to go fix all the hardcoded .gov references in every single federal website, knowing how many of them will fail to handle redirects gracefully.

Re:Government URLs that don't end in .gov by cscurmudgeon on Sunday July 23, 2023 @07:48PM (#36841280)
Why is the change needed?
Re:Government URLs that don't end in .gov by plandis on Sunday July 23, 2023 @07:10PM (#36840924)
Here’s the reasonable argument: US citizens are now used to .gov domain names being solely used by US government entities. They won’t change it, nor should they, as forcing domain name changes will simply add confusion for Americans.

Just because you don’t like that the US government has first mover advantage isn’t a good reason to change this.

Re:Government URLs that don't end in .gov by kelnos on Sunday July 23, 2023 @07:23PM (#36841051)
I don't really think this is much of an issue. It's not like the change would happen immediately. Each .gov website is likely run by different agencies, so they wouldn't end up switching all at the same time.

It's a pretty simple matter to register a corresponding .gov.us domain for each existing .gov domain. Then each .gov domain owner would have to configure their web server properly, and can phase in a redirect from the old .gov to the new .gov.us.

Prior to this happening, the .gov site could have a big banner across the top of the page informing visitors of the change. This could remain for as long as seems reasonable before changing, even multiple years.

> Just because you don’t like that the US government has first mover advantage isn’t a good reason to change this.

As an American, I think the current setup with .gov (and .mil) is super weird. The fact that there are so many US government websites that are under .com, .org, and even .us, is weird too. The US shouldn't hold any kind of privileged place when it comes to TLDs; it's clearer for everyone concerned -- including Americans -- to put all these under .gov.us.

Re:Government URLs that don't end in .gov by peyton on Sunday July 23, 2023 @07:59PM (#36841361)
Sunsetting a TLD to prove a point sounds really silly.
Re:Government URLs that don't end in .gov by dessimus on Sunday July 23, 2023 @10:27PM (#36842424)
MS still hasn't gotten all of their users to transition to outlook.com in order to be rid of hotmail.com, which they bought in 1997.

Do you have the US Government doing it quicker? The only way it ever occurs is if they effectively CNAME .gov to .gov.us to run them both side-by-side.

Re:Government URLs that don't end in .gov by erik_seaberg on Monday July 24, 2023 @04:39AM (#36844675)
Adding a new domain and redirecting every old URL is fine, though they may not be prepared to set that up. But that old domain and those old URLs need to redirect forever, because there’s never a day when you can be certain that every old hyperlink on the web and every bookmark anyone ever saved has been updated. Otherwise you are intentionally causing link rot.

https://www.w3.org/Provider/Style/URI

Re:Government URLs that don't end in .gov by erik_seaberg on Monday July 24, 2023 @05:08AM (#36844909)
The redirects are fine but probably take effort depending on how those backends work. They also need to be permanent to avoid link rot.

Edit: I’ve been in stacks of microservices for a while, and it just occurred to me that I’m not sure how cookies can be migrated between domains.

Re:Government URLs that don't end in .gov by qawwads on Sunday July 23, 2023 @08:19PM (#36841472)
Until a country decides to use its own dns root. Then another. Then another.
[dead]
Re:Government URLs that don't end in .gov by dang on Tuesday July 25, 2023 @05:06PM (#36869559)
We've banned this account for breaking the site guidelines.

Please don't create accounts to break HN's rules with.

https://news.ycombinator.com/newsguidelines.html

Re:Government URLs that don't end in .gov by Rexxar on Sunday July 23, 2023 @10:16PM (#36842336)
Why do you think other government/country want to use an English abbreviation for their government entities ? Even for Latin language that use a similar word "gouv" (french), "gob" (spanish) or "guv" (romanian) would be more natural.
Re:Government URLs that don't end in .gov by jomar on Monday July 24, 2023 @04:20AM (#36844548)
Various government departments of those countries use domains under .gouv.fr, .gob.es, .gov.ro respectively. The argument is that fairness and clarity would suggest that the US likewise use .gov.us or some other convention of their choice under .us.
Re:Government URLs that don't end in .gov by SilasX on Sunday July 23, 2023 @10:11PM (#36842283)
Right, I assumed it was the same principle by which UK, having issued the first postage stamps, is the only country that doesn't say the country name on the stamp.