Configuration for a domain in your Ubuntu Apache

The content of a configuration file for a new domain in apache (e.g. /etc/apache2/sites-available/starfish.ml.conf) should be:

<VirtualHost *:80> 
DocumentRoot /var/www/html/starfish.ml 
ServerName starfish.ml 
ServerAlias www.starfish.ml 

<Directory "/var/www/html/starfish.ml"> 
Allow from all 
Options +Indexes  
RewriteEngine On 
RewriteBase /  
</Directory> 
</VirtualHost>