Configure the server
As a youth, without strength, do not make the server shown in the plotting.
As a student, can't afford to buy a server
As a child, can't afford a domain name
But don't forget.
As a civilian player, just be patient.
The equipment will come out sooner or later.
(Note: Feeling rich and no money or the difference is great)
I. Related content
Objective:
1. Build a local server 2. Allow extranet users to access local 3. Get a free Domain name 4. Use domain name access
Content:
1. Using peanut shells and IIS to configure the local server
2. Reference (related) URLs
Approximate steps:
1.ISS Start-up
2. Additions to the website
Selection of IP in 3.ISS
4. Use of peanut shells
Note: This article demonstrates that the operating system is win10 and the rest of the operating system is slightly different, but it does not have much impact
This article is written on November 14, 2015 , due to the progress of the time, software updates, some steps may be different, in the future you take important steps
second, Detailed introduction
first, the launch of ISS
operation steps:
1, Go to Control Panel (view as category), select Program, click Enable or Close window function
& nbsp;
2, and then see the following window that pops up, tick Inter information Services
& nbsp;
will find that some of the content is block-shaped, This means that none of the features are fully enabled,
suggest " application development features under World Wide Web Options " All of the contents are checked,
Then IIS can only hang HTML static Web pages.
Tick When you are finished, you can also check the
for additional features such as ODBC logs, dynamic content compression, HTTP redirection, and so on.
3, choose web Administrative Tools , and it is recommended to select all of the features under its options.
4, then click OK to install.
5, after the installation (it is recommended to switch off the firewall, can not be off), in IE or other browser, enter http://localhost, the following interface appears, IIS build successfully
Second, add your own website
1, right click on the computer, select Management, click Inter Information serves, see the right side of the connection bar.
2. Right-click on the site, select Add site, as shown in add required content.
Word preferences, apply pool default or select, path to the folder where the HTML files are located
Port default or optional. then click OK.
3, click on the added site, on the right side of the site home page select "Default Document",
In the right side of the action bar, select "Add", fill in the HTML file name
(This is just a test, so just add the HTML file)
4. Move the added HTML file up to the first bit.
5, launch the default document, click on the right-most action bar browse the site under the options, browse.
6, in the browser if the content of their own web site, then add the site success, but don't worry about it shut down IIS
If there is an error (404,403.1), you can refer to the error description section of this URL: http://www.2cto.com/os/201405/300927.html
third, determine the IP
1. Right click on the website you added below the site, select Edit Binding
2. Drop-down IP address option, modify "Unassigned", select as an existing IP address,
Copy or write down the selected IP, and note the port number
then click OK.
Iv. use of peanut shells
1. Register the peanut shell (this will give a shell domain name)
In the peanut shell home-"shell domain name, you can also get a free shell domain name
2. Download Peanut Shell (Intranet version)
3. Install the landing peanut shell
4. After the normal login, will display the domain name under the login account, select the domain name that needs to be set right, click Peanut Shell Management
( old peanut shell, can directly add the map, the new version of the peanut shell does not, it takes 8 yuan to upgrade this service)
(November 14, 2015 is still the same)
5, when the domain name set port mapping, the application name can be filled in at random,
Intranet host Office fill in the Web server's intranet IP address is the IP address noted in the above steps ,
intranet port number at the end of the site to fill out the port number (also just noted),
After completing the information, click on the external HTTP80 port to open the
After the setting is successful, click Confirm, the setting is successful, the extranet access address will be generated automatically.
Just for guidance
6. Access the external network access URL (do not copy the URL directly) directly into the red circle selected on the external network.
When you see the Web site that you added in IIS, the site is established successfully and can be accessed directly from the domain by the external network.
III. Reference Sites
msdn,iis:https://msdn.microsoft.com/zh-cn/library/cc782498 (v=ws.10). aspx
Web Server Build: http://www.2cto.com/os/201405/300927.html
Error resolution reference content: Http://www.2cto.com/os/201405/300927.html
Peanut Shell website: http://hsk.oray.com/
Peanut Shell Download Official website: http://hsk.oray.com/download/
Using Peanut Shell (Intranet version): Http://service.oray.com/question/1669.html
Use peanut shell (Public screen version): http://service.oray.com/question/749.html
IIS building local server, peanut shell implementation of the extranet through the domain name to access the site