自定义域名在Azure上现场工作,但总是重定向到azurewebsites.net? [英] Custom Domain Name on Azure site working, but always redirects to azurewebsites.net?

查看:318
本文介绍了自定义域名在Azure上现场工作,但总是重定向到azurewebsites.net?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我设立了一个共享模式Azure的网站自定义域,具有CNAME为www.lakestarlodge.com,和lakestarlodge.com A记录。这两个工作 - 我可以键入到我的浏览器,并获得该网站

I set up a custom domain on a SHARED mode Azure site, with a CNAME for www.lakestarlodge.com, and an A record for lakestarlodge.com. Both work - I can type either into my browser and get to the site.

不过,我刚才注意到,当网站完成加载,它已被重定向到l​​akestarlodge.azurewebsites.net。我不能肯定,但我可以发誓,它没有这样做,今夜之前。是否有一个设置的地方,我需要改变,或者是在一个Azure的网站?

However, I just noticed that when the site finished loading that it had been redirected to lakestarlodge.azurewebsites.net. I can't be sure, but I could have sworn it wasn't doing that before tonight. Is there a setting somewhere I need to change, or is this normal behavior for a custom domain on an Azure site?

推荐答案

我知道这不可能是默认的行为!事实证明,我已经建立了与GoDaddy的DNS&安培; 域名转发,而域名转发(这是没有留在故意)保持覆盖的记录。所以DNS被有效地被跳过。心动不如行动解决!

I knew that couldn't be the default behavior! Turns out, I had set up GoDaddy with DNS & "Domain Forwarding," and the Domain Forwarding (which was not left on intentionally) kept overriding the A record. So DNS was effectively being skipped. Got it all resolved!

这篇关于自定义域名在Azure上现场工作,但总是重定向到azurewebsites.net?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆