<button id="qvlbh"><button id="qvlbh"></button></button>
<xmp id="qvlbh"><xmp id="qvlbh"><xmp id="qvlbh"><address id="qvlbh"><output id="qvlbh"></output></address>
<xmp id="qvlbh"><legend id="qvlbh"></legend>
<xmp id="qvlbh"> <address id="qvlbh"><output id="qvlbh"></output></address>
<address id="qvlbh"><button id="qvlbh"></button></address>
<button id="qvlbh"><samp id="qvlbh"></samp></button>
<address id="qvlbh"><button id="qvlbh"></button></address><address id="qvlbh"></address>
<address id="qvlbh"><legend id="qvlbh"></legend></address>
<samp id="qvlbh"><xmp id="qvlbh"><legend id="qvlbh"></legend>
中國站
幫助中心 > 網(wǎng)絡(luò )與加速 > CDN云加速 > 常見(jiàn)問(wèn)題 > 域名綁定Host操作步驟

域名綁定Host操作步驟

概述

在排查CDN故障時(shí),經(jīng)常需要查看源站訪(fǎng)問(wèn)是否正常,或對比加速與未加速的訪(fǎng)問(wèn)效果。本文介紹如何在不修改域名解析的情況下,將域名指向源站。

詳細信息

可以通過(guò)修改hosts文件的方式,在不修改域名解析的情況下,將域名指向源站。具體方法如下。

編輯hosts文件。
注:在瀏覽器訪(fǎng)問(wèn)域名時(shí),會(huì )優(yōu)先從hosts文件去獲取域名對應的IP地址。如果hosts文件內沒(méi)有對應的條目,才會(huì )通過(guò)本地DNS服務(wù)器去獲取域名解析指向的IP地址。
在Windows系統中,該文件保存路徑如下所示。
C:\Windows\System32\drivers\etc\hosts
在Linux系統中,該文件保存路徑如下所示。
/etc/hosts
在hosts文件末尾,添加條目。本文以如下條目為例,1.1.1.1為源站IP地址,www.test.com為待檢查的域名。
1.1.1.1 www.test.com
使用如下命令測試該域名,確認返回的IP地址為1.1.1.1。
ping www.test.com
清理瀏覽器的緩存,并重新開(kāi)啟瀏覽器訪(fǎng)問(wèn)該網(wǎng)站。此時(shí)會(huì )從1.1.1.1這個(gè)IP地址獲取數據,而不使用CDN加速功能。
注:如果瀏覽器提示出錯,說(shuō)明源站出現問(wèn)題。

国产精品香港三级|日韩精品无码免费专区网站|熟女一区二区三区|一本伊大人香蕉久久网|jzzijzzij亚洲乱熟无码
<button id="qvlbh"><button id="qvlbh"></button></button>
<xmp id="qvlbh"><xmp id="qvlbh"><xmp id="qvlbh"><address id="qvlbh"><output id="qvlbh"></output></address>
<xmp id="qvlbh"><legend id="qvlbh"></legend>
<xmp id="qvlbh"> <address id="qvlbh"><output id="qvlbh"></output></address>
<address id="qvlbh"><button id="qvlbh"></button></address>
<button id="qvlbh"><samp id="qvlbh"></samp></button>
<address id="qvlbh"><button id="qvlbh"></button></address><address id="qvlbh"></address>
<address id="qvlbh"><legend id="qvlbh"></legend></address>
<samp id="qvlbh"><xmp id="qvlbh"><legend id="qvlbh"></legend>