Using a reverse proxy to point to a WeWeb app from a different domain

Hi all, I’m trying to point to a WeWeb app from a different domain (in the future from multiple different domains) than the one it’s hosted on. Looking to create one single app to process the booking forms for multiple venue booking websites.

The idea is that when the user is on a listing page, lets say listing X, the url would be “/listing/x”. When they would proceed to the booking form we would append “booking” to the url, resulting in “/listing/x/booking”. The first url should point to the listing page, hosted on Webflow, and the second url should point to the booking form hosted on WeWeb.

I’ve achieved this before using a reverse proxy thru Cloudflare linking two different Webflow projects together, but when I tried to re-use the script, it didn’t seem to work with WeWeb. All I got was an empty page called “weweb-front” and some error messages in the console.

Does anyone know if this is even possible with WeWeb? I’ve read some things about hosting the WeWeb app myself, but I have no experience in this, so I’m really hoping there is a way using WeWeb’s own hosting.

Hi @thijshofs

WeWeb apps are designed to be complete standalone applications that run on their own subdomains, not parts that can be embedded into other websites. Both WebFlow and WeWeb would need its domains. If using the WeWeb app inside an iframe is not enough, I’d recommend self-hosting since then you can set up any domain structure you want. Self-hosting on Cloudflare is super simple; here is an article I wrote on how to do it: How to self-host on Cloudflare | WeWeb Documentation

Hi @danlopes

Thanks for the reply and the article.
Self hosting looks significantly easier than I thought, I’ll be sure to give it a try!