Skip to main content
The 2024 Developer Survey results are live! See the results

All Questions

Tagged with
1 vote
1 answer
5k views

Add hosts entry with HTTPS capabilities

I have modified my Windows 10's hosts file to add an entry for a URL to lead to a given IP, as is it's intended usage. However, this only works for connecting on http. Trying to enter the site ...
Markski's user avatar
  • 85
16 votes
3 answers
67k views

Windows hosts: how can I redirect HTTPS site?

I have the following in my C:\Windows\System32\drivers\etc\hosts: 127.0.0.1 example.com It works when I use: http://example.com But does not work when I use: https://example.com, which gives error ...
yarek's user avatar
  • 641