I have a question about the DNS records. I use Hetzner and have a root server from them. I manage all of my DNS entries at Hetzner and have created entries for my subdomains (A Entry). My external IP specified by the server as IP. There were never any problems before when I used Plesk, but now with ISPConfig I can no longer see my subdomains displayed correctly or the wrong page is delivered. I read in a forum that you shouldn't create any DNS entries in ISPConfig if Hetzner is the primary DNS server. What else is there to consider in ISPConfig so that it finally works?
There is nothing special about Hetzner, DNS and subdomains. Just create a DNS A-Record for the subdomain pointing to the IP address of your server at Hetzner. So, there is no difference between ISPConfig, Plesk, or any other control panel here. See read before posting, it covers the topic when a wrong website gets displayed: https://forum.howtoforge.com/threads/please-read-before-posting.58408/
To display the correct site, you must tell the system which site to display, which means if you have a website sub.somedomain.tld, then you must enter sub.somedomain.tld in the domain field of the site. Or if the site has several domains and subdomains, you must add it as subdomain or as alias domain for the site that shall get displayed in ISPConfig. And ensure to always use * in the Ipv4 domain field for all sites. This is the default, so there should be no change needed. But in case you started entering IP addresses there, then better undo that and use just * for all sites, so that Apache or Nginx can choose the correct site to display based on the domain or subdomain.