Hi there,
I want to point all new domains coming to IP address (every domain set with A record to IP address) to be by default pointed to the site’s document root?
I tried editing 000-default.conf, apache2.conf but no luck.
I followed many solutions that are probably very old, but no idea what to do in case I am using HestiaCP (if that matters at all)…
I have ubuntu 22.04, latest apache2 and hestiacp.
For now, I need to manually add domains via HestiaCP and change their document root path, that works, but I want to automate it in case there are several domains, hundred domains…