localhost vs hostname, the hostname is not working properly
<p>I havev a cakePHP app (old 1.3x) which works (production). now I am trying to install wamp on my win7 - for dev purposes.<br>
I am using "bitnami"'s wamp.</p>

<p>For that - i changed the <code>hosts</code> file added the <code>127.0.0.1   mydomain</code> row.<br>
I also changed the <code>httpd.conf</code> file, adding the following:</p>

<pre><code>NameVirtualHost *:80
&lt;VirtualHost *:80&gt;
  ServerName mydomain
  DocumentRoot "D:\wamp/apache2/htdocs/foldername"
  DirectoryIndex index.php index.html
&lt;/VirtualHost&gt;
</code></pre>

<p>it's done.
Accessing <code>http://localhost/folder</code> works (some inner links problem, but it is expected - since it have some relative urls)</p>

<p>Accessing <code>http://mydomain</code> returns 200/ok response, but it is empty.</p>

<p>what am i doing wrong?</p>