3

I have that in my host

127.0.0.1 block.opendns.com

It works when I use: http://block.opendns.com

But does not work when I use: https://block.opendns.com

Any idea how to use hosts with an HTTPS site ?

1
  • What do you mean exactly by "does not work" / "works"? Aug 6, 2015 at 18:42

1 Answer 1

2

HTTP and HTTPS are only the protocol/port which is being used for your request. Adding this line to your host file "127.0.0.1 block.opendns.com" will only tell your PC that block.opendns.com is located at this IP 127.0.0.1 so no matter what you put before the URL (http/https) it will resolve 127.0.0.1.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .