title: Virtual Host Apache2 doesn't work
body: <p>I tried to add an second Domain to my dedicated server. My standard domain 1 should connect to normal /var/www/ path and my second domain should point to /var/www/domain.</p>
  
  <p>Changed some thing (see comments) and now I get an 404 Error</p>
  
  <p>My enabled sites configs look like:</p>
  
  <p>default domain:</p>
  
  <p>
      ServerAdmin mail@provider.com</p>
  
  <pre><code>DocumentRoot /var/www/
  &lt;Directory /&gt;
          Options FollowSymLinks
          AllowOverride None
  &lt;/Directory&gt;
  &lt;Directory /var/www/&gt;
          Options Indexes FollowSymLinks MultiViews
          AllowOverride None
          Order allow,deny
          allow from all
  &lt;/Directory&gt;
  
  ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
  &lt;Directory "/usr/lib/cgi-bin"&gt;
          AllowOverride None
          Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
          Order allow,deny
          Allow from all
  &lt;/Directory&gt;
  
  ErrorLog ${APACHE_LOG_DIR}/error.log
  
  # Possible values include: debug, info, notice, warn, error, crit,
  # alert, emerg.
  LogLevel warn
  
  CustomLog ${APACHE_LOG_DIR}/access.log combined
  &lt;/VirtualHost&gt;
  </code></pre>
  
  <p>second domain:</p>
  
  <pre><code>&lt;VirtualHost *:80&gt;
  ServerName www.second-domain.net
  ServerAlias second-domain.net *.second-domain.net
  DocumentRoot /www/domain
  &lt;/VirtualHost&gt;
  </code></pre>
  
  <p>hosts Document:</p>
  
  <pre><code>fe00::0         ip6-localnet
  ff00::0         ip6-mcastprefix
  ff02::1         ip6-allnodes
  ff02::2         ip6-allrouters
  
  127.0.0.1 localhost.localdomain localhost
  # Auto-generated hostname. Please do not remove this comment.
  2a06:1c40::xxx k4lim
  ::1 localhost
  
  127.0.0.1       localhost
  127.0.0.1       domain1.name
  185.101.92.XXX  domain2.name
  </code></pre>
  
  <p>T
  he error I get when I try to open the site in Firefox is: The DNS Adress of the domain could not be found.</p>
  
  <p>Would be really thankful for any ideas and help!</p>