Azure Static Web App https redirection

Jonathan Hertz 1 Reputation point

I have a website hosted via Azure Static Web App. I have correctly set it up with my domain provider, so that I have my custom domain, e.g.

Via the provider (GoDaddy), I have set up the CNAME, and also a redirect so that both AND works.
This is fine, but the problem occurs if the whole URL is used, as in This will fail, while still works (notice the www).

I contacted GoDaddy support, as I thought the issue was with the redirect. But their support told me this was more of an issue with the SSL on the server, which is something I'm not too knowledgable about. Any ideas on how to fix this, so will work correctly?

Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
6,823 questions
Azure Static Web Apps
Azure Static Web Apps
An Azure service that provides streamlined full-stack web app development.
758 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Alan Kinane 16,786 Reputation points MVP

    I think this might be an issue with how GoDaddy handle redirections,

    There's a few other options here perhaps.

    1. Use Azure DNS to host your DNS zone, i.e. change the nameservers to Azure
    2. Handle the redirection another way. I had to do this recently for a customer and here's how I managed it -
    1 person found this answer helpful.
    0 comments No comments

  2. Alan Kinane 16,786 Reputation points MVP