Subdomains from kirby folders

If you use the example site.php code from the docs, it should be the following structure:

.htaccess
assets/
  avatars/
    one.example.com/
      ...
    two.example.com/
      ...
  ...
content/
  one.example.com/
    ...
  two.example.com/
    ...
index.php
kirby
panel
site.php
site/
  one.example.com/
    ...
  two.example.com/
    ...
thumbs/
  one.example.com/
    ...
  two.example.com/
    ...