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