Hacker News new | ask | show | jobs
by bmalehorn 2780 days ago
The article makes it sound like you have to choose between two options:

1. users see example.com in the address bar

2. hosting on www.example.com

However you can get the best of both worlds. If you go to amazon.com, you will see amazon.com in the address bar. Yet your browser makes requests only to www.amazon.com; the content is hosted on www.amazon.com.

Does anyone know how they pulled that off?

2 comments

I think this is just a Chrome UI thing (which a lot of people complained about): https://www.digitaltrends.com/computing/chrome-69-will-displ...

For me, the "www" shows up in Chrome 70 and Firefox. Chrome 72 hides the www again.

This was changed in a recent version of Chrome, I believe.

See this post on Super User: https://superuser.com/questions/1356867/chrome-69-hiding-www...