Reputation: 2283
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!
Upvotes: 1
Views: 759
Reputation: 4704
You may add your 127.0.0.1
IP address on your host files with the host you'd like to mimic.
The file is located at %windir%/system32/drivers/etc/hosts
and the format is:
127.0.0.1 domain.you.want.to.mimic
You must edit this file as administrator.
Upvotes: 2