title: Create a Vhost in Ubuntu 16.04
body: <p>I have started working in laravel and using lampp. I have watched many tutorials that use a vhost to make user-friendly url. I want to do it on Ubuntu 16.04.</p>
  
  <blockquote>
    <p>Following tutorial is not working for me:</p>
  </blockquote>
  
  <p><a href="https://ourcodeworld.com/articles/read/302/how-to-setup-a-virtual-host-locally-with-xampp-in-ubuntu" rel="nofollow noreferrer">https://ourcodeworld.com/articles/read/302/how-to-setup-a-virtual-host-locally-with-xampp-in-ubuntu</a></p>
  
  <pre><code>&lt;VirtualHost *:80&gt;
      DocumentRoot "/opt/lampp/htdocs/basicwebsite/public"
      ServerName mywebsite.dev
  &lt;/VirtualHost&gt;
  </code></pre>