简体   繁体   中英

Custom domain for WordPress site hosted on Azure

Here's what I have:

  1. A top level domain registered with domain.com
  2. A WordPress 4.5 web app hosted on Microsoft Azure

Right now I can access my WordPress site with a URL 'example'.azurewebsites.net

But I want my website to still be hosted on Azure, but accessed with 'example'.com url. Is that possible?

I tried changing "Website URL" to 'example'.com in the WordPress settings. But that resulted in 'example'.com pointing to "This site is under development" page and 'example'.azurewebsites.net redirecting to 'example'.com .

custom domain name is supported only for Shared, Basic and Standard modes. Please check if you are in one of that. Then, just adding the domain name on the portal will not work - you should create DNS record that map the domain you have to your web app.

I did not use the domain.com, but it should be similar to how it looks like with other registrars like GoDaddy - https://azure.microsoft.com/en-us/documentation/articles/web-sites-godaddy-custom-domain-name/ is the tutorial.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM