Reputation: 133
I have multiple web applications on my IIS, say,
http://localhost/app1 http://localhost/app2 http://localhost/app3
I want a URL http://localhost/myurl to point to http://localhost/app1. how can i do that in IIS? i am using Windows server 2012
Upvotes: 1
Views: 5062
Reputation: 115
The other simplified way is fron only 4 steps as follows
In Visual studio -> Right click the project in solution explorer and Publish Your web application using File System with the Folder name (myurl)
Go to IIS-> Under the Default Web site ->Right Click -> Add Virtual Directory -> Give the alias Name as (myurl) -> Give the physical path as the folder which you created in point no #1
Click Ok -> Right click on the (myurl) -> Convert to application
Now Browse from IIS-> You will get the Result as you expected
Upvotes: 2
Reputation: 115
The solution you can do is to create a Virtual Directory Application , you should do it like this:
Upvotes: 0