如何在Azure网站上更改指向自定义域的更改链接

如何在Azure网站上更改指向自定义域的更改链接

问题描述:

I bought a custom domain from godaddy and made a wordpress blog with Azure Websites. Everything worked fine, my custom domain name is working but I have a small problem.

Let's say that my custom domain name is "azuresite". Well, I have the domain "azuresite.com", but when I go to the website and I click on a link (let's say the about page), it goes to azuresite.azurewebsites.com/about instead of going to azuresite.com/about

Do you have any idea what should I do to make the links point to my custom domain instead of the azurewebsites domain?

Here are two screenshots that may help you to better understand the problem: GoDaddy Zone file: http://prntscr.com/2ida3c Screenshot of my website: http://prntscr.com/2idaqg

我从godaddy购买了一个自定义域,并使用Azure网站制作了一个wordpress博客。 一切正常,我的自定义域名工作,但我有一个小问题。 p>

假设我的自定义域名是“azuresite”。 好吧,我有域名“azuresite.com”,但当我进入网站并点击一个链接(让我们说关于页面)时,它会转到azuresite.azurewebsites.com/about而不是去azuresite.com / about p>

您是否知道如何使链接指向我的自定义域而不是azurewebsites域? p>

以下是 两个屏幕截图可以帮助您更好地理解问题: GoDaddy区域文件: http://prntscr.com/2ida3c 我的网站截图: http://prntscr.com/2idaqg p> div >

It turns out that I just had to go to wordpress settings and change my site address from mydomain.azurewebsites.net to mydomain.com. Here's a screenshot: http://prntscr.com/2kjwzp