I have WHM/cPanel 11.25 and I'm trying to use the include files to get this web config to work, but I'm about ready to give up and just manage httpd.conf manually.
I have 3 main domains, domain1.com, domain2.com and domain3.com. Each has a subdomain 'stage' - eg, stage.domain1.com.
All 3 main domains share a docroot, and all three subdomains share another docroot. Each main domain has its own IP address which is shared by the corresponding 'stage' subdomain. I want each domain on port 443, and each subdomain on 444. So the whole thing looks like this:
domain1.com = x.x.x.100:443
stage.domain1.com = x.x.x.100:444
domain2.com = x.x.x.200:443
stage.domain2.com = x.x.x.200:444
domain3.com = x.x.x.300:443
stage.domain3.com = x.x.x.300:444
I'm getting NameVirtualHosts warnings and port mixing warnings, and some weird resolutions - stage.domain3.com resolves to the main docroot, even though it looks the same as the other two subs, which resolve correctly.
I've been managing apache servers for years, and everything looks like it should work, but it doesn't. The include files make it all pretty cumbersome, but they look right.
Anybody got suggestions?
I have 3 main domains, domain1.com, domain2.com and domain3.com. Each has a subdomain 'stage' - eg, stage.domain1.com.
All 3 main domains share a docroot, and all three subdomains share another docroot. Each main domain has its own IP address which is shared by the corresponding 'stage' subdomain. I want each domain on port 443, and each subdomain on 444. So the whole thing looks like this:
domain1.com = x.x.x.100:443
stage.domain1.com = x.x.x.100:444
domain2.com = x.x.x.200:443
stage.domain2.com = x.x.x.200:444
domain3.com = x.x.x.300:443
stage.domain3.com = x.x.x.300:444
I'm getting NameVirtualHosts warnings and port mixing warnings, and some weird resolutions - stage.domain3.com resolves to the main docroot, even though it looks the same as the other two subs, which resolve correctly.
I've been managing apache servers for years, and everything looks like it should work, but it doesn't. The include files make it all pretty cumbersome, but they look right.
Anybody got suggestions?