Currently, the Azure Static Web App does not work with root domains. But there is way around this.

  1. You need to create a www subdomain to make and set it in Azure Static Web App.
  2. You need to set up a redirect with your domain name provider to

GoDaddy domain forwarding

so if someone enters just they will be redirected to where your site is hosted.