web host

If you want to publish your website to the world, then the website needs to be placed on a WEB server.

Next, we will explain separately: what is a web host, and what services does a web host provide

 

【Content List:】

(1) Introduction of website host; (2) Hosting provider; (3) Domain name registration; (4) Host performance; (5) Email service; (6) Server technology of website host; (7) Database technology of website host ; (8) Host type; (9) E-commerce host; (10) Image server

 

 

(1) Introduction to website host

Contents: How the World Wide Web Works, How to Publish Sites, What Internet Service Providers (ISPs) Offer

①【What is the World Wide Web?

The WWW is a worldwide computer network where all computers on the Web can communicate with each other.

All computers use a communication standard called HTTP.

②【How does WWW work?

Web information is stored in documents called web pages, which are files stored on computers called web servers.

A computer that reads a web page can be called a web client, and a web client views the page through a program called a web browser.

Popular browsers are Internet Explorer and Mozilla Firefox

③【How do browsers read web pages?

A browser can read a page from a web server with a request, which is a standard HTTP request containing the address of the page.

The address looks like this:

http://www.someone.com/page.htm

 ④【How do browsers display web pages?

All web pages contain instructions for display. The browser displays the page by reading these instructions. The most commonly used display instructions are HTML tags.

⑤【What is a Web server?

The collection of all web pages is called a website, and in order for others to see your pages, you must publish your website.

The website must be copied to a web server in order to complete the publishing of the website. If the PC is connected to the network, it can also be used as a web server.

In most cases, web hosting provided by an ISP (Internet Service Provider) is used.

⑥【What is ISP?

ISP refers to an Internet Service Provider that provides Internet services.

最常见的 Internet 服务是网站主机,网站主机服务可把您的网站存放到一个公共的服务器上。

网站主机服务通常包括了域名注册服务。

 

 

(2)主机提供商

内容:将站点放置于自己的服务器与放置于ISP的差异

一.【使用自己的主机】

在自己的服务器上存放网站始终都是一个选项。不过有些问题是需要考虑的:

①硬件的费用:要运行一个“真正”的网站,你必须购买一些高性能的服务器硬件。不要指望低价的 PC 可以做这些工作。同时您还需要可以到达您办公室的不间断高速连接,而这种连接是很昂贵的。

②软件费用:不要忘记为软件许可计算额外的费用。请记住服务器许可的价格通常会远高于客户机许可。同时还需要注意某些服务器软件的许可会限制并发用户的数量。

③劳务费用:不要指望很低的劳务费用。请记住不得不安装这些软件和硬件,还需要对付漏洞和病毒,并在一个“可能发生任何事情”的环境里保持服务器的不间断运行。

二.【利用一个 ISP】

从一个 ISP 租用服务器是最常见的做法。这样做的好处有:

①连接速度

②强大的硬件

③安全和稳定性:ISP 是网站主机领域的专家。他们能够提供超过 99% 的正常服务时间、最新的软件漏洞补丁以及最好的病毒防护

【利用ISP(因特网服务提供商)需要考虑的事情】

①24小时支持:要确保你选择的 ISP 提供24小时的支持;

②每日的备份:要确保您选择的 ISP 提供每日例行的安全备份,否则你可能会损失不少有价值的数据;

③流量限制:研究一下提供商的流量限制条款。要确保如果您的网站开始受欢迎以后,不必为未预料到的高流量付额外的费用;

④带宽或内容限制:研究一下提供商的带宽和内容限制条款。如果计划发布图片、广播或者声音,要确定您是否有这样的权利;

⑤电子邮件性能:确保提供商可完全地支持您需要的电子邮件性能;

⑥数据库访问:如果计划在您的网站使用数据库,请确保提供商完全地支持所需要的数据库访问。

 

 

(3)域名注册

内容:如何注册域名,以及如何充分利用它

域名是网站唯一的名称,主机解决方案中应包括域名注册,域名应该容易记、容易写

①【域名】

域名是网站的唯一名称,比如 microsoft.com 和 w3school.com.cn。

域名是需要注册的。当域名被注册后,就会被添加到大的域名注册商那里,连同与您的网站有关的信息 - 包括被保存在 DNS 服务器的 IP 信息。

②【DNS】

DNS 指的是域名系统 (Domain Name System)。DNS 服务器负责向 internet 上的其他计算机通知有关你的域名和地址的信息。

③【注册域名】

可以通过域名注册公司来注册域名,比如 www.net.cn 。

这些公司都提供了查询可用域名的接口,并提供可同时注册的域名后缀。

域名注册机构可提供多种域名后缀的注册,但是最容易记忆的域名是 .com 和 .net ,大多数带有这两个后缀的受欢迎的域名都已经被注册了

④【选择域名】

对于任何个人或组织来说,选择域名都是很重要的步骤。

在域名被大量注册的同时,新的域名后缀和创造性的思路仍然可提供数千种很棒的选择。

当选择一个域名时,考虑好域名的用途是很重要的,这会使人们更容易找到你的网站。

优秀的域名具有以下特征:简短,清晰,有意义,曝光率

⑤【子域名】

大多数人们都没有意识到,但确实是每天都在使用着子域名。最常见的 "www" 其实就是典型的子域名。子域名可以在 DNS服务器上创建,并且不需要通过域名注册机构来进行注册。当然,在创建子域名之前,还是需要首先注册原始域名的。在 internet 上可以见到很多子域名的例子:比如 store.apple.com 和 support.microsoft.com。

可请求您的网站主机提供商来创建子域名,也可以通过管理您的 DNS 服务器来创建。

⑥【虚假域名 - 目录列表】

某些提供商可能会为您提供一个位于其域名之下的一个唯一的名称:www.theircompany.com/yourcompany/

这并不是一个真实的域名,而是一个目录 - 应当尽量避免这样的情况。

这样的 URL 是不值得要的,特别是对公司来说。所以还是避免使用它吧,如果您能够支付域名的费用的话。这种 URL 的典型运用是通过 ISP 用于个人网站或免费网站,其实就是分享一个独立域名的方式,可为用户提供属于自己的地址。

域名注册机构之间的完全竞争已经极大程度地降低了域名的注册费用,所有这种域名分享的方式越来越少见了,因为人们仅仅需要 15 美元就可以注册属于自己的域名了。

⑦【过期的域名】

域名注册的另一个来源是过期的域名。当注册了一个域名后,假设没有法律或商标方面的争议,那么只要您付清费用(您可以提前支付 10 年的费用),就可以自由地使用任意长的时间。

某些人是利用域名进行投机的,希望以后可以卖掉它们,而另一些人本来计划使用某个域名却没有这么做。结果是之前已被注册的域名会定期地成为可注册的状态。

可以通过 http://www.dotdnr.com 这个网站查询最近的过期域名,如果希望注册的话,需要付的费用和注册新域名是相同的。

 

 

(4)主机性能

内容:磁盘空间和带宽

①【磁盘空间】

小型或中型的网站至少需要 10MB 到 100MB 的磁盘空间。

如果只考虑 HTML 页面的话,它们的平均尺寸是很小的。也许甚至不到 1KB。但是如果看一下在页面中使用的图形的尺寸,您会发现大多数图片的尺寸要比页面本身大得多。

加上图片和其他一些占用空间的元素,每张页面会占用 5KB 到 50KB 的服务器空间。

如果计划使用大量的图像和图形元素(不涉及音频文件和视频文件),那么可能需要更多的磁盘空间。

在挑选提供商之前,请首先明确您需要的磁盘空间。

②【月流量】

小型或中型的网站每月至少需要 1GB 到 5GB 的数据传输量。

可以这样进行计算:把平均的页面尺寸乘以每月预期的页面浏览量。假设您的平均页面尺寸是 30KB,预期的页面浏览量是 50,000 张页面,那么您需要 0.03MB x 50,000 = 1.5GB 。

更大的商业站点每月通常会消耗掉不少于 100GB 的流量。

在与主机提供商签合同之前,需要搞清楚下面的【注意事项】:

月流量限制是多少?如果超过限制,网站会被关闭吗?如果超过限制,需要付额外的费用吗?主机容易进行升级吗?

③【连接速度】

访问者通常会使用调制解调器来访问您的网站,但是主机提供商则拥有极高的连接速度

 

(5)电子邮件服务

内容:电子邮件服务--因特网服务提供商(ISP)提供的最普通的服务

主机服务应该包括一定的电子邮件帐号和电子邮件服务器

 

(6)网站主机的服务器技术

内容:被普遍使用的主机技术

①【Windows 主机】

Windows 主机是运作在 Windows 操作系统上的主机服务

如果您使用ASP作为服务器脚本,或者计划使用微软的 Access 或 SQL Server 数据库的话,就应该选择 Windows 平台的主机

②【Unix 主机】

Unix 主机是运作在 Unix 操作系统上的主机服务

Unix 是首个(或最原始的)web 服务器操作系统,并以可靠性和稳定性而闻名。而且价格也通常低于 Windows 

③【Linux 主机】

Linux 主机是运作在 Linux 操作系统上的主机服务

④【CGI】

网页可作为 CGI 脚本来执行。CGI 脚本可在服务器上执行,来生成动态的交互性页面。

大多数的 ISP 都会提供对 CGI 的某种程度的支持。并且许多都提供了使用 CGI 编写的预先安装的可运行的留言簿、页面计数器以及聊天/论坛解决方案。

CGI 最常使用在 Unix 或 Linux 服务器

⑤【ASP - Active Server Pages(活动服务器页面)】

ASP 是由微软公司研发的服务器端脚本技术。

通过把脚本代码放到 HTML 页面内,您可以使用 ASP 来创建动态的网页。在页面返回浏览器之前,代码会首先被服务器执行。而且 Visual Basic 和 JavaScript 都可使用。

ASP 是 Windows 95,98, 2000 以及 XP 中的标准组件。可在所有运行 Windows 的计算机上激活 ASP 。

许多的主机提供商都提供 ASP 支持,ASP 技术在中国已经很流行了

【拓展:关于ASP,后面有机会再做介绍】

⑥【Chili!Soft ASP】

微软的 ASP 技术只能运行在 Windows 平台

不过,Chili!Soft ASP 则是一种使得 ASP 可运行在 UNIX 和其他平台的软件产品

⑦【JSP】

JSP 是一种由 SUN 开发的类似 ASP 的服务器端技术。

通过 JSP,您可以通过把 Java 代码放入 HTML 页面来创建动态页面。在页面返回浏览器之前,代码同样会首先被服务器执行。

由于 JSP 使用 Java,此技术不会受限于任何的服务器平台。

⑧【FrontPage】

FrontPage 是由微软开发的网站设计工具。

在用户不具备深入的 web 开发知识的情况下,就可以使用FrontPage开发出一个网站。大多数 Windows 主机解决方案都支持 FrontPage 服务器扩展,这样用户就能使用 FrontPage 来开发他们的网站了。

如果您计划使用 FrontPage,就应该选择一套 Windows 主机解决方案(而不是Unix / Linux)

⑨【PHP】

类似 ASP,PHP 也是一门服务器端脚本语言,通过把脚本代码放到 HTML 页面内,您可以使用 PHP 来创建动态的网页。在页面返回浏览器之前,代码会首先被服务器执行

⑩【Cold Fusion(冷融合)】

Cold Fusion 是另一门用来创建动态网页的服务器端脚本语言,由 Macromedia 开发的。

 

 

(7)网站主机的数据库技术

内容:一些最流行的网络数据库技术

【适用场景】

①SQL Server 或 Oracle 用于高流量的数据库驱动型网站

②Access 或 MySQL 用于低流量的数据库访问

【Web 数据库】

如果网站需要经由 web 来更新大量的信息,那么您就需要数据库来存储信息

可用于网站主机的数据库系统有很多种类型。最常见的是 MS Access、MySQL、SQL Server 以及 Oracle

【使用 SQL 语言】

SQL is a language for accessing databases.

If you want your website to have the ability to store or retrieve data in the database, then your web server needs to use the SQL language to access the database system. I will introduce SQL usage later.

【SQL Server】

Microsoft's SQL Server is one of the most popular database software for high-traffic database-driven websites, SQL Server is a very powerful, robust, and feature-rich SQL database system.

【Oracle】

Oracle is also a very popular database software for high-traffic database-driven websites, and is also a very powerful, robust, and feature-rich SQL database system

【Access】

If a website needs a simple database solution, Microsoft Access should be a 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 and a cheap alternative to expensive Microsoft and Oracle solutions

 

 

(8) Host type

Content: The Different Types of Web Hosting

Types of web hosting: free hosting, virtual (shared) hosting, or dedicated hosting

①【Free hosting】

Some service providers offer free web hosting.

Free hosting is suitable for small, low-traffic sites, such as personal websites. However, free hosting is not recommended for high-traffic or commercial sites, as there are often technical limitations and few options to choose from.

Generally, you cannot use your own domain name with free hosting. Instead, you have to use the address provided by the host, like this:

http://www.freesite/users/~yoursite.htm

 

Such URLs are difficult to write, remember, and unprofessional

Advantages Disadvantages
Low cost. free No domain name.
Perfect for family, business hobby or personal site. Few, limited or no software options.
Usually there is free email. Limited security options.
  Limited or no database support
  Limited technical support

②【Shared host (virtual host)】

Web hosting is the most common and the most cost-effective.

With web hosting, your website and maybe 100 other websites are hosted on the same high-performance server. On a web hosting, each website can use its own domain name.

Web hosting usually offers multiple software solutions such as email, databases, many different editing options. Technical support is also good

Advantages Disadvantages
low cost. Share costs with other users. Reduced security due to many sites on one server.
Suitable for small businesses and moderate traffic. There are restrictions on traffic.
Various software options. Limited database support.
own domain name. Limited software support.
Good service support.  

 ③【Exclusive Host】

The website can be stored on a dedicated server through a dedicated hosting service.

Dedicated hosting is the most expensive type of hosting. This solution is suitable for large, high-traffic websites, as well as websites that use special software.

Dedicated hosting has strong performance and security, and there are almost no restrictions on software solutions

Advantages Disadvantages
Suitable for large business websites. expensive.
Suitable for high-traffic stations. Requires higher technology.
Multiple domain names can be used.  
Powerful email solution.  
Powerful database support.  
Strong (unlimited) software support.  

④【Managed Host】

The solution is to put your own server with the service provider.

This is very similar to running your server in your own office, except that the server is placed in a place specially designed for it.

Often providers have dedicated computer room resources, such as high security against vandalism with fire protection, uninterruptible power supplies, dedicated Internet connections, etc.

Advantages Disadvantages
high bandwidth. expensive
High uptime. Higher technology is required.
High security. Difficult to set up and fix bugs.
Unlimited software options.  

⑤【Select host】

Before you choose a web host, please make sure of the following:

The type of hosting that meets your current needs; the price/performance ratio of the hosting type; whether you can upgrade to a better server; whether you can upgrade to a dedicated server if needed, etc.

 

Also, before signing a contract with a hosting provider, you can visit other websites on their servers to get a feel for their internet speed. Also compare other sites with yours to see if they have the same needs.

 

 

(9) E-commerce hosting

Content: Introduction to Ecommerce Hosting

If the company is selling a certain product or service, then e-commerce may be a good way to do business

①【Internet Business】

E-commerce is the sale of products or services on the Internet

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

②【E-commerce system】

对于小公司来说,自己建立一套电子商务系统不是一个理想的做法。构建一套电子商务系统是一个复杂的过程,其中可能会出现很多潜在的错误。

您可以购买一套现成的系统,在自己的服务器上运行。目前市场上有很多系统,其中大部分都可满足您的基本需要,比如订单管理和处理。但是还要指出的是,如果您对网站的主机不是很熟悉,最好不要马上就开始运行电子商务网站。

最好的解决方案,在我们的看来,就是选择一家能够提供电子商务解决方案的主机提供商

③【主机提供商】

电子商务可涵盖大范围的产品。而通过不同的提供商,您能够选择从极简单到极复杂的解决方案

大多数提供商提供简单的价格不高的解决方案,您可借此来运行您自己的“虚拟商店”

④【检验表】

如何处理客户信息?如何处理产品目录?如何处理订单?如何处理库存?

如何处理延期交货?如何处理货运?如何处理帐目?如何处理支付?

如何处理国外货币?如何处理信用卡?如何处理税务?如何解决安全问题?

如何解决完整性问题(加密技术)?

还要检查一下这些相当费时的任务是否能够自动完成。比如自动开单据、发票处理、记帐以及报告生成

 

 

(10)图片服务器

内容:图片服务器的概念、用途和优势,以及最新的云图片存储服务

【适用场景】

如果网站存在大量的图片读写操作,我们建议您使用图片服务器。通过使用独立的图片服务器,可以提高网站性能,改善用户体验,并降低运营成本

【图片服务器由来】

如果网站访问量不断增加,访问速度日趋缓慢,那么就应该考虑将部分功能从 Web 服务器中分离出来。

通常,如果网站存在大量图片读写操作,那么应该首先把图片服务分离出来,也就是建立独立的图片服务器。

【图片服务器的优势】

总得来说,部署图片服务器有以下几点好处:

①分担 Web 服务器的 I/O 负载 - 将耗费资源的图片服务分离出来,提高服务器的性能和稳定性

②能够专门对图片服务器进行优化 - 为图片服务设置有针对性的缓存方案,减少带宽成本,提高访问速度

③提高网站的可扩展性 - 通过增加图片服务器,提高图片吞吐能力

【图片云存储服务】

如果正在运营中小型网站,或者是互联网创业团队,那么使用第三方的图片云存储服务可以获得以下好处:

①减少图片服务器的部署时;②降低开发成本;③节约宝贵的资金

【案例】

案例:又拍云存储

又拍云是通用的大规模存储服务,主要为用户提供静态文件存储以及 CDN 加速的服务。

又拍云在静态文件存储方面有多年的技术经验,一直专注于静态文件存储处理领域。

又拍云存储在全国各地有 26 个 CDN 节点 , 300 多台服务器以及电信、联通、移动和教育网四线带宽,能够让用户以极低的价格获得可靠、安全和快速的基础存储服务

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

.

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=326167476&siteId=291194637