Many small enterprises do not have their own websites because of a shortage of funds. In fact, you can use a PC to temporarily act as a Web server. When your enterprise develops to a certain stage, you can purchase servers. So what system should I choose to build a Web server using a PC? Win 2000 is full of loopholes. Win 2003 is specially designed for servers and is not suitable for common users. On the contrary, WinXP is the most popular operating system after Windows 98. I will introduce it today, in the XP environment, use the IIS architecture to build a small Web server.
Many people use 3rd-party software to build websites in their own systems. In fact, using Win XP components can meet the requirements of website construction, and the security performance is good. Why should we use 3rd-party software?
IIS Installation
In Windows XP pro, IIS is not installed by default, but as an optional component. Now we want to build a site, you can choose to install them, the method is very simple, put the xp cd, then run the CD, select Add component in the running interface, or open the control panel, then open add or delete file, and select Add Windows component. In the displayed dialog box, select internet Information Service (IIS ). Then click confirm to install.
Web website construction
Open "Administrative Tools"> "internet Information Service" in the control panel ":
You may see a "default website" option. You can modify the default Web site to your new site or rename a new Web site, you can right-click the default website and choose Rename and enter the desired name. You can modify the name as needed. For example, I changed it to "fantastic century network ".
IIS Web Server Configuration
To run the website smoothly, you must configure IIS. Right-click the website named after the website and choose Properties.
Define the source of the webpage content in the main directory. The default value is as follows: the local path can be set according to your needs. Generally, do not set it in the system partition From the security perspective, you can create a new path in another partition.
For example, in the website option box, you can set the description of the website, the specified IP address, and the connection timeout time. You can set these parameters based on your hobbies, A good network management system must develop the habit of constantly observing logs. Only in this way can the security of computer networks be guaranteed. Click the attributes set in the log, for example:
Set log properties. Generally, the log creation time is set to hourly. You can set the log file directory below. The default path is not recommended.
Set "document": Make sure that "enable default document" is selected, add the required default document name and adjust the search order accordingly. This option is used to search for the specified file name in the list in the "main directory" in order after only the domain name or IP address is entered in the browser, if you can find the first one, call the first one; otherwise, search for and call the second and third ...... If no file name exists in the list in the "main directory", the error message indicating the file cannot be found is displayed. For example:
If necessary, you can add another virtual directory: for example, if there is an address such as "IP/dreams", "dreams" can be the next-level directory of "main directory", which is called "actual directory "), it can also be in any other directory, that is, the so-called "virtual directory ". To create a virtual directory under "Default Web site", select "fantastic century network> right-click → new → virtual directory", and enter "dreams" in "alias ", select the actual path of the directory, for example, "d :")
Start a Web site
After the above settings, our website can be started. Right-click the site and choose start from the shortcut menu. Then, enter the URL you just pointed to in the browser to view your own web page.
Of course, these are the most basic settings. You can also configure some performance and security settings, such as limiting bandwidth and which users can access this web page, in fact, it is far from enough to establish a relatively secure website. Due to the limited space and the subject limitations of this article, there will be no extra fees. If you are interested, you can refer to the relevant materials.