host. e.g.</p>
<div class="example"><p><code>
- <VirtualHost www.smallco.com><br />
+ <VirtualHost 172.20.30.40:80><br />
ServerAdmin webmaster@mail.smallco.com<br />
DocumentRoot /groups/smallco/www<br />
ServerName www.smallco.com<br />
TransferLog /groups/smallco/logs/access_log<br />
</VirtualHost><br />
<br />
- <VirtualHost www.baygroup.org><br />
+ <VirtualHost 172.20.30.50:80><br />
ServerAdmin webmaster@mail.baygroup.org<br />
DocumentRoot /groups/baygroup/www<br />
ServerName www.baygroup.org<br />
</code></p></div>
<p>It is recommended that you use an IP address instead of a
- hostname (see <a href="../dns-caveats.html">DNS caveats</a>).</p>
+ hostname in the <VirtualHost> directive
+ (see <a href="../dns-caveats.html">DNS caveats</a>).</p>
<p>Almost <strong>any</strong> configuration directive can be
put in the VirtualHost directive, with the exception of
host. e.g.</p>
<example>
- <VirtualHost www.smallco.com><br />
+ <VirtualHost 172.20.30.40:80><br />
ServerAdmin webmaster@mail.smallco.com<br />
DocumentRoot /groups/smallco/www<br />
ServerName www.smallco.com<br />
TransferLog /groups/smallco/logs/access_log<br />
</VirtualHost><br />
<br />
- <VirtualHost www.baygroup.org><br />
+ <VirtualHost 172.20.30.50:80><br />
ServerAdmin webmaster@mail.baygroup.org<br />
DocumentRoot /groups/baygroup/www<br />
ServerName www.baygroup.org<br />
</example>
<p>It is recommended that you use an IP address instead of a
- hostname (see <a href="../dns-caveats.html">DNS caveats</a>).</p>
+ hostname in the <VirtualHost> directive
+ (see <a href="../dns-caveats.html">DNS caveats</a>).</p>
<p>Almost <strong>any</strong> configuration directive can be
put in the VirtualHost directive, with the exception of