Search code examples
azuregodaddy-api

Custom domain and how to access site as http://


In Azure, I have purchased a Custom Domain and the configuration has been done automatically - all good till now however the site is accessible only using: www.sitename.com

If I access it using http://sitename.com only, it is not working.

For info, I tried to remove the CNAME however didnt allow.

Suppose I dont want to use the wwww, how can I do ?

Thanks.


Solution

  • If you want to access your website with http://sitename.com, you have to create the A record and enable the A record mapping in the app. For how to map an A record, this doc is for your reference. 1.Copy the app's IP address enter image description here 2.Create the A record

    • An A record to map to the app's IP address.
    • A TXT record to map to the app's default hostname. enter image description here 3.Enable the A record mapping in the app enter image description here

    The custom domain you configured is not secured. You'd better click on "Add binding" to bind an existing custom SSL certificate to your app. For more details, you can refer to the doc.