The proper way is:
Module Admin > Apache config > Either Global VHosts entry (added to all domains) or Global ZPanel/Sentora entry (adds to just the panel vhost section)
Or for specific domains, scroll down to 'Override a virtual host setting' > [select domain] >Custom entry.
Module Admin > Apache config > Either Global VHosts entry (added to all domains) or Global ZPanel/Sentora entry (adds to just the panel vhost section)
Or for specific domains, scroll down to 'Override a virtual host setting' > [select domain] >Custom entry.