Hacker News new | ask | show | jobs
by jeza 5541 days ago
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.
2 comments

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".