Search code examples
asp.net-mvcwindowsiis-7.5

IIS How to configure an application has default?


I'm a newbie of windows server and IIS... After having deployed my asp.net MVC4 application on my IIS Server, I would like to acces to my website by: http://www.website/ and NOT (actualy) http://www.website/Application

Do you know how I can make it on the IIS Server ?

Thanks you all for you help.

Regards


Solution

  • You can just deploy it to the root of your site...

    Using Web Deploy Package

    1. Click on Default Website
    2. Import Application
    3. Choose package file
    4. Click next till you get to Enter Application Package Information
    5. Delete all text under Application path then finish the import

    iis import

    You will get a popup saying that most applications are installed in a subfolder. Just choose OK