because thats not the right way to do that. just look at the site you are on right now:
> curl -i http://news.ycombinator.com/
HTTP/1.1 301 Moved Permanently
Location: https://news.ycombinator.com/