Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to create an alias path on local IIS?

Unfortunately searching the web didn't make me any smarter. I have a web application running under my local IIS 7.5: http://localhost/myWebpage/ Now I'd like to create an alias path pointing to the same application, something like http://localhost/myWebpageAlias/ (the application will change it's layout according to the different address).

How can I achieve this?

Thx for any tipps sl3dg3

like image 614
sl3dg3 Avatar asked Feb 24 '12 13:02

sl3dg3


2 Answers

Try creating a new virtual directory under "Default Web Site" (or whatever site is serving 'localhost'), then point it to the same directory:

enter image description here

like image 72
Kevin P. Rice Avatar answered Oct 21 '22 08:10

Kevin P. Rice


Though it is the too late answer. But to alias path, you can use the IIS URL Rewrite module to create a rule which maps one URL to another. Visit here for details description.

like image 38
Arif Avatar answered Oct 21 '22 07:10

Arif