I would like to customize the IIS Express development environment to reflect what will happen in real time. In real time, the website responds to subdomains, so valid URLs will be:
- client1.mysite.com
- client2.mysite.com
- and etc.
First step: changing localhost in the domain
I edited the file of my hosts and my project properties, so instead localhost:1234I can use www.mysite.devaccording to this link .
This works great.
Second step: allow subdomains
Now I need to resolve subdomains. According to this answer, I set the bindings for the site in my applicationhost.configfor:
<bindings>
<binding protocol="http" bindingInformation="*:80:" />
</bindings>
404 , www.mysite.dev. ? , mysite.dev.
, , SSL, - . SSL, www.mysite.com, - , 404ing. IISExpress, , ( ), , .