Custom Domain Using Azure CLI
Prerequisites
- Active Azure subscription
- Azure CLI installed on your computer
- A purchased domain name that is ready to use
Step 1: Create a Resource Group
If you don’t already have a resource group created where the DNS zone and/or Static Web App will be stored, then the following will create that for you:
az group create --name newResourceGroup --location eastus