Personal computer change website server comprehensive solution

  
                              

What happened, my homepage could not be accessed? ! Hey, this free space has been suspended.

Where can I find a home for our website? This is a problem that many webmasters face today. There is almost no free space now. If you use the toll space, you can't afford to spend money. How can you find a server that doesn't cost money and has a lot of space?

With the popularity of broadband networks, especially the increase in monthly broadband users, our personal computers basically have the conditions to become a server. So for readers who have installed a monthly broadband network, you can use your own computer to act as a server! This not only has a large webpage space, but also a wide range of administrative privileges (after all, it is your own computer).

But when we turn a PC into a server, we are faced with a problem: As we all know, all websites need to have a fixed address so that others can access them at any time. The access service providers such as telecommunications will not provide fixed IP addresses for these individual users. The IP address of each Internet access is dynamically allocated by the access service provider.

How to solve this thorny problem? Use peanut shell software on it! This software provides us with a client program. As long as the client program is run, the current dynamic IP address of our computer will be sent to the dynamic domain name resolution server for instant resolution, and the current IP address and our application will be applied. The domain names are bundled together. In this way, you can always access our website stored on your computer through a fixed domain name.

Setting up the server

After all, the personal computer is personal-oriented. In the default state, there is no server requirement, but we only need to set it up easily. Windows 2000 and XP provide "Internet Information Services (IIS)", and we can turn a PC into a Wed or FTP server by simply installing it.

1. Install IIS

Open “Delete/Add Program” in Control Panel, select “Add/Remove Windows Components”, and select “Internet Information Service” in the pop-up Windows Components Wizard window. (IIS)", click the "Details" button, select the "Internet Information Service Management Unit", "Common Files", "World Wide Web Service", "Documents" option (Figure 1), after confirming, insert the system installation The disk is installed. After

Figure 1 Adding messenger service components


2. Set Wed server

installed IIS, it also needs to do some simple settings. Open "Administrative Tools → Internet Information Services" in the Control Panel, and then open "Local Computer → Website → Default Website" on the left side of the window, right click on the default website to open the "Default Website Properties" window. In the "Web Address" tab, select "All Unassigned" in the "IP Address" tab, and other items by default; select the "Home Directory" tab, and select "Directory on this computer" in the "Content Source When Connecting to Resource" option. Then specify the location of the home page in "Local Path" (Figure 2); open the "Documents" tab, select "Enable Default Document", and then click the "Add" button, enter the home page name of the website, generally "index.htm" ".

2 set the Web site properties


Tip: If you want to set up an FTP server, Internet Information Services (IIS) can also be done. In addition, in this year's 16-17 joint edition of this newspaper, there is an article using the software Serv-U to set up an FTP server. You can refer to it. If your system is Windows 9x, use PWS (bring your own web/FTP server) to set up the server.

Applying for registration

Because the peanut shell software has been acquired by Guangzhou Domain Technology Co., we need to apply and activate the domain technology website before using this software.

1. Apply for a passport

All services here must have a “domain passport” to be obtained. Enter the domain technology first http://www.oray.net, click the "I want to register domain passport" link on the left side of the page (Figure 3), enter the domain passport registration wizard page, complete the registration and fill in the individual according to the wizard Details.

3 Wangyukeji Home


2. register a domain name

After the registration is finished, "my console" page. Let's start by applying for a binding domain name for our personal server, and we can use this domain name to access the website in the future. The domain provides us with two domain names, top-level domain and free domain name. Let's apply for a free trial. Click "I want to register domain name record" on the left, select "Free Domain Name", there are two domain name suffix for you to choose, enter the desired domain name in the input box, click "Submit".

3. Activate Peanut Shell Service

After the domain name registration is successful, it cannot be used immediately. It needs to be activated. Go back to the "My Console" page, click "I want to activate the peanut shell service", follow the prompts, select the domain name that needs to be activated, and then fill in some basic information about the site pointed to by this domain name.

Tip: If your computer is only turned on for a certain period of time, you can set it in the "Online Time Preset" when filling out the site information. In addition, if you want to set up any other server, you can also Set in "You are planning to build your site."

Installing Peanut Shell

The server and domain name are ready. The last task is to install the Peanut Shell client program.

1. Download and install: First download the latest version 2.0 of the peanut shell software from http://www.oray.net/and install it. The installation process is the same as other software. One of the steps is to fill in the username and password. Fill in the domain name and password of the domain you are applying for. Leave it blank. You can also enter it later when using the software.

2. Start Peanut Shell

Open the software. If you do not enter your passport name and password during installation, you can enter it again in the Software Status tab. If your computer is online at this time, the server connection status will be displayed as "online" (Figure 4), and the small peanut shell icon on the taskbar will be displayed in color. FIG 4

2.0 peanut shell interface


Click "File → Refresh" client data can be re-read, then the "Domain" tab will show You apply for the current status of the domain name and list the domain name that points to the machine (see Figure 5).

5 points to the machine name


here, using the application's domain can access anytime, anywhere to your website, of course, provided that your computer must be open ^_^.

Note: If you are sharing Internet access via LAN, using the domain name will not be able to access the personal server normally, because the peanut shell software does not support intranet access users. We need to use the port mapping method to achieve access, just open the window shown in Figure 2 to the host computer, select the "Source of content when connecting to resources" option as "Share on another computer", and The following specifies your computer and website directory in your local area network.

Copyright © Windows knowledge All Rights Reserved