Good morning there. First of all I love ISPConfig and a big thanks for providing and actively maintaining it! Debian 10 ISPConfig 3.2.4 Nginx 1.14.2 I had some trouble recently when adding sub- or alias domains to one of my setups and just figured out why they were not working constantly. I'm guessing it's something about the IPv6 addresses my server is reachable by. When adding a new website everything's sweet and fine and the server block of the website starts with Code: server { listen *:80; listen [::]:80; listen *:443 ssl http2; ssl_protocols TLSv1.3 TLSv1.2; listen [::]:443 ssl http2; and so on. But when adding a sub- or alias domain the whole [::] part is missing and it just looks like that Host: subdomain Domain: domain.tld :: server1.domain.tld Redirect: permanent Target: https://www.domain.tld/subdomain/ Code: server { listen *:80; listen *:443 ssl http2; That leads to a problem as the subdomains are not recognized and only the main domain is queried and shown when trying to reach the subdomain. I manually have to enter the missing parts into my .vhost file. But that will be overwritten each time I update anything in ISPConfig resulting in troubles again until I manually insert the parts again. Do you know why that's happening / what I'm missing here / what I'm doing wrong? Help is greatly appreciated! Thanks a lot and kind regards, Valentin
Context clues tell me you are using nginx but it would be good to share info on your system with us: Which OS are you using, which webserver, what is your ISPConfig version... etc. What kind of sub-/alias-domain are you adding? Normal, or vhost sub-/alias-domains?
Of course, I'm sorry – was a little too excited this morning after figuring out what's going on. Also updated the original question. Debian 10 ISPConfig 3.2.4 Nginx 1.14.2 I'm adding regular subdomains by using the subdomain menu located on the left in ISPConfig. Host: subdomain Domain: domain.tld :: server1.domain.tld Redirect: permanent Target: https://www.domain.tld/subdomain/ The whole server setup and ISPConfig are relatively new, like two weeks old. One thing that always stroke me as odd in this installation that I cannot select an IPv6 address when adding a new vhost but figured that this might be normal in the latest ISPConfig release and I just haven't been using it so far. See screenshots attached for the subdomain setup as well as the vhost itself. (Subdomain type is actually irrelevant. It happens for all of them)
Did you add IPv6 addresses under System > Server IP? An IPv6 select can only be chosen there if you added it under System > Server IP.
Works fine here, see screenshot. Maybe you assigned the IP addresses to a client or wrong client or a wrong server?
None of the IP addresses is attached to a client and as far as I can see the IPv4 and IPv6 are configured the same. Just noticed that I can't select IPv4 address either – just the wildcard. Is there a wildcard setting for IPv6 too?
looks to me as if you clicked in the IP address field in the last screenshot and not the ipv6 address field.
Regarding IPv6 wildcard, I was able to reproduce that now. But it's not that there is some config missing which was there before you added the subdomains. The redirects have their own server section which lacks ipv6 wildcard, the ipv6 wildcard setting in the website vhost itself is still there.
This should fix the issue: https://git.ispconfig.org/ispconfig/ispconfig3/-/merge_requests/1489/diffs
That makes total sense. I have no idea though why that was deactivated in the first place – thanks! — That's perfect! Thanks a lot. I will try that in about an hour