As HN: how to serve subdomain content in a subfolder?
At work we have the following situation:
- we have several web applications hosted on various servers and end result is that they end up like this application1.root.com/page1
- this is bad for our SEO value/domain authority as Google will register the content of application1 to belong to a different domain domain than root.com
- Ideally we would like to put it into a subfolder like this root.com/application1/page1
Cloudflare has a "Using Resolve Override in Page Rules" feature (https://support.cloudflare.com/hc/en-us/articles/206190798-Using-Resolve-Override-in-Page-Rules) that allows for it but its only available through the pricy enterprise solution.
Do you know of any other service that allows for this?
If you use Apache you have mod_proxy (https://httpd.apache.org/docs/current/mod/mod_proxy.html), just be carefull with the configuration and not end being an open proxy.