apache and virtual hosts and windows hosts file
I am trying to setup a web server that will be used strictly for internal application.
our current web server being used for this is to old and I have to replace it. However, it was installed before I got here.
On the current web server anyone accessing it must type the following into their browser
etc... to access the various web applications on the system.
This has provided several problems for me as we use more web applications here.
1. the root web directory is very cluttered with all the different applications.
2. not everyone in the office understands the concept of an IP address.
What I would like to do is allow for the following to be typed into the browser
Currently I am using CentOS 5 and I have Apache version 2.2.3 installed. I am using webmin to configure apache
I set up virtual hosts within apache to allow for the different names.
I then accessed my hosts file on my client machine and made the following entries.
I applied the changes to the host file and restarted apache.
I then put an index.php file into the directories for the virtual hosts with a small echo command to tell me where I was.
when I goto one of the addresses, I get to my server but it is the main apache test page.
can anyone help me .. or at least explain why this doesn't work.