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 (22.214.171.124).
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 126.96.36.199 (apparently he could not add the subdirectory information leading to the applications website).
To counter this problem, I created an
index.php file in
188.8.131.52/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.