clarkwinkelmann Thanks for replying! The reasons for the public folder make sense, I hope to preserve the it as the document root should the host allow me to make the changes.
The host is Hostinger, and they have documentation on setting the DirectoryIndex in .htaccess but on reading through it and looking at Flarum's .htaccess I wasn't convinced it was the right step to take.
Thanks to your reply, I've done some further reading around webroot & document root and Hostinger's page on the webroot which states:
How to Change the Home Directory
The home directory cannot be changed on our Web, WordPress and Cloud hosting packages due to control panel restrictions. Alternatively, you can host your files on a subdirectory and create a redirect on your .htaccess file as follows:
RewriteEngine on
RewriteCond %{HTTP_HOST} ^domain.tld$ [NC,OR]
RewriteCond %{HTTP_HOST} ^www.domain.tld$
RewriteCond %{REQUEST_URI} !subdirectory/
RewriteRule (.*) /subdirectory/$1 [L]
Replace domain.tld with your domain name and subdirectory with the name of the folder where your website’s files are located.
I read this as, the control panel they offer can't do it but you can do it with .htaccess when using a subdirectory, which I am. I suspect because the host's hpanel created the subdomain it might not work out.
I'll give it a go and see what happens - I'm trying to maintain my personal website domain.com while the subdomain.domain.com is for friends/family to connect on the annual summer holiday. If I break them, I just restore them no big deal.