title: Laravel route not working in Apache using custom port in virtual host
body: <p>I have a server running Linux. Its a VM with ip <code>10.61.0.3</code>. Currently used to serve my web located at <code>/var/www/html</code> at port <code>80</code>.</p>
  
  <p>I want to serve Laravel app from this server located at <code>/var/www/laraapp</code> to port <code>8080</code>.</p>
  
  <p>My current apache conf for virtual host is:</p>
  
  <pre><code>&lt;VirtualHost *:8080&gt;
    ServerName 10.61.0.3:8080
    DocumentRoot /var/www/laraapp/public
  &lt;/VirtualHost&gt;
  </code></pre>
  
  <p>When I access <code>10.61.0.3:8080</code> nothing is shown up. Here is what show on apache error_logs:</p>
  
  <pre><code>[Mon Mar 17 17:28:43 2014] [notice] caught SIGTERM, shutting down
  [Mon Mar 17 17:28:48 2014] [notice] SELinux policy enabled; httpd running as context unconfined_u:system_r:httpd_t:s0
  [Mon Mar 17 17:28:48 2014] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
  [Mon Mar 17 17:28:48 2014] [notice] Digest: generating secret for digest authentication ...
  [Mon Mar 17 17:28:48 2014] [notice] Digest: done
  [Mon Mar 17 17:28:48 2014] [notice] Apache/2.2.15 (Unix) DAV/2 PHP/5.4.7 configured -- resuming normal operations
  [Mon Mar 17 17:28:48 2014] [error] avahi_entry_group_add_service_strlst("10.61.0.3") failed: Invalid host name
  </code></pre>
  
  <p>What should I do?</p>
  
  <p>Note:</p>
  
  <ul>
  <li>I can run my larapp using builtin PHP web server.</li>
  <li><code>LoadModule rewrite_module modules/mod_rewrite.so</code> is uncommented in <code>/etc/httpd/conf/httpd.conf</code></li>
  <li><code>Listen 8080</code> already declared in <code>/etc/httpd/conf/httpd.conf</code></li>
  </ul>