So, I upgraded my business server to Lion yesterday - BIG mistake. However I really want the WDE that comes with FileVault 2, so I'm trying to cope with all the fuzz. One thing that I can't figure out, however, is why the web service can't start when I add a domain name twice, but with different ports.
Here's what I do: 1. example.com is added with an SSL certficiate (port 443). All is good, site can be accessed. 2. example.com is added without SSL (port 80). Web service dies, can't start, and all my sites die instantly.
OK, so I figured out the problem at least; whenever an SSL domain is added, Server.app also saves a redirect for the port 80 equivalent of the SSL domain, named 0000_any_80_example.com_shadow.conf. It must be the _shadow.conf that's crashing with the regular port 80 domain .conf.
When I realized this, I stopped the Web service, removed the shadow file, wrote a new "regular" .conf file which I then renamed to _shadow.conf, and turned on Web service... Only to see it be overwritten by the service. :(
Oh, well - problem solved with an easy workaround. I just saved the port 80 domain differently, so I did this:
Port 443: example.com, additional domains: *.example.com Port 80: www.example.com, additional domains: *.example.com, example.com
Worked great, luckily. :)
I still would like a "real" solution, though. Any ideas?