index.html revision 7ed6f2e024a2ab78d677c79a46bf68b0329a8502
0N/A<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
3137N/A "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
0N/A
0N/A<html xmlns="http://www.w3.org/1999/xhtml">
0N/A <head>
0N/A <meta name="generator" content="HTML Tidy, see www.w3.org" />
0N/A
0N/A <title>Apache Virtual Host documentation</title>
0N/A </head>
0N/A <!-- Background white, links blue (unvisited), navy (visited), red (active) -->
0N/A
0N/A <body bgcolor="#FFFFFF" text="#000000" link="#0000FF"
0N/A vlink="#000080" alink="#FF0000">
0N/A <!--#include virtual="header.html" -->
0N/A
0N/A <h1 align="CENTER">Apache Virtual Host documentation</h1>
0N/A
0N/A <p>The term <cite>Virtual Host</cite> refers to the practice of
1472N/A maintaining more than one server on one machine, as
1472N/A differentiated by their apparent hostname. For example, it is
1472N/A often desirable for companies sharing a web server to have
0N/A their own domains, with web servers accessible as
0N/A <samp>www.company1.com</samp> and
0N/A <samp>www.company2.com</samp>, without requiring the user to
1879N/A know any extra path information.</p>
1879N/A
1879N/A <p>Apache was one of the first servers to support IP-based
1879N/A virtual hosts right out of the box. Versions 1.1 and later of
1879N/A Apache support both, IP-based and name-based virtual hosts
1879N/A (vhosts). The latter variant of virtual hosts is sometimes also
1879N/A called host-based or non-IP virtual hosts.</p>
1879N/A
1879N/A <p>Below is a list of documentation pages which explain all
1879N/A details of virtual host support in Apache version 1.3 and
1879N/A later.</p>
1879N/A <hr />
1879N/A
1879N/A <h2>Virtual Host Support</h2>
1879N/A
1879N/A <ul>
1879N/A <li><a href="name-based.html">Name-based Virtual
2796N/A Hosts</a></li>
2796N/A
2796N/A <li><a href="ip-based.html">IP-based Virtual Hosts</a></li>
1879N/A
0N/A <li><a href="examples.html">Virtual Host examples for common
0N/A setups</a></li>
0N/A
0N/A <li><a href="details.html">In-Depth Discussion of Virtual
0N/A Host Matching</a></li>
0N/A
0N/A <li><a href="fd-limits.html">File Descriptor Limits</a></li>
0N/A
0N/A <li><a href="mass.html">Dynamically Configured Mass Virtual
0N/A Hosting</a></li>
0N/A </ul>
141N/A
0N/A <h2>Configuration directives</h2>
0N/A
0N/A <ul>
0N/A <li><a
0N/A href="/mod/core.html#virtualhost">&lt;VirtualHost&gt;</a></li>
0N/A
0N/A <li><a
0N/A href="/mod/core.html#namevirtualhost">NameVirtualHost</a></li>
0N/A
0N/A <li><a href="/mod/core.html#servername">ServerName</a></li>
0N/A
0N/A <li><a
0N/A href="/mod/core.html#serveralias">ServerAlias</a></li>
0N/A
0N/A <li><a href="/mod/core.html#serverpath">ServerPath</a></li>
0N/A </ul>
0N/A
0N/A <p>Folks trying to debug their virtual host configuration may
3137N/A find the Apache <code>-t -D DUMP_VHOSTS</code> command line switch
0N/A useful. It will dump out a description of how Apache parsed the
3137N/A configuration file. Careful examination of the IP addresses and
0N/A server names may help uncover configuration mistakes.
0N/A <!--#include virtual="footer.html" -->
0N/A </p>
0N/A </body>
0N/A</html>
0N/A
1123N/A