Languages

Lion Server: Default website unreachable after adding second website

Symptoms

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.

Resolution

When using name based virtual web hosting, set each domain IP address to "any" in the Server.app web section.

Additional Information

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/.
Important: Mention of third-party websites and products is for informational purposes only and constitutes neither an endorsement nor a recommendation. Apple assumes no responsibility with regard to the selection, performance or use of information or products found at third-party websites. Apple provides this only as a convenience to our users. Apple has not tested the information found on these sites and makes no representations regarding its accuracy or reliability. There are risks inherent in the use of any information or products found on the Internet, and Apple assumes no responsibility in this regard. Please understand that a third-party site is independent from Apple and that Apple has no control over the content on that website. Please contact the vendor for additional information.
Last Modified: Jul 17, 2012
Helpful?
Yes
No
Not helpful Somewhat helpful Helpful Very helpful Solved my problem
Print this page
  • Last Modified: Jul 17, 2012
  • Article: TS4308
  • Views:

    12116
  • Rating:
    • 59.0

    (339 Responses)

Additional Product Support Information

Start a Discussion
in Apple Support Communities
See all questions on this article See all questions I have asked