Background:
Http://jzywh.cnblogs.com/archive/2005/09/29/246650.html
Many of my online users see this article.Article, According to my method, but still did not get the desired effect, in fact, some problems need to be noted, in my previous article, I only proposed the core content of the solution to this problem, some friends may encounter some problems in practical use. In fact, they can solve the problems based on their own experience. Here I will help you list some points to help you solve the problems quickly.
1. domain name resolution Problems
Enter the domain name http://1234.abc.com/. the browser prompts that the webpage cannot be found. First, you should confirm whether your domain name supports wildcard domain name resolution, that is, to make all the second-level and third-level domain names point to your server. Second, make sure that your site is the default site on the server, that is, a site with an empty Host header on port 80 can be accessed directly using an IP address.
2. The rewrite cannot be executed.
If you confirm that your domain name resolution is correct but cannot be rewritten, visit http://1234.abc.com /.Path "/" cannot be found ...,
If so, add the wildcard application of aspnet_isapi.ProgramIng (This step is required, sorry! Not mentioned in the previous article).
Operation Method: IIS Site Properties> main directory> Configuration
Click Insert button
Select or enter c: \ windows \ Microsoft. NET \ framework \ v1.1.4322 \ aspnet_isapi.dll
Cancel the check before "check whether the file exists.
OK
There is no problem accessing http://1234.abc.com.
3. The default homepage is invalid because the ball is directly sent to Asp.net for processing. The default homepage defined by IIS will be invalid. This situation occurs:
Access the http://www.abc.com/cannot access the home page, and you can renew through http://1234.abc.com/default.aspx.
To solve this problem, set lookfor/to/default. aspx or index. aspx .. in Web. config to completely solve the problem.
OK, I have listed the solutions to common problems. If you see problems I have not listed here and you cannot solve them by yourself, please reply to questions or send me an email or add me QQ here.
Thank you!
Author: jiangda Yu
Source: http://jzywh.cnblogs.com/
The copyright of this article is shared by the author and the blog Park. You are welcome to repost this article. However, you must retain this statement without the author's consent and provide a clear link to the original article on the article page. Otherwise, you will be held legally liable.