/etc/hosts
on Linux OR C:\Windows\System32\drivers\etc on Windows systemsAs known, the default port for web browsing is port 80, so every record inserted in the hosts file as default use port 80.
In order to add an "https" address just specify the ssl port for the desired record like so:
127.0.0.1:443 mysite.com
Now https://mysite.com will be handled by your localhost
No comments:
Post a Comment