Deployed Web App only works without "www." subdomain

Pololinger 21 Reputation points
2020-11-21T00:23:19.223+00:00

Hello there, I have a web app deployed on Azure that works if I just type in my domain as (example) "pololinger-s.com". But "www.pololinger-s.com" gives me the Microsoft 404 website not found screen. I configured the domain's DNS on GoDaddy.com according to:

Tutorial: Map an existing custom DNS name to Azure App Service
Creating a Web Site in Azure With a Custom Domain Name

At GoDaddy I set my DNS as follows:

41527-dns-error.png

I also added a asuid.www TXT entry with my verification ID.

I'm a little bit confused as I also looked at Azure App Service: How to configure a custom domain from 2013. And it seems as if every tutorial has a different combination of DNS records that are supposed to be working.

What am I missing?

Azure DNS
Azure DNS
An Azure service that enables hosting Domain Name System (DNS) domains in Azure.
600 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
6,958 questions
0 comments No comments
{count} votes

Accepted answer
  1. brtrach-MSFT 15,261 Reputation points Microsoft Employee
    2020-11-21T14:42:32.697+00:00

    @Pololinger You'll need to setup both domains (pololinger-s.com and www.pololinger-s.com) explicitly setup in Azure as custom domains. It sounds like you've only explicitly setup pololinger-s.com in the Azure portal.

    Also, on an unrelated note, I see you are using both an A record and CNAME records. Please note that unless you need an A record, we typically advise against using A records as it reduces the concern that your IP address might change down the road.

    Please let us know the results of setting up www.pololinger-s.com as it's own domain in your custom domains blade in the Azure portal.

    1 person found this answer helpful.

0 additional answers

Sort by: Most helpful