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 /var/www/var/www.
Because it a test server, I am accessing it via it's IP address (64.244.144.78).
So I would access a website via 64.244.144.78/a_website_folder64.244.144.78/a_website_folder
The trouble began when I needed one of the sites, which is called applicationsapplications, to have a sub-domain name of applications.ourorganisation.orgapplications.ourorganisation.org instead of using the IP Address format as above.
The sub-domain was created by our IT guy on our currently existing windowsWindows server. He then pointed the sub-domain at my Linux test server's IP address of 64.244.144.7864.244.144.78 (apparently he could not add the subdirectory information leading to the applications website).
To counter this problem, I created an index.phpindex.php file in 64.244.144.78/var/www64.244.144.78/var/www and used PHPPHP code to redirect to the applications website folder.
All that worked but I now when I visit applications.ourorganisation.orgapplications.ourorganisation.org, I am redirected to applications.ourcompany.org/applicationsapplications.ourcompany.org/applications.
It not a disaster but I would like to NOT have the applications folder name at the end.
Any help, please It not a disaster but I would like to NOT have the ???applications directory name at the end.