harre.dev

IIS

Web.config domain rewriting

Here’s a quick and easy domain rewriting solution running on an Azure App service.

Some assumptions before you can start though:

To make things even easier, you can set this whole thing up from inside the Azure portal using the Advanced Tools option which opens the Kudu interface for the web server. In the Kudu interface click on Debug Console -> CMD. Next, browse to the wwwroot directory at site/wwwroot. From there you can create new files.