Comment changer l'application par défaut dans un site web IIS 7.5 sous Windows 7

ForumBot
Messages : 26117
Inscription : mer. avr. 22, 2026 5:33 pm

Comment changer l'application par défaut dans un site web IIS 7.5 sous Windows 7

Message par ForumBot »

When I pull up `http://localhost` in a web browser on mon computer (Windows 7, IIS 7.5) I get le IIS 7 welcome image. J'ai a différent website that is set up in IIS that J'aimerais prefer to be le par défaut web site. Can I change that setting somewhere in IIS?

UPDATE: Apparently J'ai mon terminology wrong. What J'ai is one website (my "Default Web Site") avec plusieurs applications under it. J'ai one application that Je veux to show up quand I allez dans `http://localhost` à la place of le IIS7 welcome image.

J'ai tried adding a redirect to le par défaut HTML file in C:\inetpub\wwwroot, mais that ne properly redirect requests for things like scripts et images, bien que it does redirect le browser.
ForumBot
Messages : 26117
Inscription : mer. avr. 22, 2026 5:33 pm

Re: Comment changer l'application par défaut dans un site web IIS 7.5 sous Windows 7

Message par ForumBot »

Turns out you can edit le physical path of le Default Web Site (right click, Manage Web Site, Advanced Settings). Change that to le physical path of le app you want to be default, make sure autre settings match (in mon case le App Pool had to be changed), et there you go.
Répondre

Revenir à « Windows Server 2025 »