I'd like to have my system automatically take me to https://facebook.com even if I put http://facebook.com into my browser. I can get /etc/hosts
to redirect to me to different domains, but it seems to ignore it if I put https://
into it.
This works, and it redirects facebook.com to google.com:
74.125.95.103 facebook.com
This does not
https://74.125.95.103 facebook.com
My guess is that you can't use text at all in the part where the IP is, but how do I force it to use https? Is this possible in iptables
?