About the IIS server and the building of the personal website (1/2)

Source: Internet
Author: User

Personal website, once rage, but because of national policy reasons, telecom port 80,8080 is blocked, the release of personal website becomes difficult.

How to build your own website? Windows operating system, there is a feature, it can help us to build and publish the local area network of the site, the need for Internet (external network) to access? Many scenarios, but the simplest is "port mapping", the tool recommended the use of peanut shells, nat123 no effect, I recharge the inside can not be resolved to the local, then I decisively uninstalled, so for the mapping tool, do not choose these oh.

Back to the chase.

"How to build a website and publish it on the Internet for friends to visit?" ”

First, check your operating system for the IIS Server option, open Control Panel----Enable or disable Windows features-->internet Information Services-->web Administration tool.

All right, pick it all up. Readers may not find this path, here take Windows7 as an example, click into the IIS server to open the graphics tutorial, Source: Baidu, credibility: four stars.

Sometimes, your computer may not have this option, I think it may not be supported by the operating system, I am using the Windows10 Pro version. Home Edition, the normal version may not have these features, then unfortunately, you can only consider refreshing the system or install other types of servers. This article only discusses the construction of the IIS server, release, temporarily regardless of other servers.

Now that you have successfully set up the operating environment of the IIS server (which itself is running on the Windows operating system), the operating interface is as follows:

Very well, take the second step.

On a local area network, you can publish your website and access it using an electronic device that can be viewed on a Web page.

In the Connection menu bar, there is only one tree control, you can choose to open it, or directly above it right click "Add Site", add the site such as.

At this point, we succeeded in One-third, you already have a website, write your own page code, and then publish your website.

In the directory, add a "index.html" that will be the first page that your friend sees when they visit.

The statements in the diagram even I feel strange, but the same meaning: the first directory can only have a index.html, its web page connection can choose to jump to other pages, such as the second folder xxx.html.

Okay, back to the chase.

Now let your friend to visit (LAN), let him/her (I believe that girls also like technology, perhaps is looking at my blog is a girl also probably) connected to the WiFi, open the phone, enter your LAN IP, usually 192.168.*.*** format.

If you are not sure, you can view it in the command line, enter: ipconfig, you will see the interface as shown:

Your computer will have access to the following types of addresses:

http://localhost: Port number

http://127.0.0.1: Port number

http://192.168.*.***: Port number

Of course, if your site is port 80, you don't have to fill in the port number. You can pass the colon and the subsequent port number directly.

Your friend can only access it in the third format, otherwise it cannot be accessed.

Within the local area network, you have successfully published a Web page and have access to your friends.

OK, this is the play, you have finished one-third of the content. That is, the publication, in which the Code of the page is also considered one of the links, the last one is to publish Web pages.

You're great, but I'm a little hungry, the content of the external publishing site will be published in the morning of 2017/04/16.

2017-04-15 11:36:54

--Ink Spring

About the IIS server and the building of the personal website (1/2)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.