Last post Jun 24, 2014 02:50 AM by Starain chen - MSFT
Jun 23, 2014 12:18 PM|afornito1|LINK
I have created an application using VS2012
When i create the site to IIS7.5 i set the binding to domain.com
Then I right click the folder which i have my application in and select "convert to applicaiton"
When i browse to domain.com i get nothing
When i browse to domain.com/app -- app being the name of the converted webapp in IIS
I get the page i want to see.
How do i get that site to redirect to domain.com not domain.com/app
I have been looking around online im not an ASP developer so be gentle if you can.
Jun 23, 2014 12:34 PM|PatriceSc|LINK
Not really sure to get it. For now my understanding is that you are publishing your app inside a subfolder when you would like to publish your app one level above.
So I don't think that what you should do is to redirect domain.com/app to domain.com but rather that you should publish your app to the folder that is pointed to by domain.com rather than inside a subfolder...
Jun 24, 2014 02:50 AM|Starain chen - MSFT|LINK
First, please refer to PatriceSc’s reply.
Secondly, you are have a website (binding to domain.com) and an application (under that website). So the request URL of that application should be
For your requirement, you could create a website in the IIS and configure it (Physical path) with your project.
On the other hand, you could use the IIS URL Rewrite to achieve that. Create a Rewrite rule for that website which redirect to other site.
There is a link that can help you:
# URL Rewriting Tips and Tricks