I’ve done this before, but I’ve forgotten it. Basically, to mimic an actual website on my local machine, I did some stuff so I could access my localhost site using a valid url. I’ve now forgotten how to do this. 🙁
I remember it had something to do with IIS site bindings and the hosts file. Could anyone please guide me in the right direction?
Many Thanks!
You may add your
127.0.0.1IP address on your host files with the host you’d like to mimic.The file is located at
%windir%/system32/drivers/etc/hostsand the format is:
You must edit this file as administrator.