DNS Resolution Issue: Root Domain vs. www Subdomain on Azure App Service

Karap Sainath 30 Reputation points
2025-08-28T15:50:48.93+00:00

Question: We have hosted our website skywalkglobal.net on Azure App Service and are managing DNS through GoDaddy.

In Azure, we have configured both A records (pointing to 20.106.239.135) and CNAME records for the custom domain and its www subdomain.

On validating, Azure shows the custom domain is mapped successfully.

However, when we ping skywalkglobal.net, it resolves to a different IP address than when we ping www.skywalkglobal.net.

Could you please help clarify:

  1. Why do skywalkglobal.net and www.skywalkglobal.net resolve to different IP addresses?

Should we rely on the resolved IP address or continue using the static IP 20.106.239.135 for DNS mapping in GoDaddy?

Is there any best practice recommended by Microsoft for pointing root domains (@) and subdomains (www) to an Azure App Service?

This will help us ensure our DNS setup is correct and aligned with Azure best practices.Question:

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

1 answer

Sort by: Most helpful
  1. TP 134.2K Reputation points Volunteer Moderator
    2025-08-28T16:13:30.41+00:00

    Hi Karap,

    I did nslookup and the CNAME record for www is pointing to a Static Web App, which is different Azure service than Azure App Service. Please update your CNAME record for www to point to your Azure App Service (e.g. yourwebappname.azurewebsites.net) instead.

    To find correct target FQDN for the www CNAME please navigate to your web app in the portal and look for Default domain on Overview blade.

    The current TTL for the www CNAME is set to 1 hour, so the change may take an hour or so to take effect.

    Please click Accept Answer and upvote if the above was helpful.

    Thanks.

    -TP

    0 comments No comments

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.