Comment on Where has the "www." gone?
ada@lemmy.blahaj.zone 7 hours ago
There’s two things at play here.
First, www originated in a time when the web was not synonymous with the internet. Gopher, FTP etc were a much larger part of peoples daily internet usage, and servers would have different subdomain names to account for that. ftp.tld.edu, gopher.tld.edu and www.tld.edu were all domains you might see for a single server for example. Then of course, the web grew, and the other protocols became less relevant, but the www stuck around. One of the reasons you’re seeing less of it, is because that tradition is slowly fading away given its loss of daily relevance.
The other reason you’re seeing less of it is that browsers often just hide it even when it’s there. And that of course, will create more future instances of servers just dropping it completely.
pixeldaemon@sh.itjust.works 6 hours ago
Nowdays ftp-things are like ftp:// and normal websites use https://, is this a newer thing?
adespoton@lemmy.ca 6 hours ago
No — that prefix tells the OS which application to direct the address to.
The www., ftp., mail., etc. are on the server side, so the client gets directed to the correct computer owned by the domain owner.
To some degree, this quickly became irrelevant when virtual hosting became a thing; you could have something watching on the server side that would see an attempt to connect to port 80 or port 443, check the domain the client is looking for, and redirect them to the right internal or external IP address.
With the onset of CDNs, it became even less meaningful since load and availability balancers will now decide what computer will eventually receive the request.
All you really need is the URI (https://) and the port (:443) and everything else can be a black box.
Why don’t we see :80 and :443 on URLs anymore? Because a web browser, when it handles the URI request, auto-maps to the default ports for that URI unless it is explicitly told to use another.
As a result, you can enter example.com into a browser address bar, and you’ll automatically be taken to guest@www.example.com but all you’ll see on the browser bar is example.com.
SatyrSack@quokk.au 4 hours ago
Use backticks to tell us exactly without Lemmy attempting to correct you or parse anything
becomes
https://www.example.comheartSagan5@lemmy.zip 3 hours ago
Okay. ftp://, http://, https:// are associate with protocols that operate on a common port. You can execute “cat /etc/protocol” (on macOS or Linux terminal) and see each associate common port and their protocol name.
The protocol is associated with a port that is open on a host, which is associated with a process in the OS and that process listens and “talks” those ways when a host connects with a client, like a web browser.
Dultas@lemmy.world 6 hours ago
Those are schemes and they are not new, there are many others as well. Some you may see in a browser are http, mailto, file. Others that you won’t typically see in browsers include ldap(s), imap, jdbc, odbc, etc. en.wikipedia.org/wiki/List_of_URI_schemes
NABDad@lemmy.world 6 hours ago
Newer, yes. Not very new.
The URL format of protocol://hostname.domain:port/path was defined in 1994. Prior to that you would use use an ftp client, usually on the command line like:
ftp hostname.domain