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

歡迎訪問 生活随笔!

生活随笔

當前位置: 首頁 > 编程资源 > 编程问答 >内容正文

编程问答

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

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

域控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和托管的全部內容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網站內容還不錯,歡迎將生活随笔推薦給好友。