Redirect Problem from Godaddy

Marco Leoni 1 Reputation point
2022-01-17T12:08:49.947+00:00

Good morning,
we have the following issue:

we have an azure app service, where we added the custom domain with certificate, example aaa.test.com

Then we go in godaddy and set the forwarding for other two domains to aaa.test.com
Before these two domains were connected to another app service.

The following is happening:

http://test.com - Working
http://www.test.com - Working
https://test.com - not working - ERR_CONNECTION_CLOSED
https://www.test.com - not working - This site can’t be reached DNS_PROBE_FINISHED_NXDOMAIN

Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
8,963 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Andriy Bilous 11,821 Reputation points MVP Volunteer Moderator
    2022-01-17T12:55:55.623+00:00

    Hello @Marco Leoni

    To get HTTPS working for your domain and sub domain: test.com and www.test.com you need to import wildcard certificate into App Service.

    • In the Azure portal, from the left menu, select App Services > <app-name>.
    • From the left navigation of your app, select TLS/SSL settings > Private Key Certificates (.pfx) > Import App Service Certificate.
      165679-image.png
    • Select the certificate that you just purchased and select OK. When the operation completes, you see the certificate in the Private Key Certificates list.
      165692-image.png
    • Create SSL Binding. Select TLS/SSL settings and configure the TLS binding in the TLS/SSL Binding dialog, then click Add Binding.

    If you do not have SSL certificate yet, you can purchase wildcard certificate at GoDaddy.
    https://www.godaddy.com/web-security/ssl-certificate

    https://learn.microsoft.com/en-us/azure/app-service/configure-ssl-certificate#import-certificate-into-app-service


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.