Hi, I have installed umbraco on the root folder (livnowco) its working fine. Now I have a asp.net application on sub directory. The sub directory path is as below. livnowco/worlstocksApp I have pointed the sub domain - http://worldstocksapp.gurukaizen.com/ to this sub directory and modified the web.config for url rewrite. However the sub domain is not working. I am attaching the error screen shot and the web.config. Please help me with this . Here is the web.config section for rewrite <rewrite> <rules> <rule name="Rewrite to root" stopProcessing="true"> <match url="(.*)" /> <conditions> <add input="{HTTP_HOST}" pattern="^www.gurukaizen.com$" /> </conditions> <action type="Rewrite" url="livnowco/{R:1}" /> </rule> <rule name="Rewrite to worldstocksapp" stopProcessing="true"> <match url="(.*)" /> <conditions> <add input="{HTTP_HOST}" pattern="^worldstocksapp.gurukaizen.com$" /> </conditions> <action type="Rewrite" url="worldstocksapp/{R:1}" /> </rule> <rule name="Rewrite to orchard" stopProcessing="true"> <match url="(.*)" /> <conditions> <add input="{HTTP_HOST}" pattern="^orchard.gurukaizen.com$" /> </conditions> <action type="Rewrite" url="orchard/{R:1}" /> </rule> </rules> </rewrite>
The rewrite seems to be working. When I go to http://worldstocksapp.gurukaizen.com, I see the same "hello world" as if going to http://www.gurukaizen.com/worldstocksapp.
Hi Cruz, Thanks for responding. Its working now. I had to delete the umbraco on the root folder - it was causing the issue