Webservers (Apache, nginx etc.) need to know which folder is specifically dedicated to a given domain (e.g. example.com).
Usually it is one of the following:
This is an example how DocumentRoot is defined in the Apache web server virtual host configuration for a given site.
.... DocumentRoot /var/www/vhosts/example.com/www ....