To learn to build a website, you need to get a space and domain name. But that is not the case:
Believe that many users have the same feeling, and now free web services less and more, in the network to apply for a free space and domain name is not optimistic, many want to learn to build a website friend thus hindered, because in the network rented free server is not set, upload files to the server speed Limited, waste a lot of time, And it's hard to mention the privacy of the free space website.
In order to improve learning efficiency and can set the experiment, to eliminate unnecessary costs, for this reason, the small part decided to see the computer to build a local site server experience and share to everyone, want to learn to build a website for users can reference.
Then to the online application of free server ratione materiae don't mention, too many questions who will work, and so they put the site completely built, and then go to spend money to apply for everyone's well-known server space and domain name is not too late, the world No free lunch, as long as the trust of their own technical means, dare to take money to invest in building stations.
Tools/Materials
Installing the IIS Service
- 1
First, on the computer desktop, open ' Control Panel ', click ' Program ' option, if not, find and click ' Programs and Features ', in the left panel of the window, click ' Turn Windows features on or off ', as a result, select ' Internet Information Service ' and then ' OK ' installation
- 2
Wait a moment, wait until the installation is complete, return to the ' Control Panel ' window, click ' System and security ', if not, locate and click on ' Administrative Tools ' and, as a result, double-click ' Internet Information Services (IIS) Manager '
END
Configuring the IIS Service
- 1
Appears as shown in the left panel of the window ' Connect ' below, click to expand ' Your computer name ', point to ' site ' right click ' Add website ... '
Note: The default Web site status must stop starting before the site is newly created
- 2
As shown, set up the red circle, the physical path must be your website folder, and the folder has the Index.html website home file, IP address for your computer local connection IP address, drop-down list optional one, and then click ' OK '
- 3
After you set up the IIS Service Web configuration, add the local Web site to finish, as shown in the quiz Web site root folder for ' HTML ', the other parameters can be further understood later
END
Testing the local Web site
After the local site is ready, the next test site, of course, as long as the Internet Explorer to enter the native IP address can be opened.
Quick way to open a website: On the right side of the main IIS service window, click Browse ...
If your computer network has Network Places, you can open Internet Explorer on their computer to enter their own local Web site IP address, the effect of the effect of the site as follows, test the local site success.
Next, learn the Web design, how to build a station is not a problem, testing the local site can contain ASP files, IIS services have many features such as their own later exploration.
In comparison, this local site eliminates the need to apply for Web site space IP address and website domain name trouble, in the test site does not have to upload files to the server.
Learning efficiency has been greatly improved imaginable.
END
Precautions
If your computer IP address is not a static IP address, then after the IP is invalid, the browser will prompt the IP address can not open the site,
The workaround is to change the ' binding ' IP address in the ISS window, which is to update the IP address of the local Web site.
Reprint: http://jingyan.baidu.com/article/ca2d939dd59fb7eb6c31cee7.html
How to create a local LAN Web site