title: horizon dashboard not work for all-in-one virtualbox centos7 vm node NAT
body: <p>usually I used NAT for Internet access only, Hostonly private interface for openstack management ip when using packstack, from laptop host access to dashboard is working fine.</p>
  
  <p>Today I directly installed packstack on NAT, from CLI everything works well but except dashboard.</p>
  
  <pre><code>2: enp0s3: &lt;BROADCAST,MULTICAST,UP,LOWER_UP&gt; mtu 1500 qdisc pfifo_fast state UP qlen 1000
  link/ether 08:00:27:cb:a7:ab brd ff:ff:ff:ff:ff:ff
  inet 10.0.2.15/24 brd 10.0.2.255 scope global dynamic enp0s3
  </code></pre>
  
  <p>I setup up port forward for NAT:</p>
  
  <pre><code>127.0.0.1: 2080 to guest 80
  </code></pre>
  
  <p>then I can access to <a href="http://127.0.0.1:2080" rel="nofollow noreferrer">http://127.0.0.1:2080</a> but not for <a href="http://127.0.0.1:2080/dashboard" rel="nofollow noreferrer">http://127.0.0.1:2080/dashboard</a>, got error:</p>
  
  <pre><code>404 Not Found
  The requested URL /dashboard/ was not found on this server.
  </code></pre>
  
  <p>in fact dashboard inside vm also not working, </p>
  
  <pre><code>[root@localhost ~(keystone_admin)]# curl http://10.0.2.15/dashboard
  &lt;!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"&gt;
  &lt;html&gt;&lt;head&gt;
  &lt;title&gt;500 Internal Server Error&lt;/title&gt;
  &lt;/head&gt;&lt;body&gt;
  &lt;h1&gt;Internal Server Error&lt;/h1&gt;
  &lt;p&gt;The server encountered an internal error or
  misconfiguration and was unable to complete
  your request.&lt;/p&gt;
  &lt;p&gt;Please contact the server administrator at
  [no address given] to inform them of the time this error occurred,
  and the actions you performed just before this error.&lt;/p&gt;
  &lt;p&gt;More information about this error may be available
  in the server error log.&lt;/p&gt;
  &lt;/body&gt;&lt;/html&gt;
  </code></pre>
  
  <p>So looks like issue is inside node, not on port forwarding.</p>
  
  <p>checked /etc/httpd/conf.d/15-horizon_vhost.conf</p>
  
  <pre><code>## Server aliases
  ServerAlias 10.0.2.15
  ServerAlias localhost
  ServerAlias localhost
  </code></pre>