Apache setup for host header resolution
Posted on 2007-03-23
I'm attempting to setup Apache 2.0.59 for use with Subversion. I'm installing on a Win2003 server that previously had IIS 6 running. In it's IIS configuration, I had 4 websites running using host header resolution.
This is probably very easy for someone who knows what they are doing in Apache, but I cannot get the host header resolution working. From what I have read I should be doing this with the virtualhost directive.
Here's an example of my setup:
I've pulished DNS A records for svn.mydomain.com and test.mydomain.com to the same public ip.
These are the http.conf settings that I believe to be relavant:
When I hit the server as http://InternalName.mydomain.com, I get the Apcahe successfull install default page. When I navigate to http://test.mydomain.com or http://svn.mydomain.com I get error: HTTP 404 The webpage cannot be found.
Thanks in advance,