Pseudo static setting method for S7 S7.5 two level domain name

because of the need, has been set for IIS7.5 two domain pseudo static, but has not been found, there is also ASP.NET setting, through exploration, finally completed, is actually very simple, I teach you how to set up a step by step.

1, domain name settings

this does not say more, everyone knows, that is, domain name resolution management in the "*.xxxx.com" point to the corresponding server IP, such as my "*.xue163.com" point to my current server IP.

two, server IIS, set

, in order to make the parsing valid, definitely needs a default site that does not bind any domain name, such as my:

(dot view)

 

then install the URL rewrite, this plugin is provided by Microsoft IIS built-in function, need to choose the installation, click the download address: http://s.xue163.com/download/rewrite.rar can be installed, restart the server. Then we began to enter the theme. Three, two domain name pseudo static configuration, installed, URL rewrite plug-in, you can see in the IIS web site panel:

(dot view)

 

click enter URL rewrite panel:

(dot view)

 

next, we’ll click the add rule on the right and select the default blank rule:

(dot view)

 

click OK, enter the add specific rules, here is to configure two level domain name pseudo static, please see the picture shows:

(dot view)

 

, and one of the most important places is the condition. How do you fill it out? Click the "conditional" drop-down to see the following picture:

(dot view)

 

click add, and fill in as shown below:

(dot view)

 

Xue1> in

mode

Leave a Reply

Your email address will not be published. Required fields are marked *