redirection – How do I force /web in the URL?

I have installed Drupal 8 as multi-site using Composer (as described by kalose). Basically, the folders created as subdomain-folders have been replaced with a symbolic link to the respective sub-domain folders in /sites.
I have 2 websites on 2 sub-domains, and

In the public_html directory, I placed an index.php file with the following code.

header ("Location:");

It works fine.

Where can I put a similar index.php file to redirect users who use the old link ( to
Is there any other alternative to achieve the same?