域控dns无法解析域控

by ᴋɪʀʙʏ ᴋᴏʜʟᴍᴏʀɢᴇɴ

由ᴋɪʀʙʏᴋᴏʜʟᴍᴏʀɢᴇɴ

域名注册商,DNS和托管 (Domain registrars, DNS, and hosting)

如何正确设置网站 (How to set up your website the right way)

It took me a while to set up the infrastructure that runs my website and email in a way that made me happy. There are a lot of crappy domain registrars, DNS providers, and web hosts out there. I’m finally in a place where I’m pleased with each component in my pipeline, so I thought I’d share my setup with the world.

我花了一些时间来建立可以让我感到高兴的方式来运行我的网站和电子邮件的基础结构。 那里有很多糟糕的域名注册商,DNS提供商和网络主机。 我终于到了一个令我满意的地方,我想与世界分享我的设置。

便宜货 (Namecheap)

Back in the day I, like many other people, used GoDaddy as my primary domain registrar. Quickly I learned that GoDaddy spends all of their money on fancy advertising instead of hiring UX engineers or product managers. Their support team was subpar as well during my time there.

过去,我和其他许多人一样,使用GoDaddy作为我的主要域名注册商。 很快,我得知GoDaddy将所有的钱都花在了精美的广告上,而不是雇用UX工程师或产品经理。 在我在那里期间,他们的支持团队也表现不佳。

Nowadays, I only use Namecheap for my domain needs. Namecheap is by far the best interface I’ve found for managing domains and it gets better every time I use it. They also always have great deals on new TLDs and searching for a great domain on their site is always a fantastic experience.

如今,我仅将Namecheap用于我的域需求。 到目前为止,Namecheap是我发现的用于管理域的最佳界面,并且每次使用它时都会变得更好。 他们在新TLD方面也总是有很多优惠,并且在他们的网站上搜索出色的域名总是一种奇妙的体验。

CloudFlare (CloudFlare)

Every domain registrar will provide you with the ability to configure your DNS settings for your domain, but no free nameserver service can really compare to CloudFlare. I don’t want to take too much time explaining all of the amazing things that CloudFlare can do for you because this video already does an incredible job.

每个域注册商都可以为您的域配置DNS设置,但是没有免费的域名服务器服务可以与CloudFlare相比 。 我不想花太多时间解释CloudFlare可以为您做的所有令人惊奇的事情,因为该视频已经完成了令人难以置信的工作。

If you watched that video, then you know about a lot of the awesome features that CloudFlare provides to its users for free. My absolutely favorite feature though, is surprisingly de-emphasized on CloudFlare’s site. The number one reason I use CloudFlare is because I never have to wait on DNS propagation.

如果您观看了该视频,那么您将了解CloudFlare免费提供给用户的许多很棒的功能。 但是,我绝对喜欢的功能在CloudFlare的网站上却被意外地忽略了。 我使用CloudFlare的第一个原因是因为我不必等待DNS传播

GitHub页面 (GitHub Pages)

Hosting a website can also be quite a pain. If you just need to host a static website, then there is no reason you need to pay for hosting. My personal favorite solution is GitHub Pages. I already use git to manage my website, so GitHub Pages makes updating my website as easy as git push. No more FTP, SSH, or any other three letter acronyms.

托管网站也可能会很痛苦。 如果您只需要托管一个静态网站,则没有理由需要为托管付费。 我个人最喜欢的解决方案是GitHub Pages 。 我已经使用git来管理我的网站,所以GitHub Pages使更新我的网站像git push一样容易。 不再需要FTP,SSH或任何其他三个字母的缩写。

设定 (Setting it up)

By now you should have a good high-level overview of how to setup your website, but there can be small implementation details that still make connecting the dots difficult. Here are all the steps you need to follow in order to utilize the above services:

到现在为止,您应该已经对如何设置网站有了一个很好的高级概述,但是可能有一些小的实施细节,仍然使连接各点变得困难。 要使用上述服务,您需要遵循以下所有步骤:

1.在Namecheap上获取您的域名。 (1. Get your domain on Namecheap.)

It doesn’t matter if you buy it directly or transfer it, but get your domain on Namecheap.

您直接购买或转让它都没有关系,但可以在Namecheap上获得您的域名。

2.将您的站点添加到CloudFlare。 (2. Add your site to CloudFlare.)

On CloudFlare add your site, scan the current DNS records, and select the free plan. Once you’ve done that, you’ll be prompted with two nameserver addresses. Save these for the next step.

在CloudFlare上,添加您的站点,扫描当前的DNS记录,然后选择免费计划。 完成此操作后,系统将提示您两个名称服务器地址。 保存这些以进行下一步。

3.将Namecheap指向CloudFlare。 (3. Point Namecheap to CloudFlare.)

Go back to Namecheap, click the “Manage” button corresponding to your domain from the main “Dashboard” page. Under the “Nameservers” section click “Namecheap Basic DNS”, and then select “Custom DNS.” From here, enter the two nameservers you got from CloudFlare and click the green checkmark.

返回Namecheap,在“主页”主页上单击与您的域相对应的“管理”按钮。 在“名称服务器”部分下,单击“ Namecheap基本DNS”,然后选择“自定义DNS”。 在此处,输入您从CloudFlare获得的两个名称服务器,然后单击绿色的选中标记。

4.检查名称服务器。 (4. Check the nameservers.)

Awesome, now go back to your site on CloudFlare and click “Recheck Nameservers.” This can take up to 24 hours, but often (especially with Namecheap) it only takes a few minutes.

太棒了,现在回到CloudFlare上的站点,然后单击“重新检查名称服务器”。 这最多可能需要24个小时,但是通常(特别是使用Namecheap)只需几分钟。

5.设置GitHub Pages。 (5. Setup GitHub Pages.)

Head over to GitHub and create a new repo called username.github.io, where username is your username on GitHub. From here you can push your static website up with the following commands:

转到GitHub并创建一个名为username .github.io的存储库,其中username是您在GitHub上的用户名。 在这里,您可以使用以下命令来启动静态网站:

# from your website directory on your local machine$ git init$ git add .$ git commit -m ‘Initial commit’
# replace “<remote-url>” with the URL on your repo page on GitHub$ git remote add origin <remote-url>$ git push -u origin master

6.将您的DNS指向GitHub Pages。 (6. Point your DNS to GitHub Pages.)

You can now go back to your site on CloudFlare and click “DNS” at the top. From here you’re going to want to add a CNAME record. The first value (name) will be “@” and the second value (domain name) will be username.github.io, where username is your username on GitHub.

现在,您可以返回到CloudFlare上的站点,然后单击顶部的“ DNS”。 在这里,您将要添加CNAME记录。 第一个值(名称)将为“ @”,第二个值(域名)将为用户名 .github.io,其中用户名是您在GitHub上的用户名。

Unless you have some subdomains or other special circumstances, you can delete any other CNAME or A records off of CloudFlare. Just to be safe though, I’d suggest you backup your DNS records by clicking, “Advanced” and “Export.”

除非您有某些子域或其他特殊情况,否则可以从CloudFlare删除任何其他CNAME或A记录。 为了安全起见,我建议您通过单击“高级”和“导出”来备份DNS记录。

I personally don’t like the “www” that prefixes a lot of domains. I get rid of this by adding another CNAME record with first value “www” and second value username.github.io, where username is your username on GitHub.

我个人不喜欢前缀很多域名的“ www”。 通过添加另一个具有第一个值“ www”和第二个值用户名 .github.io的CNAME记录,我摆脱了这一点,其中username是您在GitHub上的用户名。

7.在GitHub上添加一个CNAME文件。 (7. Add a CNAME file on GitHub.)

The last step in this process is to tell GitHub Pages about our domain. We do this by adding a file called “CNAME” to the root directory of our website’s repository on GitHub. To do this run the following commands:

此过程的最后一步是告诉GitHub Pages有关我们的域的信息。 为此,我们在GitHub上网站存储库的根目录中添加了一个名为“ CNAME”的文件。 为此,请运行以下命令:

# from your website directory on your local machine
$ echo “<my-domain>” >;> CNAME # where “<my-domain>;” is your domain$ git add CNAME$ git commit -m ‘Add CNAME’$ git push origin master

If you found this post useful or if you have any recommendations feel free to post a response here.

如果您认为此帖子有用,或者有任何建议,请在此处发表回复。

Follow me on Twitter here.

按照我的Twitter 这里 。

翻译自: https://www.freecodecamp.org/news/domain-registrars-dns-and-hosting-353e4163a19/

域控dns无法解析域控

域控dns无法解析域控_域注册商,DNS和托管相关推荐

  1. DNS无法解析IP_通过YouTube的封杀窥视DNS原理

    YouTube是世界上最流行的视频网站,但由于任何人都可以在YouTube上发布视频,使视频的真实性无法得到保障,甚至一些侮辱民族感情.亵渎宗教的视频也频频出现,引发争议.从2010年3月23日晚上起 ...

  2. 域名 超过注册日两年_域名 – “注册商注册过期日期”与实际到期日之间的关系...

    我对某个.com域名的whois查询的Expiration相关输出有些了解.特别是我并没有真正了解注册商注册到期日期字段的含义. 这是一个例子(缩写): $whois example.com Whoi ...

  3. 域名解析配置 以及 修改DNS服务器(腾讯云域名注册商、阿里云DNS服务器)

    很早以前是在腾讯云租的服务器同时也在腾讯云上注册了两个域名,后来我将服务器换成了阿里云的,如果想要域名所解析的IP地址变成阿里云服务器的IP地址,就要去腾讯云官网修改DNS服务器,不能用腾讯云的DNS ...

  4. DNS系统解析基本流程

    1.DNS简介 了解完用户访问网站的基本流程后,再来了解下DNS解析的基本流程,这是企业针对运维岗位进行招聘时经常会面试的问题,因此,必须要熟练掌握.DNS,全称为 Domain Name Syste ...

  5. 性能优化(1)-DNS预解析

    DNS预解析 原理 如何使用 打开和关闭DNS预解析 自动解析 手动添加解析 在浏览器中设置 看看淘宝的DNS预解析 使用场景 如何更好的使用? 对哪些资源做手动prefetch 域名发散和域名收敛 ...

  6. 08 域控 架构主机 转移_域控制器的角色转移与抢占

    今天我们通过一个实例为大家介绍如何实现操作主机角色的转移, 这样如果 Active Directory 中操作主 机角色出现了问题,我们就可以用今天介绍的知识来进行故障排除. 我们首先要明确一个重要原 ...

  7. 08 域控 架构主机 转移_域控服务器迁移步骤(精)

    域控服务器迁移步骤 假设主域控制器的 IP 为 192.168.1.10 ,额外域控制器的 IP 为 192.168.1.20 第一步:主域迁移之前的备份 : 1. 备份主域服务器的系统状态 2. 备 ...

  8. 查找域控命令_域控服务器CMD命令大全

    net user              #查看本地用户 net  localgroup           #查看本地组 net  localgroup  administrators     # ...

  9. 域控服务器的dns配置,如何配置额外域控制器上的DNS?

    额外域控制器是什么?它有什么优点?额外域控制器上的DNS又是如何配置呢?下文给出了详细的解答. 所谓域外控制器,是指除***台域控制器之外的其他域控制器.在同一域内安装多台域控制器时,将具有以下优点: ...

最新文章

  1. LeetCode Longest Palindrome(计算最长的对称串)
  2. CodeForces 597A Divisibility
  3. spring jms同时使用queue和持久topic订阅
  4. PostgreSQL学习笔记6之函数和操作符二
  5. AGC004(A~E)
  6. [STL][C++]LIST
  7. python缩写转换成全拼_Python中文转拼音代码(支持全拼和首字母缩写)
  8. Java 8 stream的使用示例
  9. CF1132D Stressful Training (binary search)(greedy)
  10. [转]斗鱼大数据搭建的经验和坑
  11. html中写页边距,html整体页面边距怎么设置
  12. Spring的ioc控制反转
  13. centos7.6修改分辨率
  14. 怎样使表格中的数字自动计算机,#怎样让一个表格自动加或乘#如何使excel表格里多个数同时除以1000?...
  15. 普通青年,文艺青年,二逼青年之程序员版
  16. 拆解国企数字化转型的锦囊
  17. word,excel,ppt突然默认变成了其他应用程序的打开方式,如何调整回来?
  18. 教你四个步骤在Word中设计毕业论文目录
  19. C语言 将一个数组的内容复制到另一个数组
  20. 计算机辅助特种加工,特种加工方法 -解决方案-华强电子网

热门文章

  1. cs硕士妹子找工作经历【阿里人搜等互联网】
  2. java中的几种泛型类——HashSet、HashMap、TreeSet、TreeMap,遍历map,排序,HashTable比较
  3. React JS 组件间沟通的一些方法
  4. Java-Character String StringBuffer StringBuilder
  5. 初学 Unsupervised feature learning and deep learning--Sparse autoencoder
  6. CNN训练模型 花卉
  7. Opencv EmguCv 基本识别步骤
  8. 机器学习02线性回归、多项式回归、正规方程
  9. Python:正则表达式
  10. Mysql5.7开启远程