Run a HTML website next to NextcloudPi on ROCK64 with FreeDns

Hi,
I have a NextcloudPi installation running on a ROCK64 board with freedns.afraid.org as DynDNS service.

In FreeDNS I have my domain with subdomains cloud. and www. . “Link updates of the same IP together” is activated.

Nextcloud is reachable over cloud.domain.com
Now I would like to host a normal website that is reachable with www.domain.com or maybe another subdomain.

Is that possible?
Thanks a lot

Okay I found out. You have to configure VirtualHosts: https://httpd.apache.org/docs/2.4/vhosts/examples.html