Bad Request – Invalid Hostname IIS7

Did you check the binding is IIS? (inetmgr.exe) It may not be registered to accept all hostnames on 8080. For example, if you set it up for mysite.com:8080 and hit it at localhost:8080, IIS will get the request but not have a hostname binding to match so it rejects. Outside of that, you should check … Read more

applicationhost.config file path in IIS 7, 7.5, 8, 8.5 and IIS 10?

For the “big” IIS versions since IIS 7, the location is always the same: For IIS Express there is one per user, the default location is: again it’s the same for all versions. You can run multiple instances of IIS Express per user, you would need to specify the location of the applicationhost.config as the command line … Read more