Hacker News new | ask | show | jobs
by mveldthuis 5541 days ago
I don't mind the www., the thing I absolutely hate is sites that require it, but don't put up a 301 on the www-less url.
1 comments

Obviously not possible if domain and www.domain point to different hosts where the host for domain does not run a web server. I'm sure there are numerous other reasons.
Seems it would be worth it to run a lightweight server on :80 solely to redirect to the www host. Sounds better than "foo.com" just not working.
You don't even need a web server to throw a 301 at everything that comes by saying "GET / HTTP/1.1".