日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問 生活随笔!

生活随笔

當(dāng)前位置: 首頁 > 编程资源 > 编程问答 >内容正文

编程问答

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

發(fā)布時(shí)間:2023/11/29 编程问答 38 豆豆
生活随笔 收集整理的這篇文章主要介紹了 域控dns无法解析域控_域注册商,DNS和托管 小編覺得挺不錯(cuò)的,現(xiàn)在分享給大家,幫大家做個(gè)參考.

域控dns無法解析域控

by ????? ??????????

由???????????????

域名注冊(cè)商,DNS和托管 (Domain registrars, DNS, and hosting)

如何正確設(shè)置網(wǎng)站 (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.

我花了一些時(shí)間來建立可以讓我感到高興的方式來運(yùn)行我的網(wǎng)站和電子郵件的基礎(chǔ)結(jié)構(gòu)。 那里有很多糟糕的域名注冊(cè)商,DNS提供商和網(wǎng)絡(luò)主機(jī)。 我終于到了一個(gè)令我滿意的地方,我想與世界分享我的設(shè)置。

便宜貨 (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作為我的主要域名注冊(cè)商。 很快,我得知GoDaddy將所有的錢都花在了精美的廣告上,而不是雇用UX工程師或產(chǎn)品經(jīng)理。 在我在那里期間,他們的支持團(tuán)隊(duì)也表現(xiàn)不佳。

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是我發(fā)現(xiàn)的用于管理域的最佳界面,并且每次使用它時(shí)都會(huì)變得更好。 他們?cè)?strong>新TLD方面也總是有很多優(yōu)惠,并且在他們的網(wǎng)站上搜索出色的域名總是一種奇妙的體驗(yàn)。

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.

每個(gè)域注冊(cè)商都可以為您的域配置DNS設(shè)置,但是沒有免費(fèi)的域名服務(wù)器服務(wù)可以與CloudFlare相比 。 我不想花太多時(shí)間解釋CloudFlare可以為您做的所有令人驚奇的事情,因?yàn)?strong>該視頻已經(jīng)完成了令人難以置信的工作。

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免費(fèi)提供給用戶的許多很棒的功能。 但是,我絕對(duì)喜歡的功能在CloudFlare的網(wǎng)站上卻被意外地忽略了。 我使用CloudFlare的第一個(gè)原因是因?yàn)?strong>我不必等待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.

托管網(wǎng)站也可能會(huì)很痛苦。 如果您只需要托管一個(gè)靜態(tài)網(wǎng)站,則沒有理由需要為托管付費(fèi)。 我個(gè)人最喜歡的解決方案是GitHub Pages 。 我已經(jīng)使用git來管理我的網(wǎng)站,所以GitHub Pages使更新我的網(wǎng)站像git push一樣容易。 不再需要FTP,SSH或任何其他三個(gè)字母的縮寫。

設(shè)定 (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:

到現(xiàn)在為止,您應(yīng)該已經(jīng)對(duì)如何設(shè)置網(wǎng)站有了一個(gè)很好的高級(jí)概述,但是可能有一些小的實(shí)施細(xì)節(jié),仍然使連接各點(diǎn)變得困難。 要使用上述服務(wù),您需要遵循以下所有步驟:

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.

您直接購買或轉(zhuǎn)讓它都沒有關(guān)系,但可以在Namecheap上獲得您的域名。

2.將您的站點(diǎn)添加到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上,添加您的站點(diǎn),掃描當(dāng)前的DNS記錄,然后選擇免費(fèi)計(jì)劃。 完成此操作后,系統(tǒng)將提示您兩個(gè)名稱服務(wù)器地址。 保存這些以進(jìn)行下一步。

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,在“主頁”主頁上單擊與您的域相對(duì)應(yīng)的“管理”按鈕。 在“名稱服務(wù)器”部分下,單擊“ Namecheap基本DNS”,然后選擇“自定義DNS”。 在此處,輸入您從CloudFlare獲得的兩個(gè)名稱服務(wù)器,然后單擊綠色的選中標(biāo)記。

4.檢查名稱服務(wù)器。 (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.

太棒了,現(xiàn)在回到CloudFlare上的站點(diǎn),然后單擊“重新檢查名稱服務(wù)器”。 這最多可能需要24個(gè)小時(shí),但是通常(特別是使用Namecheap)只需幾分鐘。

5.設(shè)置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:

轉(zhuǎn)到GitHub并創(chuàng)建一個(gè)名為username .github.io的存儲(chǔ)庫,其中username是您在GitHub上的用戶名。 在這里,您可以使用以下命令來啟動(dòng)靜態(tài)網(wǎng)站:

# 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.

現(xiàn)在,您可以返回到CloudFlare上的站點(diǎn),然后單擊頂部的“ DNS”。 在這里,您將要添加CNAME記錄。 第一個(gè)值(名稱)將為“ @”,第二個(gè)值(域名)將為用戶名 .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記錄。 為了安全起見,我建議您通過單擊“高級(jí)”和“導(dǎo)出”來備份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.

我個(gè)人不喜歡前綴很多域名的“ www”。 通過添加另一個(gè)具有第一個(gè)值“ www”和第二個(gè)值用戶名 .github.io的CNAME記錄,我擺脫了這一點(diǎn),其中username是您在GitHub上的用戶名。

7.在GitHub上添加一個(gè)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有關(guān)我們的域的信息。 為此,我們?cè)贕itHub上網(wǎng)站存儲(chǔ)庫的根目錄中添加了一個(gè)名為“ CNAME”的文件。 為此,請(qǐng)運(yùn)行以下命令:

# 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.

如果您認(rèn)為此帖子有用,或者有任何建議,請(qǐng)?jiān)诖颂幇l(fā)表回復(fù)。

Follow me on Twitter here.

按照我的Twitter 這里 。

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

域控dns無法解析域控

總結(jié)

以上是生活随笔為你收集整理的域控dns无法解析域控_域注册商,DNS和托管的全部內(nèi)容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網(wǎng)站內(nèi)容還不錯(cuò),歡迎將生活随笔推薦給好友。