Streaming live at 10am (PST)

Reverse proxies & "built with webflow" branding


#1

I have a site with a paid hosting plan. the _____.webflow.io page works as expected, no webflow branding.

But for various reasons I need to reverse proxy this through our main app, so it shows up on our main domain (companyname.com/XXX).

When I load the page through the reverse proxy, the webflow branding shows up. Is this expected?

I suspect it is related to this bit of code you run:

if (/\.webflow\.io$/i.test(publishedDomain) && location.hostname !== publishedDomain) {
doBranding = true;
}


Webflow project mapped to an external domain's path with reverse proxy
#2

Hi @ecwilson, thanks for getting in touch. Yes, this is expected behavior.

Currently, if a custom domain is used with a Webflow site, a hosting subscription is needed on the site with the custom domain setup to point the domain at Webflow servers: http://help.webflow.com/faq/how-to-set-up-a-custom-domain-with-your-webflow-site. From your description, it sounds like you have that part setup.

External proxy or redirects are currently not supported.

One possible option to try, is to setup a CNAME record on the site to be something like hosting.mysite.com. Then in your reverse proxy, redirect all traffic on the apex (naked) domain and the www subdomain to route to hosting.mysite.com.

For more info and help with domains, feel free to contact to support@webflow.com


#3

Thank you. So to confirm, it should work if I do the following:

  1. Set up hosting on webflow with proper cname for XXX.mydomain.com
  2. Configure my reverse proxy, which serves from mydomain.com/a/, to serve content from XXX.mydomain.com
  3. The webflow badge should no longer show

Is that right?


#4

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.