- Open %USERPROFILE%\My Documents\IISExpress\config\applicationhost.config
- Search for "virtualDirectory".
- Append
<binding protocol="http" bindingInformation="*:<port>:dev.example.com" />
to the bindings section. - In an admin terminal, run
netsh http add urlacl url=http://dev.example.com:<port>/ user=everyone
- Open %SystemRoot%\system32\drivers\etc\hosts as an admin.
- Append
127.0.0.1 dev.example.com
to the hosts file.
Created
October 29, 2013 18:04
-
-
Save smockle/7219649 to your computer and use it in GitHub Desktop.
Use custom domains in IIS.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Visual Studio 2015 places
applicationhost.config
in a.vs
folder in the project.