Every website used to be like “www.example.com”. Now I rarely encounter this “www.”. Why did it even exist and where has it gone? I also used to run into websites with legitimate domains, but “ww1.” instead of “www.”, these were probably phishing sites, but how did this actually work on top of legitimate domains?


It was necessary to access many websites, unless the people running the site made an alias/redirect. Which yes, usually they did. But I definitely ran into cases where that didn’t happen and I worked on websites where it didn’t. Was rarely/almost never my decision on how that was set up. But yes from a tech perspective no one ever had to use that subdomain.
It was not. Sysops would choose to have port 80 land on www. but every server daemon like Apache would honor the hostname set by the maintainer, regardless of what subdomain was being called. Never was there a routing method that just looked at the subdomain to determine what to do with the request. Maintainers could choose to require a particular subdomain and prebuilt server packages/management systems offered it as a convenience but it was never mandatory.
The domain routing at the registrar would be where you would translate the name into an IP and your server would determine what to do with the request based on the port and request type. At no time during this process was www. subdomain necessary to point it to your web server daemon.
You seem to be mixing the fact that many server providers wouldn’t offer you a chance to change it but that doesn’t mean it was necessary to route a web request. It was just a shitty offering by the provider.
I don’t think you understood what I said, because it was definitely a thing. I clearly don’t have a deep understanding but I experienced more than a few times websites which threw a resolution error if you tried to use www or sometimes if you omitted it, but worked the other way.
I was specifically referring to how things were setup on some websites. Did you even read what I wrote before you decided to flex? I went out of my way to make myself clear.
You made yourself very clear. The people that set up your servers didn’t offer you the option and you’re trying to tell the community that www. was necessary because of that.
/flex.
Language is not as hard as you are making it. They made it necessary for users to type, something one may have been confused about if they read your novel of an explanation. I’m sorry you cannot see that I meant that even though I spelled it out so simply that a 5 year old would understand. I guess I should have paraphrased specification docs in around 1000 words then you might have gotten it.
If my mom made me say a prayer before I ate, that doesn’t mean you have to pray to make food go in your mouth. YOUR HOST CHOSE TO SET UP YOUR SERVER THAT WAY. IT WAS NEVER NECESSARY FOR YOUR WEBSITE TO WORK, IT WAS A DECISION YOUR HOST MADE. Let me know if this is still too verbose for you.
I was clear, I’m not the problem here.