Lion Server: Default website unreachable after adding second website
After adding a second website, the default website can no longer be loaded. Web-based services such as wikis and profile manager maybe unreachable as well.
When using name based virtual web hosting, set each domain IP address to "any" in the Server.app web section.
There are several important considerations when using virtual web hosting:
- The web service will respond to requests based upon the server's ip address the request was received on before the domain name or URL requested is considered.
- Web based services are only accessible through the default, wildcard site. Services such as Profile Manager will still be running, but unreachable if a second website is assigned to the server's only ip address in the Server.app's web section.
- Additional information regarding virtual web hosting can be viewed at http://httpd.apache.org/docs/2.2/vhosts/.
Information about products not manufactured by Apple, or independent websites not controlled or tested by Apple, is provided without recommendation or endorsement. Apple assumes no responsibility with regard to the selection, performance, or use of third-party websites or products. Apple makes no representations regarding third-party website accuracy or reliability. Risks are inherent in the use of the Internet. Contact the vendor for additional information.