■ Hardware conditions of virtual host
Trial: Virtual host service providers usually provide users with a few days' trial period before purchasing their services, during which you can learn about the performance of virtual host and choose a suitable "big family" for your web pages and emails.
speed: the network speed of a virtual host with about 1 users using telecom backbone lines is definitely much faster than that of an independent host connected by low-speed lines such as ADSL.
Stability: Of course, in addition to speed, we should also pay attention to the stability and security of the network environment, such as whether the service provider uses Cisco and 3Com routers to connect to the network, whether it has purchased a gateway firewall, and whether there is a dedicated person to monitor all kinds of attacks from the network 24 hours a day ... Only the host service provider with the above conditions is our chosen target.
Some virtual hosting service providers randomly find a low-bandwidth line, then cobble together some equipment, find two technicians who know how to debug Windows 2, and then rush to provide services. No matter how cheap it is, we don't recommend it.
service stability comes from the infrastructure of the service provider. Configure high-end servers with redundant devices and RAID cards; UPS and emergency generator to ensure stable power input; There are devices to maintain constant temperature and humidity, and so on. Of course, these hardware facilities are sometimes impossible for us to see with our own eyes. Therefore, it is very important to know more about the service provider through various channels (such as the service provider's website) before buying! After all, only by knowing yourself and yourself can you find a suitable host!
■ How much space do you need
The types of hard disk space provided by the virtual host server are divided into independent Web space, database space and independent post office space. The size of virtual host space mainly depends on the amount of information published. If your website contains about 1 to 15 pages, and each page has more than 1 KB including related pictures, then you can rent 6MB of space. If the page is more than several hundred pages and needs database support, the corresponding space you need should be between 1MB and 2MB. When the actual required space is insufficient, you can make up the difference and apply to the service provider to increase the space size; If you buy a lot of space at the beginning, you can never use so much, and you can't return it. It is undoubtedly a waste of money.
■ Software conditions of virtual host
The server of virtual host generally adopts Windows 2(NT) and UNIX(linux) server operating systems, both of which have their own advantages. Database space is also divided into two categories: IIS 5./Access database space on Windows 2 platform and MySQL/PHP database space on Linux platform. However, I personally prefer to choose Unix(linux), but for corporate users who often call various databases and need to design ASP web pages, they can only use Windows 2 platform, and the UNIX system supports PHP.
■ Location and price
The location where the server is stored must also be carefully considered when purchasing. If the information dissemination scope of the website is abroad, renting a virtual server in the United States is the best choice, because the network bandwidth in the United States is the largest; If the scope of publicity is mainly in China, it is best to rent a server at a domestic telecom node. Everyone is very sensitive about the price. Some telecom service providers will have higher prices, but now with the rise of many virtual hosting service providers, the price of virtual hosting has been much lower.
■ After-sales service
Common after-sales problems, such as "unable to create e-mail" and "inaccessible homepage", are probably encountered by many friends with virtual hosts. Some service providers put sales in the first place, and their after-sales service is not perfect. For example, they just do the "Yi Meier" link on the homepage for email setting method, FTP setting method and technical problems. The advertised service hotline is the local telephone number of the service provider. If a foreign friend encounters a problem and makes a long-distance call, he has to pay the bill himself. The company with local after-sales service support and nationwide free 8 after-sales telephone support undoubtedly reassured us a lot before purchasing. Before buying, you can pretend to be a customer to ask some questions and pay attention to the after-sales service quality and attitude of the service provider. A virtual host with excellent after-sales service will be much easier to use in the future.
Setup:
Install IIS 5
Install it through Start → Settings → Control Panel → Add/Remove Programs: click Add/Remove Windows Components in the Add/Remove Programs window, and after a period of searching, a window for selecting Windows components will be displayed.
initial stage of Web service
after IIS is installed, Web publishing has been started as a system service program. Let's take a look at how to create a simple web server.
1. You can start the Internet Information Service management tool through Start → Programs → Administrative Tools →“Internet Service Manager, and all IIS settings are here.
2. Right-click your host name on the left side of the window and select New →“Web Site to build your own Web server.
3. Go to "Next" in the subsequent "Web Site Creation Wizard" and fill in the description of the site you want to create in the new window. This article takes PCD as an example.
4. select your IP address in the "IP address and port settings" window, and use the default for other ports and host headers here (details will be given later).
5. "Next" to the "Web Site Home Directory" setting window, which is filled with the directory where the website files are placed on this machine (in fact, it can also be set to other hosts in the same domain in the local area network, which is not detailed here). You can also find it by clicking the "Browse" button. This article takes the E:\Pcd directory as an example.
6. The next step is to set the "Web site access rights", just follow the default settings, and you have basically established a Web site. Below you can put all kinds of page files in your home directory, so that others can enter your IP address in the browser for access.
websites are not built, but rich and wonderful webpage content is the most important thing. Of course, reasonable settings are also essential:
1. Change the user home directory-the site home directory was specified when it was created, but you can also modify it later. Click the right mouse button on the name of the site you established on the left side of the Internet Information Services management tool window and select Properties (all settings will be made here in the future). In the Properties window that appears, select the tab page of Home Directory, change the local path and apply.
2. change the default document-the default document is the starting file of the Web service. For example, suppose your IP address is 22.98.123.111, and the home directory you specify is E:\PCD, and there is a file named "Default.htm" in this directory. In this way, when others type 22.98.123.111 in the browser and press enter, they open the file E:\PCD\Default.htm in your computer, and IIS actually automatically adds "/Default.htm" after the IP address. The default starting documents of IIS are Default.htm and Default.asp. If you don't like it, you can add it yourself in the "Documents" tab page of site properties and move it to the front with the arrow next to it.
3. Configure the log file-the log file is a record of the site being visited. It is self-evident that it can record all kinds of information of visitors through setting. Its default location is \WinNT\ System32 \LogFiles\, and its settings can be found in the "Web Site" tab page of site properties. Click the "Properties" button next to it to set the logging interval, log file storage path and recording content.
4. change the directory properties of the Website-imagine that your web server is like a museum, and most pages allow everyone to visit the exhibits in the museum showroom. However, you may want to lock some special rooms, such as offices and laboratories, and don't want the public to visit these rooms; So you also need to set the access rights of each directory of the website. Right-click the directory in your website that needs to change its properties and select "Properties". In the "Directory" tab, you can check the boxes of various properties to set them. Generally, "Directory browsing" is best not allowed (it is open by default. In addition, you can also set authentication control and IP address control in the Directory Security tab page.
Advanced Web Services
In fact, the above article can completely enable you to establish and maintain an ordinary Web site. If you are not satisfied and want to know some skills of maintaining multiple sites on the same server, the following text can give you some inspiration ...
Generally speaking, we can maintain multiple sites on the same server in three ways: allocating ports, addresses and host names. Because each Web site has a unique logo consisting of three parts, which is used to receive and respond to requests: port number, IP address and host name. By changing one of the logos, you can maintain multiple sites on one computer.
port number
by using additional port numbers, multiple sites can be maintained with only one IP address. When visitors want to visit the site, they need to append the port number to the IP address (except for the default Web site, which uses port 8). Depicts a computer that uses port numbers to maintain multiple Web sites. Using this method to maintain multiple sites requires visitors to type the actual digital IP address before the port number, and cannot use the host name and "friendly name", so it is more troublesome for visitors. Specific configuration method: Right-click the name of each site on the right side of the Internet Information Services management tool window and select Properties. In the Properties setting window that appears, select the Web site tab page and change the TCP port corresponding to each site.
multiple IP addresses
to use multiple IP addresses, the host name and its corresponding IP address must be added to the name resolution system (usually DNS). After that, visitors only need to type the text name in the browser to visit the Web site. If you use multiple IP addresses, you need to attach a network card to each IP address or bind multiple IP addresses to the same network card. Describes a computer that uses multiple IP addresses to maintain multiple Web sites.
in actual use, you need to set multiple IP addresses first. I believe everyone knows that one network card corresponds to one IP address. For one network card corresponding to multiple IP addresses, you need to change the TCP/IP settings of the network card: Start → Settings → Network and Dial-up Connection → Local Connection → Properties, select Internet Protocol (TCP/IP) and click Properties. Click the "Advanced" button in the Internet Protocol (TCP/IP) Properties window that appears, where you can set multiple IP addresses for a network card through the "Add" button. Seeing this, you may have some doubts about the working mode of multiple IP addresses of the same network card. In fact, when you visit the outside world, you only use the first IP address (don't think that you can hide your identity by setting more IPS), but when you visit these IPS outside, all the IP addresses you set can be connected to your computer.
it is very simple to set different IP addresses for each site in IIS: right-click the name of each site on the right side of the Internet Information Services management tool window and select Properties. In the Properties setting window that appears, select the Web Site tab page and change the corresponding IP address of each site.
host header name
finally, you can also use a host header name with a single static IP address to maintain multiple sites. Similar to the previous method, the host name needs to be added to the name resolution system (usually DNS). The difference is that once the request arrives at the computer, IIS will use the host name passed in the HTTP header to determine which site the customer requests. Describes a computer that maintains multiple Web sites using the host header name.
in actual use, you only need to right-click the names of various sites on the right side of the Internet Information Services management tool window and select Properties. In the Properties setting window that appears, select the Web site tab page, click the Advanced button, and add it in the column "This Web site has multiple logos".
Step 1: the customer applies for website construction
1. The customer puts forward the basic requirements for website construction according to his own situation
2. Provide relevant text and picture materials
a. Company text materials and company picture materials;
B. the website realizes the functional requirements;
C. Basic design requirements of the website;
Step 2: Make a website construction plan
1. Both parties negotiate, modify and supplement the website construction content, and reach an understanding;
2. Make the Website Construction Plan for customers;
3. Both parties determine the specific details and price of the website construction scheme;
Step 3: Sign the agreement and pay the advance payment
1. Both parties sign the Website Construction Agreement;
2. The customer provides more detailed picture materials (if you need to take pictures, we can take digital photos at home for free);
Step 4: The customer reviews the first draft and finalizes it after confirmation
1. Complete the first draft design according to the Website Construction Plan;
a. home page style design