1<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" 2 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> 3<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 4 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 5 6<html xmlns="http://www.w3.org/1999/xhtml"> 7 <head> 8 <meta name="generator" content="HTML Tidy, see www.w3.org" /> 9 10 <title>Apache Virtual Host documentation</title> 11 </head> 12 <!-- Background white, links blue (unvisited), navy (visited), red (active) --> 13 14 <body bgcolor="#FFFFFF" text="#000000" link="#0000FF" 15 vlink="#000080" alink="#FF0000"> 16 <div align="CENTER"> 17 <img src="../images/sub.gif" alt="[APACHE DOCUMENTATION]" /> 18 19 <h3>Apache HTTP Server Version 1.3</h3> 20 </div> 21 22 23 <h1 align="CENTER">Apache Virtual Host documentation</h1> 24 25 <p>The term <cite>Virtual Host</cite> refers to the practice of 26 maintaining more than one server on one machine, as 27 differentiated by their apparent hostname. For example, it is 28 often desirable for companies sharing a web server to have 29 their own domains, with web servers accessible as 30 <samp>www.company1.com</samp> and 31 <samp>www.company2.com</samp>, without requiring the user to 32 know any extra path information.</p> 33 34 <p>Apache was one of the first servers to support IP-based 35 virtual hosts right out of the box. Versions 1.1 and later of 36 Apache support both, IP-based and name-based virtual hosts 37 (vhosts). The latter variant of virtual hosts is sometimes also 38 called host-based or non-IP virtual hosts.</p> 39 40 <p>Below is a list of documentation pages which explain all 41 details of virtual host support in Apache version 1.3 and 42 later.</p> 43 <hr /> 44 45 <h2>Virtual Host Support</h2> 46 47 <ul> 48 <li><a href="name-based.html">Name-based Virtual 49 Hosts</a></li> 50 51 <li><a href="ip-based.html">IP-based Virtual Hosts</a></li> 52 53 <li><a href="examples.html">Virtual Host examples for common 54 setups</a></li> 55 56 <li><a href="details.html">In-Depth Discussion of Virtual 57 Host Matching</a></li> 58 59 <li><a href="fd-limits.html">File Descriptor Limits</a></li> 60 61 <li><a href="mass.html">Dynamically Configured Mass Virtual 62 Hosting</a></li> 63 </ul> 64 65 <h2>Configuration directives</h2> 66 67 <ul> 68 <li><a 69 href="../mod/core.html#virtualhost"><VirtualHost></a></li> 70 71 <li><a 72 href="../mod/core.html#namevirtualhost">NameVirtualHost</a></li> 73 74 <li><a href="../mod/core.html#servername">ServerName</a></li> 75 76 <li><a 77 href="../mod/core.html#serveralias">ServerAlias</a></li> 78 79 <li><a href="../mod/core.html#serverpath">ServerPath</a></li> 80 </ul> 81 82 <p>Folks trying to debug their virtual host configuration may 83 find the Apache <code>-S</code> command line switch useful. It 84 will dump out a description of how Apache parsed the 85 configuration file. Careful examination of the IP addresses and 86 server names may help uncover configuration mistakes. 87 <hr /> 88 89 <h3 align="CENTER">Apache HTTP Server Version 1.3</h3> 90 <a href="./"><img src="../images/index.gif" alt="Index" /></a> 91 <a href="../"><img src="../images/home.gif" alt="Home" /></a> 92 93 </p> 94 </body> 95</html> 96 97 98 99