jordanjay29 I'm using OVH and if you can put Flarum outside the the www folder. My copy of flarum use that setup. I believe it is the most clean way to use subdomains on OVH.
OVH has done something great : you can put a .ovhconfig file, which define which version of PHP can run for a given folder BUT it works only forl folders at the same level as the www one.
Sample :
app.engine=phpcgi
app.engine.version=7.0
http.firewall=none
environment=production
In fact the main domain will point on the www but subdomains can lead to folders outside which is cool i think ?