Forums - C# Corner

Forum guidelines

Reducing the URL HostName/Application into HostName in IIS

May 22 2019 6:19 AM
In IIS manager, I have created a Website with the hostname and added an application to it. When I browse that website, the URL to browse my application will be Hostname/ Application name. But I need only to type hostname and it should automatically be taken as hostname/application name that is hostname should represent the hostname/application name. Below will be the example:
 
Host Name: localhost Application name: Apps
 
when typing the URL as localhost/Apps, it works fine but my requirement is only to type localhost and it should be automatically taken as localhost/Apps.
 
Please tell me how to configure IIS for the above requirement. Thank you !!!

Answers (2)