How to Host Multiple Webflow Sites on the same Domain Name (Using Subfolders)

How to Host Multiple Webflow Sites on the same Domain Name (Using Subfolders)

Jan 30, 2023

Webflow provides a powerful platform for building beautiful and dynamic websites, but if you want to host multiple sites on the same domain name, you may encounter some difficulties. This tutorial will show you how to host two Webflow sites on the same domain name using subfolders, and we’ll be using a tool called Subfold, which is a no-code reverse proxy.

Step 1: Sign up for Subfold

Head over to Subfold.io and click “Sign up” to create an account. Once you’ve signed up, you’ll be taken to the dashboard.

Step 2: Set up Main Site

To set up your sites, you’ll need to add rewrites. You’ll need to add one rewrite for each of your Webflow sites. To add a rewrite, click “Add a rewrite”.

For the first rewrite, you’ll want to set up the main site. This is where your home page is, and it’s where most of your content will reside. To set up the main site, copy the URL from your Webflow site and paste it into Subfold. Then, click the “Preview” button to make sure everything is working properly.

Step 3: Set up Subfolder

Next, you’ll want to set up a subfolder for your second site. To do this, you’ll need to specify the path and the URL. The path is the subfolder where you want to host the site. To set up the subfolder, copy the URL from your second Webflow site and paste it into Subfold. Then, set the path to “/blog”. Click “Create” and then “Preview” to make sure everything is working as expected.

Step 4: Update Href Prefix in Webflow Site Settings

For your subfolder site, you’ll need to go into the Webflow site settings and update the Href prefix to match the path you set in Subfold. In this case, you’ll want to set the Href prefix to “/blog”. This will ensure that all your links still work properly on the subfolder.

Step 5: Publish and Set Up Domain Name

Once you’ve previewed everything and are happy with how it looks, click the “Publish” button in Subfold. You’ll then be prompted to set up your domain name, and your sites will be live. You can start gathering traffic on one domain name!

Conclusion

By following these steps, you’ll be able to host multiple Webflow sites on the same domain name using subfolders. Subfold is a simple, no-code solution for setting up a reverse proxy, and it makes the process of hosting multiple sites on the same domain a breeze. If you have any questions, feel free to leave them in the comments or reach out to the Subfold team for support.

Subfold is a powerful no code reverse proxy that makes it super simple to host your marketing site, blog and app on the same domain.

Try now for Free