![](/img/trans.png)
[英]Azure Front Door - how to custom domain with default backend host name?
[英]How to use the Azure Front Door hostname as domain name for the backend website hosted on Virtual Machine
我們有一個包含 Azure Front Door 的解決方案,然后是一個以虛擬機為后端的應用程序網關。 我們還想使用 Azure Front Door 'Frontend host' *.azurefd.net 作為在 VM 上運行的網站的域名/主機名。
如果我們現在轉到 Azure Front Door 服務的主機名,我們將被重定向到 VM 的 IP 地址。 網站顯示正確,只有網址是虛擬機的ip地址。 我們想查看 *.azurefd.net 地址,這可能嗎?
該網站是 Intranet,因此 azurefd.net 地址不是問題。
非常感謝您的回答!
這就是 Azure Frond Door 的工作原理。 它將流量轉發或重定向到可公開解析的 DNS。 如果您在 Front Door 中使用重定向配置,那么看到您的 VM IP 是正常的,因為在您的瀏覽器中使用 3xx HTTP 代碼將流量重定向到 VM IP。 此外,如果您檢查 Front Door 主機名 IP 地址,您應該會看到屬於 Azure IP 范圍中列出的子網的公共 IP 之一,具體取決於您所在的地區。 使用以下命令檢查您的區域分配了哪個子網。
az network list-service-tags --location
或查看 清單
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.