How to Configure Azure Front Door Path-Based Routing to a Website Hosted on GoDaddy

Ravi Praneeth 50 Reputation points
2025-05-16T03:43:42.48+00:00

Hi Team,

I have a website hosted on GoDaddy with the domain:

https://techworld.com

I would like to use Azure Front Door to route requests to this external website using path-based routing. My Azure Front Door endpoint is:

https://techops.afs.net

My goal is to access the GoDaddy-hosted website using the following path on the Front Door URL:

https://techops.afs.net/about

and have it serve content from https://techworld.com.

Here’s what I’ve done so far:

Added a custom origin in Azure Front Door using the FQDN: techworld.com.

Set up a path-based route with /about mapped to this origin.

My questions:

  1. Is this the correct approach to route path-based requests to an external site hosted on GoDaddy?
  2. Do I need to configure any additional settings in Azure Front Door (e.g., origin path override, rules engine, response caching)?
  3. Do I need to make any DNS or CORS changes on the GoDaddy side?
  4. Will this setup proxy the content correctly, or is there another recommended approach?

Any guidance on properly setting up this configuration would be appreciated.

Thank you!


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

Accepted answer
  1. G Sree Vidya 2,270 Reputation points Microsoft External Staff Moderator
    2025-05-16T08:14:01.7766667+00:00

    Hi Ravi Praneeth

    Thanks for your response!

    I understand that you want to navigate the backend web application using only the front door custom domain, which redirects to your backend URL when traffic reaches the web application hosted on GoDaddy.

    To achieve this, you can use original host name preservation by whitelisting the front door custom domain on the backend and using the host header as the same as the original custom domain to select the target host. This way, all navigations will occur via Azure Front Door as shown in the below diagram.

    User's image

    Example: Azure Front Door can be configured with the hostname "xyz.azurewebsites.net" and a host header as the Front Door custom domain to select the target host as shown below.

    User's image

    Backend web application configured with same custom domain.

    User's image

    Note: You need to stop all redirections on the backend web application with techworld.com or change it to techops.afd.net, so that any redirections will not go to techworld.com.

    For more understanding about original HTTP host name preservation, you can refer this documentation: Host name preservation - Azure Architecture Center | Microsoft Learn


    I hope this information is helpful! If my answer helped you resolve your issue, please consider marking it as the correct answer or Upvote. This helps others in the community find solutions more easily. Thanks!

    User's image


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.