Website host tutorial and host tutorial

Source: Internet
Author: User
Tags sql tutorial web server operating system dedicated server most popular database web database website performance

Website host tutorial and host tutorial

Chen kichao

1. host provider

Select your provider, such as hichina, xinnet, chinanetcenter, and Western Digital.

Domain Name, space, website, Record Filing

2. Domain Name

The domain name you want to register

Www.chenkezhao.com

3. Determine the disk space and traffic required for host performance. How much disk space?

Small or medium-sized websites require at least 10 MB to 100 MB disk space.

If you only consider HTML pages, their average sizes are small. It may be less than 1KB. However, if you look at the size of the image used in the page, you will find that the size of most images is much larger than that of the page itself.

Add slices and other space-consuming elements. Each page occupies 5 kb to 50 kb of server space.

If you plan to use a large number of image and graphic elements (not involving audio and video files), you may need more disk space.

Before selecting a provider, specify the disk space you need.

Monthly Traffic

Small or medium-sized websites require at least 1 GB to 5 GB of data transmission per month.

The calculation is as follows: multiply the average page size by the expected page views per month. Assume that your average page size is 30 kb and the expected page views are 50,000 pages, you need 0.03 MB x 50,000 = 1.5 GB.

Larger commercial sites usually consume less than 100 GB of traffic each month.

Before you sign a contract with the host provider, you need to understand the following:

· What is the monthly traffic limit?

· If the limit is exceeded, will the website be closed?

· If the limit is exceeded, do you need to pay additional fees?

· Is the host easy to upgrade?

Connection speed

Visitors usually use a modem to access your website, but the host provider has a high connection speed.

In the early days of the Internet, T1 connections were considered very fast. Today, the connection speed is much faster.

1 byte is equal to 8 bits (this is the number of BITs used to transmit a single character). The low-speed modem can transmit about to bits per second (14 to 56 kilobytes per second ), that is, 2000 to 7000 characters are transferred per second, or about 1 to 5 pages of text.

A kilobytes (Kb) is 1024 bits. A megabits (Mb) is 1024 kb. A gigabit (Gb) is 1024 megabits.

This is the connection speed currently used on the Internet:

Name

Connection

Speed per second

Modem

Analog

14.4-56Kb

D0

Digital (ISDN)

64Kb

T1

Digital

1.55 Mb

T3

Digital

43 Mb

OC-1

Optical Carrier

52 Mb

OC-2

Optical Carrier

156 Mb

OC-12

Optical Carrier

622 Mb

OC-24

Optical Carrier

1.244 Gb

OC-48

Optical Carrier

2.488 Gb

Before signing the contract, you can try other websites on the provider's server. It is also good to talk with other customers.

4. website host server technology Windows Host

A Windows host is a host service running on a Windows operating system.

If you use ASP as a Server script or plan to use Microsoft's Access or SQL Server database, you should select a Windows host. In addition, if you plan to use Microsoft Front Page to develop your website, Windows host is also the best choice.

Unix host

A Unix host is a host service running on a Unix operating system.

Unix is the first (or most primitive) web server operating system and is well known for its reliability and stability. And the price is usually lower than that of Windows.

Linux host

A Linux host is a host service running on a Linux operating system.

CGI

The webpage can be executed as a CGI script. CGI scripts can be executed on the server to generate dynamic interactive pages.

Most ISPs provide some degree of CGI support. In addition, many pre-installed and runable message books, page counters, and chat/Forum solutions written using CGI are provided.

CGI is most commonly used on Unix or Linux servers.

ASP-Active Server Pages

ASP is a server-side scripting technology developed by Microsoft.

By placing the script code in an HTML page, you can use ASP to create dynamic web pages. Before the page returns to the browser, the code is first executed by the server. Both Visual Basic and JavaScript can be used.

ASP is a standard component in Windows 2000, and XP. ASP can be activated on all computers running Windows.

Many host providers provide ASP support, which is already popular in China.

To learn more about ASP, visit our ASP tutorial.

Chili! Soft ASP

Microsoft's ASP technology can only run on Windows platforms.

However, Chili! Soft ASP is a software product that enables ASP to run on UNIX and other platforms.

JSP

JSP is a server-side technology developed by SUN similar to ASP.

Through JSP, you can add Java code to an HTML page to create a dynamic page. Before the page returns to the browser, the code is first executed by the server.

Because JSP uses Java, this technology is not limited by any server platform.

FrontPage

FrontPage is a website design tool developed by Microsoft.

If you do not have in-depth web development knowledge, you can use FrontPage to develop a website. Most Windows Host solutions support FrontPage Server Extensions so that users can use FrontPage to develop their websites.

If you plan to use FrontPage, you should select a Windows Host solution (instead of Unix/Linux ).

PHP

Like ASP, PHP is also a server-side scripting language. By placing script code in an HTML page, you can use PHP to create dynamic web pages. Before the page returns to the browser, the code is first executed by the server.

Cold Fusion

Cold Fusion is another server-side scripting language used to create dynamic web pages.

Cold Fusion is developed by Macromedia.

5. Database Technology for website hosts

SQL Server or Oracle is used for high-traffic database-driven websites.

Access or MySQL is used for low-traffic database Access.

Web Database

If your website needs to update a large amount of information through the web, you need the database to store the information.

There are many types of database systems that can be used for website hosts. The most common are MS Access, MySQL, SQL Server, and Oracle.

Use SQL language

SQL is a language used to access databases.

If you want your website to be able to store or retrieve data in the database, your web server requires the permission to access the database system using the SQL language.

If you want to learn more about SQL, please visit our SQL tutorial.

SQL Server

Microsoft SQL Server is one of the most popular database software for high-traffic database-driven websites.

SQL Server is a powerful, robust, and rich SQL database system.

Oracle

Oracle is also a popular database software for high-traffic database-driven websites.

Oracle is also a very powerful, robust and rich SQL database system.

Access

If the website needs a simple database solution, Microsoft Access should be a very popular option.

Access is not suitable for high-traffic websites and is not as powerful as Oracle or SQL Server.

MySQL

MySQL is also a popular database software for websites.

MySQL is a cheap alternative to expensive Microsoft and Oracle solutions.

6. website host type

Website hosts can be free hosts, virtual (shared) hosts, or exclusive hosts.

Free hosts

Some service providers provide free website hosts.

Free hosts are suitable for small low-traffic sites, such as personal websites. However, it is not recommended that high-traffic or commercial websites use free hosts. Because of technical restrictions, few options are available.

Generally, you cannot use your domain name on a free host. Instead of having to use the address provided by the host, like this: http://www.freesite/users /~ Yoursite.htm. Such URLs are hard to write, hard to remember, and very unprofessional.

Advantages

Disadvantages

Low cost. Free

No domain name.

Suitable for family, business hobbies, or personal sites.

There are very few, limited, or no software options at all.

There is usually a free email.

Limited security options.

 

Limited or no database support

 

Limited technical support

Shared host (virtual host)

Virtual Hosts are the most common and cost-effective.

If you use a VM, your website and the remaining 100 websites may be stored on the same high-performance server. On a VM, each website can use its own domain name.

A vm usually provides a variety of software solutions, such as email, database, and many different editing options. Technical support is often good.

Advantages

Disadvantages

Low cost. Share the cost with other users.

Because many sites are deployed on one server, the security is reduced.

Suitable for small business and medium traffic.

There is a limit on traffic.

Multiple Software options.

Supports restricted databases.

Your own domain name.

Limited software support.

Good service support.

 

Exclusive host

You can store your website on a dedicated server through exclusive host service.

Exclusive host is the most expensive host type. This solution is suitable for large, high-traffic websites and websites that use special software.

Exclusive hosts have high performance and security, and there are almost no restrictions on software solutions.

Advantages

Disadvantages

Suitable for large commercial websites.

Expensive.

Suitable for high-traffic websites.

High technology is required.

You can use multiple domain names.

 

Powerful Email Solution.

 

Powerful database support.

 

Strong (unrestricted) software support.

 

Host hosting

This solution puts your own servers in the service provider.

This is similar to running your server in your own office. The difference is that the server is placed in a place specifically designed for it.

Generally, providers have dedicated data center resources, such as fire prevention to prevent high security, uninterrupted power supply, and dedicated Internet connections.

Advantages

Disadvantages

High bandwidth.

Expensive

High Normal running time.

Higher technology is required.

High security.

It is difficult to set and fix vulnerabilities.

Unlimited software options.

 

Your list

Before selecting a website host, determine the following items:

· Host types that meet your current needs

· Cost-effectiveness of host types

· Can I upgrade to a better server?

· Can I upgrade to an exclusive server if necessary?

Before you sign a contract with your host provider, you can access other websites on your server and feel their network speed. At the same time, compare other websites with your websites to see if you have the same requirements. It is also a good practice to communicate with other users.

7. E-commerce host

If your company is selling a product or service, e-commerce may be a good way to do business.

Internet commerce

E-commerce is to sell products or services on the Internet.

If your company is selling a product or service, e-commerce may be a good way to do business. On the Internet, you can access a large number of customers.

E-commerce system

It is not an ideal practice for small companies to build their own e-commerce systems. Building an e-commerce system is a complicated process, and many potential errors may occur.

You can purchase a ready-made system and run it on your own server. At present, there are many systems on the market, most of which can meet your basic needs, such as order management and processing. However, if you are not familiar with the website host, you 'd better not start running the e-commerce website immediately.

The best solution, in our opinion, is to select a host provider that can provide e-commerce solutions.

Host provider

E-commerce can cover a wide range of products. With different providers, you can choose from extremely simple to extremely complex solutions.

Most providers provide simple and inexpensive solutions, allowing you to run your own "virtual store ".

Your validation form

· How to Handle customer information?

· How to handle the product catalog?

· How to Handle orders?

· How to Deal with inventory?

· How to Deal with delayed delivery?

· How to Handle freight?

· How to handle accounts?

· How to handle the payment?

· How to deal with foreign currencies?

· How to handle credit cards?

· How to handle taxation?

· How to solve security problems?

· How to Solve the integrity problem (encryption technology )?

Check whether these time-consuming tasks can be completed automatically. For example, automatic invoicing, invoice processing, accounting, and report generation.

8. Image Server

If your website has a large number of image read/write operations, we recommend that you use the image server.

By using an independent image server, you can improve website performance, improve user experience, and reduce operating costs.

What is an image server?

Image Server is an independent server dedicated to optimizing image read/write operations.

The server running the website is called a Web server.

Through Web servers, users can access static Web pages, Web applications, databases, or upload and download images and other multimedia content.

However, if the website traffic increases and the access speed slows down, you should consider separating some functions from the Web server.

Generally, if a website has a large number of image read/write operations, the image service should be separated first, that is, an independent image server should be established.

Advantages of image servers

In general, deploying image servers has the following benefits:

· Sharing the I/O load of Web servers-separating resource-consuming image services to improve server performance and stability

· Dedicated Optimization for image servers-provides targeted cache solutions for Image Service to reduce bandwidth costs and increase access speeds

· Improve website scalability-improve image throughput by adding image servers

Notes for creating image servers

· Select physical media and file systems suitable for Image Storage

· Use physically independent servers

· If you have multiple image servers, consider image synchronization between servers.

· Use an independent domain name

· Formulate reasonable cache policies

· Use the image processing module to reprocess the images uploaded by users

Image cloud storage service

If you are running a small or medium-sized website or an Internet startup team, you can use the third-party image cloud storage service to enjoy the following benefits:

1. Reduce the deployment time of image servers

2. Reduce development costs

3. save valuable funds

Case: youpai cloud storage

Upyun is a general large-scale storage service that provides users with static file storage and CDN acceleration services.

Youpai cloud has many years of technical experience in static file storage and has been focusing on the field of static file storage processing.

Youpai cloud storage has 26 CDN nodes throughout the country, more than 300 servers, and four-line bandwidth of China Telecom, China Unicom, China Mobile, and CERNET, it provides users with reliable, secure, and fast basic storage services at extremely low prices.

Learn more about upyun:

Youpai cloud storage has many advantages

Youpai cloud storage solutions

 


Related Article

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.