This post is from the official page, tailored for personal use. The basic steps are here.

  1. Copy the default site settings file /etc/apache2/sites-available/default to a new one at the same place, say testsite.
  2. Edit the file with new information. Change the DocumentRoot and the Directory settings.
  3. Disable the default one and enable the new one: sudo a2dissite default && sudo a2ensite testsite
  4. Restart Apache 2: sudo apache2ctl restart
  5. And the index.html or index.php files are good to go.

Now it’s a time to use your imagination for a new site.