域名虚拟主机_域名和虚拟主机之间有什么区别(解释)

域名虚拟主机

We are often asked by our readers to explain what is the difference between a domain name and web hosting? Many beginners don’t know that these are two separate things. In this beginner’s guide, we will explain the difference between a domain name and web hosting.

读者经常要求我们解释域名和虚拟主机之间的区别是什么? 许多初学者不知道这是两回事。 在此初学者指南中,我们将解释域名和虚拟主机之间的区别。

Difference between domain name and web hosting
什么是域名? (What is a Domain Name?)

Domain name is the address of your website that people type in the browser’s URL bar to visit your website.

域名是人们在浏览器的URL栏中键入以访问您的网站的网站地址。

In other words, if your website was a house, then your domain name will be its address.

换句话说,如果您的网站是一栋房屋,那么您的域名就是它的地址。

Now let’s get into the detailed explanation.

现在让我们进入详细的解释。

Internet is basically a giant network of computers connected to each other through cables. To easily identify them, each computer is assigned a series of numbers called IP Address.

互联网基本上是由电缆相互连接的庞大计算机网络。 为了轻松识别它们,每台计算机都分配了一系列称为IP地址的数字。

This IP address is a combination of numbers separated with dots. Typically, IP addresses look like this:

该IP地址是用点号分隔的数字的组合。 通常,IP地址如下所示:

66.249.66.1

66.249.66.1

Computers have no problem identifying and remembering these numbers. However, it is impossible for humans to remember and use these numbers to connect to websites on the internet.

计算机可以轻松识别并记住这些数字。 但是,人类不可能记住并使用这些数字连接到Internet上的网站。

To solve this problem, domain names were invented.

为了解决这个问题,发明了域名。

A domain name can have words which makes it easy to remember website addresses.

域名中可以包含单词,使您轻松记住网站地址。

Now if you wanted to visit a website on the internet, you don’t need to type a string of numbers. Instead, you can type in an easy to remember domain name, for example, wpbeginner.com.

现在,如果您想访问互联网上的网站,则无需输入数字字符串。 相反,您可以输入一个易于记忆的域名,例如wpbeginner.com。

To learn more about domain names, take a look at our beginner’s guide on domain names and how do they work.

要了解有关域名的更多信息,请参阅我们的域名初学者指南以及它们如何工作

什么是虚拟主机? (What is Web Hosting?)

What is web hosting?

Web hosting is the place where all the files of your website live. It is like the home of your website where it actually lives.

虚拟主机是存放网站所有文件的地方。 就像您的网站所在的网站。

A good way to think about this is if the domain name was the address of your house, then web hosting is the actual house that address points to. All websites on the internet, need web hosting.

考虑这一点的一种好方法是,如果域名是您房屋的地址,则虚拟主机是地址指向的实际房屋。 互联网上的所有网站都需要网络托管。

When someone enters your domain name in a browser, the domain name is translated into the IP address of your web hosting company’s computer. This computer contains your website’s files, and it sends those files back to the users’ browsers.

当有人在浏览器中输入您的域名时,该域名将转换为您的Web托管公司计算机的IP地址。 此计算机包含您网站的文件,并将这些文件发送回用户的浏览器。

Web hosting companies specialize in storing and serving websites. They offer different types of hosting plans to their customers. See our article on WordPress hosting to learn more about choosing the right hosting for your website.

网络托管公司专门从事网站的存储和服务。 他们为客户提供不同类型的托管计划。 请参阅我们有关WordPress托管的文章,以了解有关为您的网站选择合适的托管的更多信息。

域名和虚拟主机如何关联? (How Domain Names and Web Hosting are Related?)

Domain names and web hosting are two different services. However, they work together to make websites possible.

域名和虚拟主机是两种不同的服务。 但是,它们一起使网站成为可能。

Basically a domain name system is like a massive address book that is constantly updated. Behind each domain name, there is an address of the web hosting service storing the website’s files.

基本上,域名系统就像一个不断更新的庞大地址簿。 每个域名的后面都有一个虚拟主机服务的地址,用于存储网站的文件。

Without domain names, it will not be possible for people to find your website and without web hosting you cannot build a website.

没有域名,人们将无法找到您的网站;没有网络托管,您将无法建立网站。

建立网站需要什么? 域名还是虚拟主机? (What do I need to Build a Website? Domain Name or Web Hosting?)

What you need to build a website?

To build a website you will need both a domain name and web hosting account.

要建立一个网站,您将需要一个域名和虚拟主机帐户。

Buying a domain name alone only gives you right to use that particular domain name for a specific period (usually 1 year).

仅购买域名只会使您有权在特定期限(通常为1年)内使用该特定域名。

You need web hosting to store your website’s files. After you get hosting, you need to update your domain name settings and point it to your web hosting service provider.

您需要网络托管来存储您网站的文件。 托管后,您需要更新域名设置并将其指向您的网络托管服务提供商。

You can also buy both the domain and hosting from the same company. Typically a domain name costs $14.99 / year, and web hosting normally costs $7.99 / month.

您也可以从同一公司购买域名和托管。 通常,一个域名的费用为每年14.99美元,而虚拟主机的费用通常为每月7.99美元。

If you are starting your first website, then this may sound like a lot.

如果您是第一个网站,那听起来可能很多。

Thankfully, Bluehost, an official WordPress recommended hosting provider, has agreed to offer our users a free domain name and over 60% off on web hosting.

值得庆幸的是,官方推荐的WordPress托管服务提供商Bluehost已同意为我们的用户提供免费域名,并在Web托管上提供60%以上的折扣。

→ Click here to start with Bluehost ←

→单击此处开始Bluehost←

Once you have purchased hosting and registered your domain name, you can start building your website. For complete step by step instructions, see our guide on how to make a website.

购买主机并注册域名后,即可开始构建网站。 有关完整的分步说明,请参阅我们的网站指南。

我必须一起买吗? 还是可以单独购买? (Do I have to buy them together? Or can I buy them separately?)

You can buy domain name and web hosting from two different companies. However, in that case you will have to point your domain name to your web hosting company by editing its DNS settings.

您可以从两家不同的公司购买域名和虚拟主机。 但是,在这种情况下,您将必须通过编辑DNS设置将域名指向您的虚拟主机公司。

On the other hand, if you purchase your domain name and web hosting from the same company, then you will not have to change domain name settings.

另一方面,如果您从同一公司购买域名和虚拟主机,则不必更改域名设置。

It is also much easier to manage and renew both services under the same dashboard.

在同一仪表盘下管理和续订这两个服务也要容易得多。

If you want to buy domain names separately, then you can do so from top providers like: Godaddy and NameCheap.

如果您想单独购买域名,则可以从诸如GodaddyNameCheap之类的顶级提供商那里购买

我可以将域名移到其他公司吗? (Can I Move My Domain Name to a Different Company?)

Moving domain name

Yes, you can. Normally when you register the domain name, you own the right to use it and transfer it anywhere you want.

是的你可以。 通常,当您注册域名时,您拥有使用该域名并将其转移到所需位置的权利。

For example, let’s say you purchased your domain name from Godaddy and bought your hosting from Bluehost. Now you want to move your domain name to Bluehost, so that it is easier to manage and renew.

例如,假设您从Godaddy购买了域名,并从Bluehost购买了主机。 现在,您要将域名移至Bluehost,以便更轻松地进行管理和续订。

You can easily do that. Both companies have detailed step by step instructions that you can follow to transfer your domain name.

您可以轻松地做到这一点。 两家公司都有详细的分步说明,您可以按照这些说明进行域名转移。

Note: We recommend you to wait at least 45 days after the registration or renewal to initiate the transfer. ICANN, the international organization that oversees domain names, requires one year renewal whenever a transfer is initiated. By transferring your domain name before that period you could lose that year’s renewal fee.

注意:我们建议您在注册或续订后至少等待45天以启动传输。 互联网名称与数字地址分配机构(ICANN)是负责域名管理的国际组织,每次启动转让时,都需要一年的续约。 在此期限之前转让域名,您可能会损失当年的续订费。

我可以在不更改域名的情况下将我的网站移动到另一个Web托管公司吗? (Can I Move My Website to Another Web Hosting Company Without Changing Domain?)

Yes, you can do that as well. You own the domain name and can change its settings to point it to any web hosting company.

是的,您也可以这样做。 您拥有域名,可以更改其设置以将其指向任何网络托管公司。

For example, you purchased your domain name and hosting from Godaddy, and now you want to move your web hosting to Bluehost. You can move your site from one host to another by simply transferring files and data. After that you need to edit your domain name settings and point them to your new web hosting provider.

例如,您从Godaddy购买了域名和托管服务,现在您想将Web托管服务移至Bluehost 。 您可以通过简单地传输文件和数据将站点从一台主机移动到另一台主机 。 之后,您需要编辑域名设置,并将其指向新的虚拟主机提供商。

Another example, you purchased your domain name from WordPress.com (See our guide on the difference between WordPress.com vs WordPress.org). Later you want to move to self hosted WordPress.org website.

再举一个例子,您从WordPress.com购买了域名(请参阅有关WordPress.com与WordPress.org之间区别的指南)。 稍后,您想转到自托管的WordPress.org网站。

First, you will need to sign up for a WordPress hosting account. After that you can move your site from WordPress.com to WordPress.org. Lastly, you will just edit your domain name settings on WordPress.com and point them to your new WordPress hosting provider.

首先,您需要注册一个WordPress托管帐户。 之后,您可以将站点从WordPress.com移至WordPress.org 。 最后,您只需在WordPress.com上编辑域名设置,然后将其指向新的WordPress托管服务提供商即可。

We hope this article helped you learn the difference between a domain name and web hosting. You may also want to see our comparison of popular website builders for beginners with pros and cons.

我们希望本文能帮助您了解域名和虚拟主机之间的区别。 您可能还需要看一下针对颇具优点和缺点的初学者的流行网站构建器的比较。

If you liked this article, then please subscribe to our YouTube Channel for WordPress video tutorials. You can also find us on Twitter and Facebook.

如果您喜欢这篇文章,请订阅我们的YouTube频道 WordPress视频教程。 您也可以在TwitterFacebook上找到我们。

翻译自: https://www.wpbeginner.com/beginners-guide/whats-the-difference-between-domain-name-and-web-hosting-explained/

域名虚拟主机

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值