Host webflow site in a subfolder

I currently host a webflow project under a subdomain but would like to place it in a subfolder inside of a bigger project, so: wf.mysite.commysite.com/wf.

Can this be done?

Thanks

This might be helpful:

Hi Tomas,

Yes, it’s completely possible to host your webflow project under a subfolder rather than a subdomain!

Webflow doesn’t provide this functionality out of the box unless you’re an enterprise customer so you may have to find a different solution if you’re not an enterprise customer.

The term for the piece of software that can enable this kind of hosting is called a “reverse proxy server”. If you’re technical, one option is to setup a Cloudflare worker script that sits in front of your website and directs traffic based on your setup. A quick google can help you set this or any other reverse proxy server.

This can be a good solution but unless you know how to code, it can be hard to setup and maintain reliably. The other option you have is using a no code reverse proxy solution like Subfold.

Hope this helps!

1 Like

Thanks chickencoder. I would have to set up a custom hosting to do this at my end, which costs a lot of $$$. Am currently looking at other options …

Hi Jesse and others. I am also thinking about hosting a Webflow site on a subdirectory. Thank you this is very useful.

Is there a difference in terms of cost, reliability or other tech issues of using a service like Subfold vs finding someone who will set it up manually or code it?

Also am I right in believing someone none technical should be able to do the Subfold setup for hosting a Webflow site on a subdirectory?

I haven’t used subfold, looking at the docs, it’s Webflow-specific and designed to expose files and folders underneath your reverse-proxied Webflow domain. There’s no indication that it can RP e.g. a Wordpress site, and position your Webflow site under it ( with corrected paths, base, etc. ), but the tech is essentially the same.

You can check with them, pricing is monthly-

Building your own solution, if you’re technical, can be done on Cloudflare at no cost. But it will take some work to get it setup right, avoid damaging your accessibility and SEO, etc.

Hiring someone like me to do it will generally range from $300 - $3,000 depending on the complexity. For example, your canonicals, OG metas, sitemap, navigation… all of these should be considered in a merged site setup.

1 Like

Hi Michael, Thanks for the quick reply. I am one-man-band, so I try and do as much as possible myself to keep costs down as my project isn’t generating any revenue yet to cover my costs. However, I am happy to pay for expertise.

I assume the range you gave because some sites can be very big with lots of content. So, I am hoping, setting up a new site (basically a Webflow template) with no additional content beyond what is already included in the template would be around $300? If I have assumed right, then happy to receive your details so that I can take a decision.

So, I would want my Webflow site to site on subdirectory like example.com/blog

I haven’t completely decided if I want to do this yet. But I am seriously considering it. Like many things in life it comes down to cost. Thank you.

One more thing, I am already planning on doing this for my Ghost blog (to move to subdirectory) via Cloudflare. I do not know if its the same process. On the Ghost site my hosting company gave me the instructions to set up Cloudflare Workers and they would do the rest on their end.

Size isn’t as much of a factor as complexity is. Simply mapping the directory and rewriting the content paths is straightforward enough, it’s the other things- sitemap, page modifications like paths, canonicals, etc, that can increase the engineering work needed.

The process is likely very similar to what Ghost’s team is defining for you. I’m not sure how you’re intending to connect these 3 systems together, ideally you’ll want to keep it simple. If it gets complex, likely you’ll exceed what CF’s free plan offers which means you’d need to switch to pro at ~$25/mo.

I’d recommend you dig into what they provide and learn as much as you can, then you’ll know if you need some dev assistance. You can contact me by clicking my name here to send me a direct message.

1 Like