Hosting two Webflow sites on the same domain with the second site in a subfolder

Click link above for the full version.

Hi @tylervallely just saw your note, and yes we were able to accomplish what you are looking to do hosting multiple sites using same top-level domain and redirecting to subfolders.

We pointed our main domain to an empty AWS EC2 with Apache web server. Then in Apache we set up redirecting for all sites based on the url and subfolder. You can redirect your TLD / www traffic also to a Webflow site. These can be multiple Webflow sites or can be a combination of Webflow, Bubble, Wordpress, etc. Pointing the top level domain to AWS EC2 will give you full control over routing traffic.

www.example.com -> AWS EC2 -> Webflow www1.example.com
www.example.com/blog -> AWS EC2 -> Webflow blog.example.com
www.example.com/marketplace -> AWS EC2 -> Bubble/Wordpress/etc marketplace.example.com

In the example above, by using AWS EC2 the public and search engines will only see the subfolders and not the subdomains. You will need to make sure to set up canonical tags 5 and site maps correctly.

I’m not expert in Apache, but it should be easy. Here is some Apache documentation. A devops engineer should be able to assist.

https://httpd.apache.org/docs/2.4/rewrite/remapping.html 14

If you do go this route, note that any subfolder sites hosted on Webflow you won’t be able to use the automatic sitemap generator since Webflow will use the wrong urls.