Can anyone tell me how to configure apache to not display a website folder name at the end of a base URL, please? - but only for one out of many websites.
Let me describe the scenario ...
I have a test server with a number of websites in separate folders inside
Because it a test server, I am accessing it via it's IP address (220.127.116.11).
So I would access a website via
The trouble began when I needed one of the sites, which is called
applications, to have a sub-domain name of
applications.ourorganisation.org instead of using the IP Address format as above.
The sub-domain was created by our IT guy on our currently existing Windows server. He then pointed the sub-domain at my Linux test server's IP address of 18.104.22.168 (apparently he could not add the subdirectory information leading to the applications website).
To counter this problem, I created an
index.php file in
22.214.171.124/var/www and used PHP code to redirect to the applications website folder.
All that worked but I now when I visit
applications.ourorganisation.org, I am redirected to
It not a disaster but I would like to NOT have the
applications directory name at the end.