title: Try to add a VirtualHost
body: <p>I have a web server with a website and i want to add another address for pre-production use.</p>
  
  <p>Here the existant:</p>
  
  <p>httpd.conf:</p>
  
  <pre><code>ServerAdmin support@toto.com
  ServerName www.toto.com:80
  DocumentRoot "/home/tutu/var/www/html"
  </code></pre>
  
  <p>modules/vhost.conf:</p>
  
  <pre><code>&lt;VirtualHost *:80&gt;
      ServerAdmin support@toto.com
      ServerName www.toto.com:80
      DirectoryIndex index.php
  
      ErrorLog /home/tutu/var/log/httpd/error-mod_log
      LogLevel warn
      CustomLog /home/tutu/var/log/httpd/access-mod_log common-cookie
  
     &lt;Location /server-status&gt;
      SetHandler server-status
      Order deny,allow
      Deny from all
      Allow from 127.0.0.1
    &lt;/Location&gt;
  &lt;/VirtualHost&gt;
  </code></pre>
  
  <p>And I have tried to add another VirtualHost but the new address not working:</p>
  
  <pre><code>&lt;VirtualHost *:80&gt;
      ServerAdmin support@toto.com
      ServerName www2.toto.com:80
      DirectoryIndex index.php
  
      ErrorLog /home/tutu/var/log/httpd/error-www2_log
      LogLevel warn
      CustomLog /home/tutu/var/log/httpd/access-www2_log common-cookie
      DocumentRoot "/home/tutu/var/www2/html"
  &lt;/VirtualHost&gt;
  </code></pre>
  
  <p>The address www2.toto.com is not working.
  Have you an idea?</p>
  
  <p>Thanks</p>