Custom Domain Redirect Issue with Reverse Proxy Setup

I’m experiencing an issue with my custom domain setup that I need assistance resolving. Here are the details:

  1. My Webflow site is set up with the custom domain: xyz.com
  2. I’m using AWS CloudFront as a reverse proxy to serve this Webflow site on another domain: abc.com
  3. Current behavior: When accessing abc.com, it redirects to xyz.com, changing the URL in the browser.
  4. Desired behavior: I want abc.com to display the content from xyz.com without changing the URL in the browser.
  5. CloudFront is correctly configured as a reverse proxy, and this setup works fine and as intented with Webflow staging URLs (*.webflow.io) without a 301 redirect.

My questions:

  1. Is there a way to disable automatic redirects for my custom domain (xyz.com)?
  2. Are there any Webflow-specific settings that need to be adjusted to allow serving the site through a reverse proxy without URL changes?
  3. Can you provide guidance on how to properly set up a Webflow site to work with a reverse proxy on a different domain?

I appreciate any assistance you can provide in resolving this issue. Please let me know if you need any additional information about my setup.

Mod Edit: example url’s escaped

Track down the redirect.

It’s either coming from your RP, your AWS configuration, or you might have both domains on your WF site with one as the primary, which would also cause a redirect.

The redirect is coming from Webflow servers. We don’t have both domains on WF site. We only have one domain on WF with www subdomain and normal: xyz.com and www.xyz.com.

MOD EDIT: Example URL’s escaped

Webflow cannot redirect domains it does not know. Where would it redirect them to?

At this point your information is much too vague for anyone to help you. You’d need to give specific domains here so that they can see the redirect routing.