After Adding Custom domain to my App Service its giving 404 Page not found error.

Jignesh Vagh 1 Reputation point
2024-07-06T18:03:42.11+00:00

After Adding Custom domain to my App Service its giving 404 Page not found error. Please help me on this. Web App : aligned-iq-production-webapp-ui, Custom Domain: alignediq.net, In Web app servie I have setup angular project in it.

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

1 answer

Sort by: Most helpful
  1. TP 83,221 Reputation points
    2024-07-06T19:41:52.64+00:00

    Hi Jignesh,

    You need to update your DNS records so that they only point to your Azure App Service IP address. For example, login to your DNS provider's site and create an A record for @ that points to 20.119.136.19 and delete any A records for @ that are pointing to other IP addresses. Right now it appears you have an additional A record pointing to a different IP address so if you delete the wrong A record it will likely fix it.

    Additionally, do the same for www, e.g. A record for www that points to 20.119.136.19 and remove other incorrect A records for www.

    Please note it will take some time for the DNS changes to take effect, depending on what your TTL was set to.

    I tested and was able to successfully see your login page, see screenshot:

    qna alignediq

    Please Accept Answer and upvote if the above was helpful. If something is unclear add a comment below and I'll explain futher.

    Thanks.

    -TP