website unexpectedly closed the connection after adding custom domain name from godaddy

ahmad ibrahim 25 Reputation points
2023-05-28T07:09:54.2+00:00

Hi Team,

i purchased a domain name from godaddy then i went to azure to get the records and they are of type A and TXT i added them to the godaddy dns records

godaddy give me a success message says your dns record has been added successfully then i went back to azure portal to validate and add the custom domain and everything works perfectly fine the website is up and running

with the new domain i purchased from godaddy and the ssl working fine but i was surprised when i noticed that the website goes down some times and some times is working perfectly fine i wonder why is this happening?

this is the error page

Error

i want to add one more thing the older link that comes from azure e.g.(MyWebsite.azurewebsites.net) work perfectly fine the problem happens only with new custom domain i purchased from godaddy

CustomDomains

Azure DNS
Azure DNS
An Azure service that enables hosting Domain Name System (DNS) domains in Azure.
772 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
8,906 questions
Azure Static Web Apps
Azure Static Web Apps
An Azure service that provides streamlined full-stack web app development.
1,168 questions
{count} votes

Accepted answer
  1. SnehaAgrawal-MSFT 22,706 Reputation points Moderator
    2023-06-08T08:18:15.97+00:00

    Update: As there was two A records in DNS in godaddy, removing the old one fixed the issue. The website is working perfect now.

    @ahmad ibrahim

    Glad to know the issue resolved and appreciate for sharing the resolution which helped you. Please let us know if you have any further query.

    Reposting your suggested solution as an answer which worked for you.

    Please accept as "Yes" if the answer provided is useful, so that you can help others in the community looking for remediation for similar issues.

    Note- there is Microsoft Q&A limitation: "you cannot accept your own answer."

    1 person found this answer helpful.
    0 comments No comments

0 additional answers

Sort by: Most 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.