blob: bb4a0f8931217c63ce7821bc89a9a35d742bf5f6 [file] [log] [blame]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<HTML>
<HEAD>
<TITLE>Apache Virtual Host documentation</TITLE>
</HEAD>
<!-- Background white, links blue (unvisited), navy (visited), red (active) -->
<BODY
BGCOLOR="#FFFFFF"
TEXT="#000000"
LINK="#0000FF"
VLINK="#000080"
ALINK="#FF0000"
>
<!--#include virtual="header.html" -->
<H1 ALIGN="CENTER">Apache Virtual Host documentation</H1>
<P>The term <CITE>Virtual Host</CITE> refers to the practice of maintaining
more than one server on one machine, as differentiated by their apparent
hostname. For example, it is often desirable for companies sharing a
web server to have their own domains, with web servers accessible as
<SAMP>www.company1.com</SAMP> and <SAMP>www.company2.com</SAMP>,
without requiring the user to know any extra path information.</P>
<P>Apache was one of the first servers to support IP-based
virtual hosts right out of the box. Versions 1.1 and later of
Apache support both, IP-based and name-based virtual hosts (vhosts).
The latter variant of virtual hosts is sometimes also called host-based or
non-IP virtual hosts.</P>
<P>Below is a list of documentation pages which explain all details
of virtual host support in Apache version 1.3 and later.</P>
<HR>
<H2>Virtual Host Support</H2>
<UL>
<LI><A HREF="name-based.html">Name-based Virtual Hosts</A>
<LI><A HREF="ip-based.html">IP-based Virtual Hosts</A>
<LI><A HREF="examples.html">Virtual Host examples for common setups</A>
<LI><A HREF="details.html">In-Depth Discussion of Virtual Host Matching</A>
<LI><A HREF="fd-limits.html">File Descriptor Limits</A>
<LI><A HREF="mass.html">Dynamically Configured Mass Virtual Hosting</A>
</UL>
<H2>Configuration directives</H2>
<UL>
<LI><A HREF="../mod/core.html#virtualhost">&lt;VirtualHost&gt;</A>
<LI><A HREF="../mod/core.html#namevirtualhost">NameVirtualHost</A>
<LI><A HREF="../mod/core.html#servername">ServerName</A>
<LI><A HREF="../mod/core.html#serveralias">ServerAlias</A>
<LI><A HREF="../mod/core.html#serverpath">ServerPath</A>
</UL>
<P>Folks trying to debug their virtual host configuration may find the
Apache <CODE>-S</CODE> command line switch useful. It will dump out a
description of how Apache parsed the configuration file. Careful
examination of the IP addresses and server names may help uncover
configuration mistakes.
<!--#include virtual="footer.html" -->
</BODY>
</HTML>