It consists to create a directory named www.mywebsite.local and having access directly through your browser at this URL. Consider using it in a development environment.
First, install vhost_alias module for apache2.
sudo a2enmod vhost_alias
Then put in /etc/apache2/sites-available/vhost.conf :
LogFormat "%V %h %l %u %t "%r"" %s %b"" vcommon