Azure Front Door - Conditions explanation for custom domain

Oscar 172 Reputation points
2022-06-06T09:15:18.217+00:00

Hello,

Received the following scenario:

  1. Deployed Azure Front Door (new one, not classic version)
  2. Web site hosted at 3rd party, a website like "www.somedomain.com"
  3. DNS managed in CloudFare
  4. At Cloudflare the CNAME for www was set to the 3rd party as an example "web.3rdpartyhosting.com"
  5. Added domain to the AFD and verified, this was replaced the CNAME for www to "web.3rdpartyhosting.com" with "somevalue.azurefd.net"

![208704-image.png]1

Now how to get back web site working? :)
Access to www.somedomain.com not working, as it was required to have CNAME for www to "web.3rdpartyhosting.com"

Azure Front Door
Azure Front Door
An Azure service that provides a cloud content delivery network with threat protection.
724 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Takahito Iwasa 4,851 Reputation points MVP
    2022-06-06T21:04:46.047+00:00

    Hi, @Anonymous

    I understand that you want to make the following changes:

    • Before change: custom.domain-> 3rdpartyhosting
    • After change: custom.domain-> Azure Front Door-> 3rdpartyhosting

    You were able to configure custom.domain-> Azure Front Door.
    You need to configure Azure Front Door-> 3rdparth hosting.

    You need to specify 3rdparthhosting as the Origin of the Azure Front Door.
    You can configure Origin for Azure Front Door by referring to the following.

    https://learn.microsoft.com/en-us/azure/frontdoor/origin?pivots=front-door-standard-premium

    Then, the request is sent to the Azure Front Door whose name is resolved in the Custom Domain, and the request is forwarded from the Azure Front Door to the 3rd Party Hosting.
    The origin type is a service outside of Azure in your case, so it's a good idea to choose a custom host.

    0 comments No comments

  2. Oscar 172 Reputation points
    2022-06-07T07:42:32.233+00:00

    Thanks, I will try and report back, should I replace the existing or add a new origin?

    208984-image.png

    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.