Book Image

Learning Microsoft Azure

By : Geoff Webber Cross, Geoff Webber-Cross
Book Image

Learning Microsoft Azure

By: Geoff Webber Cross, Geoff Webber-Cross

Overview of this book

Table of Contents (19 chapters)
Learning Microsoft Azure
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Adding a custom domain name to a website


It's highly likely that you will want a custom domain name of your own to use for customer websites rather than using the default mywebsite.azurewebsites.net subdomain. If you want to do this, buy a custom domain and make sure you give yourself plenty of time before you need it live (a few days) for the domain host DNS records to update.

We're going to add a custom domain to our sales customer website with the following procedure:

  1. First, we'll swop the staging website to the production website by clicking on the SWOP button on the bottom toolbar.

  2. In the CONFIGURE tab of the production website, click on manage domains:

  3. We need to use the information from the Manage custom domains dialog to configure our domain host:

    We need the IP address to configure the DNS A records and the subdomain name for the CNAME records.

  4. In your domain host control panel (this is not in the Azure portal), edit the DNS A records to point to this IP address, and add two CNAME records...