index.html.en revision 166c7891cc2a7545eca0f4dda6af92026bc43fcf
c82fca6d3f5608b946f18d37e8710b1d71e3478dnd<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
c82fca6d3f5608b946f18d37e8710b1d71e3478dnd<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"><head><!--
c82fca6d3f5608b946f18d37e8710b1d71e3478dnd XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
c82fca6d3f5608b946f18d37e8710b1d71e3478dnd This file is generated from xml source: DO NOT EDIT
c82fca6d3f5608b946f18d37e8710b1d71e3478dnd XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
c82fca6d3f5608b946f18d37e8710b1d71e3478dnd<title>Apache Virtual Host documentation - Apache HTTP Server</title>
c82fca6d3f5608b946f18d37e8710b1d71e3478dnd<link href="/style/css/manual.css" rel="stylesheet" media="all" type="text/css" title="Main stylesheet" />
c82fca6d3f5608b946f18d37e8710b1d71e3478dnd<link href="/style/css/manual-loose-100pc.css" rel="alternate stylesheet" media="all" type="text/css" title="No Sidebar - Default font size" />
c82fca6d3f5608b946f18d37e8710b1d71e3478dnd<link href="/style/css/manual-print.css" rel="stylesheet" media="print" type="text/css" />
c82fca6d3f5608b946f18d37e8710b1d71e3478dnd<link href="/images/favicon.ico" rel="shortcut icon" /></head>
c82fca6d3f5608b946f18d37e8710b1d71e3478dnd<p class="menu"><a href="/mod/">Modules</a> | <a href="/mod/directives.html">Directives</a> | <a href="/faq/">FAQ</a> | <a href="/glossary.html">Glossary</a> | <a href="/sitemap.html">Sitemap</a></p>
52fff662005b1866a3ff09bb6c902800c5cc6dedjerenkrantz<p class="apache">Apache HTTP Server Version 2.3</p>
c82fca6d3f5608b946f18d37e8710b1d71e3478dnd<div class="up"><a href="../"><img title="<-" alt="<-" src="/images/left.gif" /></a></div>
4b5981e276e93df97c34e4da05ca5cf8bbd937dand<a href="http://www.apache.org/">Apache</a> > <a href="http://httpd.apache.org/">HTTP Server</a> > <a href="http://httpd.apache.org/docs/">Documentation</a> > <a href="../">Version 2.3</a></div><div id="page-content"><div id="preamble"><h1>Apache Virtual Host documentation</h1>
ad74a0524a06bfe11b7de9e3b4ce7233ab3bd3f7nd<p><span>Available Languages: </span><a href="/de/vhosts/" hreflang="de" rel="alternate" title="Deutsch"> de </a> |
3b3b7fc78d1f5bfc2769903375050048ff41ff26nd<a href="/en/vhosts/" title="English"> en </a> |
3b3b7fc78d1f5bfc2769903375050048ff41ff26nd<a href="/fr/vhosts/" hreflang="fr" rel="alternate" title="Fran�ais"> fr </a> |
c82fca6d3f5608b946f18d37e8710b1d71e3478dnd<a href="/ja/vhosts/" hreflang="ja" rel="alternate" title="Japanese"> ja </a> |
c82fca6d3f5608b946f18d37e8710b1d71e3478dnd<a href="/ko/vhosts/" hreflang="ko" rel="alternate" title="Korean"> ko </a> |
c82fca6d3f5608b946f18d37e8710b1d71e3478dnd<a href="/tr/vhosts/" hreflang="tr" rel="alternate" title="T�rk�e"> tr </a></p>
c82fca6d3f5608b946f18d37e8710b1d71e3478dnd <p>The term <cite>Virtual Host</cite> refers to the practice of
c82fca6d3f5608b946f18d37e8710b1d71e3478dnd running more than one web site (such as
c82fca6d3f5608b946f18d37e8710b1d71e3478dnd <code>www.company1.com</code> and <code>www.company2.com</code>)
c82fca6d3f5608b946f18d37e8710b1d71e3478dnd on a single machine. Virtual hosts can be "<a href="ip-based.html">IP-based</a>", meaning that you have a
c82fca6d3f5608b946f18d37e8710b1d71e3478dnd different IP address for every web site, or "<a href="name-based.html">name-based</a>", meaning that you have
c82fca6d3f5608b946f18d37e8710b1d71e3478dnd multiple names running on each IP address. The fact that they
c82fca6d3f5608b946f18d37e8710b1d71e3478dnd are running on the same physical server is not apparent to the
c82fca6d3f5608b946f18d37e8710b1d71e3478dnd end user.</p>
c82fca6d3f5608b946f18d37e8710b1d71e3478dnd <p>Apache was one of the first servers to support IP-based
c82fca6d3f5608b946f18d37e8710b1d71e3478dnd virtual hosts right out of the box. Versions 1.1 and later of
c82fca6d3f5608b946f18d37e8710b1d71e3478dnd Apache support both IP-based and name-based virtual hosts
c82fca6d3f5608b946f18d37e8710b1d71e3478dnd (vhosts). The latter variant of virtual hosts is sometimes also
c82fca6d3f5608b946f18d37e8710b1d71e3478dnd called <em>host-based</em> or <em>non-IP virtual hosts</em>.</p>
c82fca6d3f5608b946f18d37e8710b1d71e3478dnd <p>Below is a list of documentation pages which explain all
c82fca6d3f5608b946f18d37e8710b1d71e3478dnd details of virtual host support in Apache version 1.3 and
c82fca6d3f5608b946f18d37e8710b1d71e3478dnd later.</p>
c82fca6d3f5608b946f18d37e8710b1d71e3478dnd<div id="quickview"><ul id="toc"><li><img alt="" src="/images/down.gif" /> <a href="#support">Virtual Host Support</a></li>
c82fca6d3f5608b946f18d37e8710b1d71e3478dnd<li><img alt="" src="/images/down.gif" /> <a href="#directives">Configuration directives</a></li>
c82fca6d3f5608b946f18d37e8710b1d71e3478dnd</ul><h3>See also</h3><ul class="seealso"><li><code class="module"><a href="/mod/mod_vhost_alias.html">mod_vhost_alias</a></code></li><li><a href="name-based.html">Name-based virtual
08c8bef71828a0c2fc3c393deb6c174cc7f13153ianhhosts</a></li><li><a href="ip-based.html">IP-based virtual hosts</a></li><li><a href="examples.html">Virtual host examples</a></li><li><a href="fd-limits.html">File descriptor limits</a></li><li><a href="mass.html">Mass virtual hosting</a></li><li><a href="details.html">Details of host matching</a></li></ul></div>
c82fca6d3f5608b946f18d37e8710b1d71e3478dnd<div class="top"><a href="#page-header"><img alt="top" src="/images/up.gif" /></a></div>
c82fca6d3f5608b946f18d37e8710b1d71e3478dnd<h2><a name="support" id="support">Virtual Host Support</a></h2>
c82fca6d3f5608b946f18d37e8710b1d71e3478dnd <li><a href="name-based.html">Name-based Virtual Hosts</a> (More
c82fca6d3f5608b946f18d37e8710b1d71e3478dnd than one web site per IP address)</li>
c82fca6d3f5608b946f18d37e8710b1d71e3478dnd <li><a href="ip-based.html">IP-based Virtual Hosts</a> (An IP
c82fca6d3f5608b946f18d37e8710b1d71e3478dnd address for each web site)</li>
c82fca6d3f5608b946f18d37e8710b1d71e3478dnd <li><a href="examples.html">Virtual Host examples for common
d05d0eb4ae6d2a5e513fc3bf2555ce33da416634nd <li><a href="fd-limits.html">File Descriptor Limits</a> (or,
d05d0eb4ae6d2a5e513fc3bf2555ce33da416634nd <li><a href="mass.html">Dynamically Configured Mass Virtual
d05d0eb4ae6d2a5e513fc3bf2555ce33da416634nd <li><a href="details.html">In-Depth Discussion of Virtual Host
d05d0eb4ae6d2a5e513fc3bf2555ce33da416634nd</div><div class="top"><a href="#page-header"><img alt="top" src="/images/up.gif" /></a></div>
c82fca6d3f5608b946f18d37e8710b1d71e3478dnd<h2><a name="directives" id="directives">Configuration directives</a></h2>
3b3b7fc78d1f5bfc2769903375050048ff41ff26nd <li><code class="directive"><a href="/mod/core.html#virtualhost"><VirtualHost></a></code></li>
8951c7d73bfa2ae5a2c8fe5bd27f3e677be02564noirin <li><code class="directive"><a href="/mod/core.html#namevirtualhost">NameVirtualHost</a></code></li>
c82fca6d3f5608b946f18d37e8710b1d71e3478dnd <li><code class="directive"><a href="/mod/core.html#servername">ServerName</a></code></li>
b636af865d96808dfb18913d607442a150fb53b6jim <li><code class="directive"><a href="/mod/core.html#serveralias">ServerAlias</a></code></li>
<p><span>Available Languages: </span><a href="/de/vhosts/" hreflang="de" rel="alternate" title="Deutsch"> de </a> |
<p class="apache">Copyright 2009 The Apache Software Foundation.<br />Licensed under the <a href="http://www.apache.org/licenses/LICENSE-2.0">Apache License, Version 2.0</a>.</p>
<p class="menu"><a href="/mod/">Modules</a> | <a href="/mod/directives.html">Directives</a> | <a href="/faq/">FAQ</a> | <a href="/glossary.html">Glossary</a> | <a href="/sitemap.html">Sitemap</a></p></div>