IIS Express 7.5 Configuration and multisite operation

Source: Internet
Author: User
Tags multisite

IIS express7.5 supports more than XP operating systems and can resolve xp,iis issues. first download the installation iisexpress7.5 address is click to open the link
Click Install to complete the download.
After Setup is complete, the profile defaults to My Documents \iisexpress\config\applicationhost.config Open this file and find the Sites node. My configuration is as follows
<span style= "FONT-SIZE:14PX;" ><strong><sites> <site name= "WebSite1" id= "1" serverautostart= "true" > <a                Pplication path= "/" > <virtualdirectory path= "/" physicalpath= "%iis_sites_home%\website1"/> </application> <bindings> <binding protocol= "http" Bindingin  formation= ": 8080:localhost"/> </bindings> </site><site name= "WebSite2" id= "2"                    Serverautostart= "true" > <application path= "/" applicationpool= "Clr4classicapppool" > <virtualdirectory path= "/" physicalpath= "D:\web"/> </application> <bin dings> <binding protocol= "http" bindinginformation= ": 8079:localhost"/> </bi ndings> </site> <siteDefaults> <logfile Logformat= "directory="%iis_user_home%\logs "/> <tracefailedrequestslogging directory="%IIS_USER_HOME%\Tra Celogfiles "enabled=" true "maxlogfilesizekb=" 1024x768 "/> </siteDefaults> <applicationdefaul        TS applicationpool= "Clr4integratedapppool"/> <virtualdirectorydefaults allowsubdirconfig= "true"/> </sites></strong></span>
after you have configured the Website2 site. Start IIS Express by default in C:\Program Files (x86) \iis Express This folder I am a 64-bit system. 32 bit You know there's no folder for that x86. find iisexpress. EXE can be run.
This will allow you to run the website1. Only one site can be run by default. To run multiple sites. You need to open cmd in the Register other site command below. I used the demo for my installation:
1. Open cmd Run CD C:\Program Files (x86) \iis Express 2. Copy iisexpress/config: "D:\Documents\IISExpress\config\applicationhost.config"/site:website2/systray:true RunYou can see the icon in the lower right corner of the website inside the register on the Website2. Remember that the port must not be registered unsuccessfully with the same one.

Copyright NOTICE: This article for Bo Master original article, without Bo Master permission not reproduced.

IIS Express 7.5 Configuration and multisite operation

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.