apache virtual hosts
I am adding a second domain name to my machine and need assistance with virtual hosts.
I need the setup to be as follows.
From what I can tell I am unable to mix ports and names in virtual hosts. Is there a way to set the configuration to allow for both. I would like the first domain name to be accessed on port 80 and port 443 under seperate configurations. The directory aliases are different depending on the ports so I have two virtual hosts configured. I have this configured and it works great until I add the second domain name. The IP address should also resolve to domain1.
The second domain needs to be accessed on port 80 and 443 both ports will have the same configuration.
Both sites are on the same server with the same IP address and the DNS is hosted elsewhere.
I am hoping this is possible. Thanks for all the help.