We have two sites a Dutch site and a French site and we want to host it under one url.
Setup your folders in de sites folders. Create a directory for the french site and create a directory for the dutch site. Both will have their own settings file.
In the root of your drupal installation create two symlinks. The two symlinks will point back to the root of your site.
ln -s /var/www/yoursite/ nl ln -s /var/www/yoursite/ fr
ln -s /var/www/yoursite/sites/yoursite-dutch yoursite.ext.nl ln -s /var/www/yoursite/sites/yoursite-french yoursite.ext.fr
Finaly you ll want people to land on a default site or perhaps you ll want to create a page where people make their choice. This is where the default settings file (sites/default/settings.php) will be used.
On the first line put this:
<?php header('Location: "<a href="http://yoursite.ext/nl/"'">http://yoursite.ext/nl/"'</a>); ?>
<a href="http://yoursite.ext
">http://yoursite.ext[/geshifilter-codes] they ll be redirected to <a href="http://yoursite.ext/nl/
">http://yoursite.ext/nl/[/geshifilter-codes] which is the dutch version of your site.
Links
[1] https://dominiquedecooman.com/blog-topics/hosting
[2] https://dominiquedecooman.com/blog-topics/linux-0