I know that there is a way to make any defined URL resolve to a different URL, but I can't remember how or where to define this setting.
I understand this is ambiguous, so consider the following example. I am building http://www.webapplication.com
. I have set up the web site in IIS 7. However, I haven't forwarded the nameservers to resolve my server yet, so the URL points to somewhere else completely. However, when I access http://www.webapplication.com
locally, I would like the IIS 7 website to be resolved.
How can I do this? Is this a setting in IIS, the individual browser (IE or Chrome) or somewhere else (like my network settings)?
One way to do this would be using your HOSTS
file. You would want to edit it to add an entry for your domain name that maps to the IP address of the server.