Host Webflow to root domain and Heroku everywhere else

Is there a way to host my Webflow project on my custom root domain only and then forward all other routes to my webapp hosted on Heroku? so, I would like to have the Webflow project work on example. com and the Heroku app work on example. com/*
Guidance would be greatly appreciated.

I don’t believe you can do this natively within Cloudflare, at least not on the free tier, but you could point to your Heroku app for everything, then create a worker to handle just the / request and pull it from another server/host/whatever.

1 Like