<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Virtual Hosting</title>
	<atom:link href="http://VirtualHosting.info/feed/" rel="self" type="application/rss+xml" />
	<link>http://VirtualHosting.info</link>
	<description>Virtual Hosting</description>
	<lastBuildDate>Tue, 04 May 2010 10:16:58 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
		<item>
		<title>Using Name-based Virtual Hosts</title>
		<link>http://VirtualHosting.info/using-name-based-virtual-hosts/</link>
		<comments>http://VirtualHosting.info/using-name-based-virtual-hosts/#comments</comments>
		<pubDate>Tue, 04 May 2010 10:16:58 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Name Based Virtual Host]]></category>

		<guid isPermaLink="false">http://virtualhosting.info/?p=11</guid>
		<description><![CDATA[

To use name-based virtual hosting, you must designate the IP address (and possibly port) on the server that will be accepting requests for the hosts. This is configured using the NameVirtualHost directive. In the normal case where any and all IP addresses on the server should be used, you can use * as the argument [...]


No related posts.

Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<p><a href="http://virtualhosting.info/wp-content/uploads/2010/05/VirtualHosting.info_5.jpeg" ><img src="http://virtualhosting.info/wp-content/uploads/2010/05/VirtualHosting.info_5-300x185.jpg" alt="VirtualHosting.info 5 300x185 Using Name based Virtual Hosts" title="VirtualHosting.info_5" width="300" height="185" class="alignnone size-medium wp-image-29" /></a>
<div id="_mcePaste"></p>
<p>To use name-based virtual hosting, you must designate the IP address (and possibly port) on the server that will be accepting requests for the hosts. This is configured using the NameVirtualHost directive. In the normal case where any and all IP addresses on the server should be used, you can use * as the argument to NameVirtualHost.&lt;!&#8211;more&#8211;&gt; (NameVirtualHost * will work only in version 1.3.13 and later.) Note that mentioning an IP address in a NameVirtualHost directive does not automatically make the server listen to that IP address. See Setting which addresses and ports Apache uses for more details. In addition, any IP address specified here must be associated with a network interface on the server.</p></div>
<div id="_mcePaste">The next step is to create a &lt;VirtualHost&gt; block for each different host that you would like to serve. The argument to the &lt;VirtualHost&gt; directive should be the same as the argument to the NameVirtualHost directive (ie, an IP address, or * for all addresses). Inside each &lt;VirtualHost&gt; block, you will need at minimum a ServerName directive to designate which host is served and a DocumentRoot directive to show where in the filesystem the content for that host lives.</div>
<div id="_mcePaste">If you are adding virtual hosts to an existing web server, you must also create a &lt;VirtualHost&gt; block for the existing host. The ServerName and DocumentRoot included in this virtual host should be the same as the global ServerName and DocumentRoot. List this virtual host first in the configuration file so that it will act as the default host.</div>
<div id="_mcePaste">For example, suppose that you are serving the domain www.domain.tld and you wish to add the virtual host www.otherdomain.tld, which points at the same IP address. Then you simply add the following to httpd.conf:</div>
<div id="_mcePaste">NameVirtualHost *</div>
<div id="_mcePaste">&lt;VirtualHost *&gt;</div>
<div id="_mcePaste">ServerName www.domain.tld</div>
<div id="_mcePaste">DocumentRoot /www/domain</div>
<div id="_mcePaste">&lt;/VirtualHost&gt;</div>
<div id="_mcePaste">&lt;VirtualHost *&gt;</div>
<div id="_mcePaste">ServerName www.otherdomain.tld</div>
<div id="_mcePaste">DocumentRoot /www/otherdomain</div>
<div id="_mcePaste">&lt;/VirtualHost&gt;</div>
<div id="_mcePaste">You can alternatively specify an explicit IP address in place of the * in both the NameVirtualHost and &lt;VirtualHost&gt; directives. The IP address is required in version 1.3.12 and earlier.</div>
<div id="_mcePaste">Many servers want to be accessible by more than one name. This is possible with the ServerAlias directive, placed inside the &lt;VirtualHost&gt; section. For example if you add this to the first &lt;VirtualHost&gt; block above</div>
<div id="_mcePaste">ServerAlias domain.tld *.domain.tld</div>
<div id="_mcePaste">then requests for all hosts in the domain.tld domain will be served by the www.domain.tld virtual host. The wildcard characters * and ? can be used to match names. Of course, you can&#8217;t just make up names and place them in ServerName or ServerAlias. You must first have your DNS server properly configured to map those names to an IP address associated with your server.</div>
<div id="_mcePaste">Finally, you can fine-tune the configuration of the virtual hosts by placing other directives inside the &lt;VirtualHost&gt; containers. Most directives can be placed in these containers and will then change the configuration only of the relevant virtual host. To find out if a particular directive is allowed, check the Context of the directive. Configuration directives set in the main server context (outside any &lt;VirtualHost&gt; container) will be used only if they are not overriden by the virtual host settings.</div>
<div id="_mcePaste">Now when a request arrives, the server will first check if it is using an IP address that matches the NameVirtualHost. If it is, then it will look at each &lt;VirtualHost&gt; section with a matching IP address and try to find one where the ServerName or ServerAlias matches the requested hostname. If it finds one, then it uses the configuration for that server. If no matching virtual host is found, then the first listed virtual host that matches the IP address will be used.</div>
<p>To use name-based virtual hosting, you must designate the IP address (and possibly port) on the server that will be accepting requests for the hosts. This is configured using the NameVirtualHost directive. In the normal case where any and all IP addresses on the server should be used, you can use * as the argument to NameVirtualHost. (NameVirtualHost * will work only in version 1.3.13 and later.) Note that mentioning an IP address in a NameVirtualHost directive does not automatically make the server listen to that IP address. See Setting which addresses and ports Apache uses for more details. In addition, any IP address specified here must be associated with a network interface on the server.<br />
The next step is to create a &lt;VirtualHost&gt; block for each different host that you would like to serve. The argument to the &lt;VirtualHost&gt; directive should be the same as the argument to the NameVirtualHost directive (ie, an IP address, or * for all addresses). Inside each &lt;VirtualHost&gt; block, you will need at minimum a ServerName directive to designate which host is served and a DocumentRoot directive to show where in the filesystem the content for that host lives.<br />
If you are adding virtual hosts to an existing web server, you must also create a &lt;VirtualHost&gt; block for the existing host. The ServerName and DocumentRoot included in this virtual host should be the same as the global ServerName and DocumentRoot. List this virtual host first in the configuration file so that it will act as the default host.<br />
For example, suppose that you are serving the domain www.domain.tld and you wish to add the virtual host www.otherdomain.tld, which points at the same IP address. Then you simply add the following to httpd.conf:<br />
NameVirtualHost *<br />
&lt;VirtualHost *&gt;    ServerName www.domain.tld    DocumentRoot /www/domain    &lt;/VirtualHost&gt;<br />
&lt;VirtualHost *&gt;    ServerName www.otherdomain.tld    DocumentRoot /www/otherdomain    &lt;/VirtualHost&gt;You can alternatively specify an explicit IP address in place of the * in both the NameVirtualHost and &lt;VirtualHost&gt; directives. The IP address is required in version 1.3.12 and earlier.<br />
Many servers want to be accessible by more than one name. This is possible with the ServerAlias directive, placed inside the &lt;VirtualHost&gt; section. For example if you add this to the first &lt;VirtualHost&gt; block above<br />
ServerAlias domain.tld *.domain.tldthen requests for all hosts in the domain.tld domain will be served by the www.domain.tld virtual host. The wildcard characters * and ? can be used to match names. Of course, you can&#8217;t just make up names and place them in ServerName or ServerAlias. You must first have your DNS server properly configured to map those names to an IP address associated with your server.<br />
Finally, you can fine-tune the configuration of the virtual hosts by placing other directives inside the &lt;VirtualHost&gt; containers. Most directives can be placed in these containers and will then change the configuration only of the relevant virtual host. To find out if a particular directive is allowed, check the Context of the directive. Configuration directives set in the main server context (outside any &lt;VirtualHost&gt; container) will be used only if they are not overriden by the virtual host settings.<br />
Now when a request arrives, the server will first check if it is using an IP address that matches the NameVirtualHost. If it is, then it will look at each &lt;VirtualHost&gt; section with a matching IP address and try to find one where the ServerName or ServerAlias matches the requested hostname. If it finds one, then it uses the configuration for that server. If no matching virtual host is found, then the first listed virtual host that matches the IP address will be used.</p>
<p id="bte_opp"><small>Originally posted 2010-05-04 10:16:48. Republished by  <a href="http://VirtualHosting.info/goto/http://www.blogtrafficexchange.com/old-post-promoter" >Old Post Promoter</a></small></p><div style='clear:both'></div>

<p>No related posts.</p>
<p>Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://VirtualHosting.info/using-name-based-virtual-hosts/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>What is virtual hosting?</title>
		<link>http://VirtualHosting.info/what-is-virtual-hosting/</link>
		<comments>http://VirtualHosting.info/what-is-virtual-hosting/#comments</comments>
		<pubDate>Tue, 04 May 2010 10:16:57 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Virtual Hosting Information]]></category>

		<guid isPermaLink="false">http://virtualhosting.info/?p=9</guid>
		<description><![CDATA[
Virtual hosting is a method for hosting multiple domain names on a computer using a single IP address. This allows one machine to share its resources, such as memory and processor cycles, to use its resources more efficiently.
Originally posted 2010-05-04 10:12:52. Republished by  Old Post Promoter

No related posts.
Related posts brought to you by Yet [...]


No related posts.

Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<p><a href="http://virtualhosting.info/wp-content/uploads/2010/05/VirtualHosting.info_3.jpg" ><img src="http://virtualhosting.info/wp-content/uploads/2010/05/VirtualHosting.info_3.jpg" alt="VirtualHosting.info 3 What is virtual hosting?" title="VirtualHosting.info_3" width="144" height="144" class="alignnone size-full wp-image-28" /></a></p>
<p><strong>Virtual hosting is a method for hosting multiple domain names on a computer using a single IP address. This allows one machine to share its resources, such as memory and processor cycles, to use its resources more efficiently.</strong></p>
<p id="bte_opp"><small>Originally posted 2010-05-04 10:12:52. Republished by  <a href="http://VirtualHosting.info/goto/http://www.blogtrafficexchange.com/old-post-promoter" >Old Post Promoter</a></small></p><div style='clear:both'></div>

<p>No related posts.</p>
<p>Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://VirtualHosting.info/what-is-virtual-hosting/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>IP based</title>
		<link>http://VirtualHosting.info/ip-based/</link>
		<comments>http://VirtualHosting.info/ip-based/#comments</comments>
		<pubDate>Tue, 04 May 2010 10:16:56 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[IP based Virtual Hosting]]></category>

		<guid isPermaLink="false">http://virtualhosting.info/?p=13</guid>
		<description><![CDATA[
In IP-based virtual hosting each site (either a DNS hostname or a group of DNS hostnames that act the same) points to a unique IP address. The web server is configured with multiple physical network interfaces, virtual network interfaces on the same physical interface or multiple IP addresses on one interface.&#60;!&#8211;more&#8211;&#62;
The web server can obtain [...]


No related posts.

Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<p><a href="http://virtualhosting.info/wp-content/uploads/2010/05/VirtualHosting.info_6.jpg" ><img class="alignnone size-full wp-image-30" title="VirtualHosting.info_6" src="http://virtualhosting.info/wp-content/uploads/2010/05/VirtualHosting.info_6.jpg" alt="VirtualHosting.info 6 IP based" width="300" height="220" /></a></p>
<p>In IP-based virtual hosting each site (either a DNS hostname or a group of DNS hostnames that act the same) points to a unique IP address. The web server is configured with multiple physical network interfaces, virtual network interfaces on the same physical interface or multiple IP addresses on one interface.&lt;!&#8211;more&#8211;&gt;</p>
<p>The web server can obtain the address the TCP connection was intended for using a standard API and use this to determine which website to serve. The client is not involved in this process and therefore (unlike with name based virtual hosting) there are no compatibility issues</p>
<p id="bte_opp"><small>Originally posted 2010-05-04 10:20:13. Republished by  <a href="http://VirtualHosting.info/goto/http://www.blogtrafficexchange.com/old-post-promoter" >Old Post Promoter</a></small></p><div style='clear:both'></div>

<p>No related posts.</p>
<p>Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://VirtualHosting.info/ip-based/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
