Skip to Content
Node与Express开发(第2版)
book

Node与Express开发(第2版)

by Ethan Brown
June 2021
Intermediate to advanced
290 pages
9h 21m
Chinese
Posts & Telecom Press
Content preview from Node与Express开发(第2版)
240
第 21章
上线
大日子就要来临了。在此之前你已经勤勤恳恳地工作了几周甚至几个月,现在,你的网站
或服务已经做好了发布的准备。不过,发布并不是那么简单的,至少不是按一下开关然后
网站就上线了,是吧?
通过本章(其实,你应该在发布前几周就读本章的内容,而不是等到发布的那一天),你
将学到:几个域名注册与托管服务、从准生产环境向生产环境迁移的技术、部署生产的技
术,以及选择生产服务时需要考虑的一些东西。
21.1
 域名注册与托管
人们常常会混淆
域名注册
与
域名托管
。如果你在阅读本书,很可能就不会混淆,但我敢肯
定你认识几个会混淆二者的人,比如你的经理或你的客户。
互联网上的每个网站和服务都可以用一个(或多个)
IP
(
Internet Protocol
)
地址
来识别。
这些
IP
数字对人类来说并不是特别友好
(随着
IPv6
得到广泛应用,不友好的程度只会增
加),但你的计算机为了展现网页,从根本上还是需要这些数字的。这就是
域名
起作用的
地方了,它们把一个对人类友好的名字跟一个
IP
地
址(
74.125.239.13
或
2601:1c2:1902:5b
38:c256:27ff:fe70:47d1
)相映射了。
域名跟
IP
地址的差别用现实世界的例子做类比
,就相当于公司名跟公司地址的差别。一
个域名就相当于你的公司名(
Apple
)
,一个
IP
地址就相当于公司的实际地址(美国加利福
尼亚州库比蒂诺市
Apple
园区)
。如果你需要驾车拜访
Apple
公司的总部,就需要先知道它
的实际地址。幸运的是,如果你已经知道了公司名,就大概能够获得它的实际地址。从公 ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

面向对象的思考过程(原书第5版)

面向对象的思考过程(原书第5版)

马特 魏斯费尔德
精通模块化JavaScript

精通模块化JavaScript

Nicolás Bevacqua
前端架构设计

前端架构设计

Micah Godbolt

Publisher Resources

ISBN: 9787115565099