Cannot access www with App Service Free SSL certificate

Joe O 0 Reputation points
2023-01-23T00:53:42.86+00:00

I can only access my website with example.com. If I use www.example.com, the browser delivers an error message saying "cannot connect to server" or "server not found". Here are the details ...

I recently created a Wordpress website utilizing Azure App Services as documented here:

[https://learn.microsoft.com/en-us/azure/app-service/quickstart-wordpress

I mapped to my custom domain, example.com using A and text records. The TLS/SSL certificate was secured / binded using the Azure App Service free certificate for example.com.

When I try to access the website, it works for example.azurewebsites.com, www.example.azurewebsites.com, and example.com. It does not work for www.example.com.

How do I enable access with www.example.com? Did I miss a step in the configuration? I do not have a technical background, so detailed steps to fix the problem would be appreciated.

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

1 answer

Sort by: Most helpful
  1. VenkateshDodda-MSFT 23,781 Reputation points Microsoft Employee
    2023-01-24T03:47:05.18+00:00

    @Joe O Thank you for reaching out to Microsoft Q&A, apologize for any inconvenience caused on this.

    I would suggest you try creating a CNAME record with www as Name and Ip address value with "example.com" or your webapp root url "example.azurewebsites.net" and check.

    2 people found this answer helpful.

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.