title: Wampserver - The ServerName localhost:7979 is not defined into hosts file
body: <blockquote>
  <p><a href="https://i.stack.imgur.com/48TV5.png" rel="nofollow noreferrer">WampServer Virtual Hosts</a></p>
  </blockquote>
  <p>Here's the config file - <code>C:\wamp64\bin\apache\apache2.4.51\conf\extra\httpd-vhosts.conf</code></p>
  <pre><code># Virtual Hosts
  #
  '''
  &lt;VirtualHost *:7979&gt;
    ServerName localhost
    ServerAlias localhost
    DocumentRoot &quot;${INSTALL_DIR}/www&quot;
    &lt;Directory &quot;${INSTALL_DIR}/www/&quot;&gt;
      Options +Indexes +Includes +FollowSymLinks +MultiViews
      AllowOverride All
      Require local
    &lt;/Directory&gt;
  &lt;/VirtualHost&gt;
  </code></pre>
  <p>Host's file - C:\Windows\System32\drivers\etc</p>
  <pre><code>127.0.0.1 localhost
  ::1 localhost
  </code></pre>
  <p>I can access my project's fine, it's just on the homepage it's bringing this error.</p>