So, under the web ui, when I select Redirect visitors to a custom domain or web address301 or even 302 apache2 fails to restart after 5+ minutes of trying. This does not happen if I am using the .htaccess or apache domain config file (/home/user/domain/conf/web/)
I have email setup, to receive any such issues, which gives me this:
panel.domain: : apache2 restart failed
[Fri Mar 07 14:52:59.982586 2025] [core:error] [pid 117041:tid 117041] (EAI 3)Temporary failure in name resolution: AH00547: Could not resolve host name **git.domain** -- ignoring!
[Fri Mar 07 14:18:07.968882 2025] [core:error] [pid 103805:tid 103805] (EAI 2)Name or service not known: AH00547: Could not resolve host name https -- ignoring!
[Fri Mar 07 14:18:07.986833 2025] [core:error] [pid 103805:tid 103805] (EAI 2)Name or service not known: AH00547: Could not resolve host name https -- ignoring!
Syntax OK
Although apache2 seems to have restarted, but to avoid any issues, I manually reboot it again, which causes no issues and happens in 30 or so seconds.
This only happens over UI and not otherwise if done manually over CLI/SFTP.
Apache2 logs also show only the above error, but as I mentioned, restart does happen, only that the UI buffers for 5+ minutes and goes out with the error of apache2 failure.
All of a sudden I have started getting it again, and apache2 is not working again:
Temporary failure in name resolution: AH00547: Could not resolve host name https – ignoring!
Due to this all sites are now internal server error.
Internal Server Error
Oops! Something went wrong.
The server encountered an internal error or misconfiguration and was unable to complete your request.
Error Code: 500
Failed to start apache2.service - The Apache HTTP Server.
apache2ctl configtest [Mon Dec 22 22:17:22.950456 2025] [core:error] [pid 6441:tid 6441] (EAI 3)Temporary failure in name resolution: AH00547: Could not resolve host name https – ignoring! [Mon Dec 22 22:18:02.992559 2025] [core:error] [pid 6441:tid 6441] (EAI 3)Temporary failure in name resolution: AH00547: Could not resolve host name git.domain.tld – ignoring! [Mon Dec 22 22:18:43.034009 2025] [core:error] [pid 6441:tid 6441] (EAI 3)Temporary failure in name resolution: AH00547: Could not resolve host name https – ignoring! Syntax OK
Reload failed for apache2.service - The Apache HTTP Server.
[core:error] [pid 5458:tid 5458] (EAI 3)Temporary failure in name resolution: AH00547: Could not resolve host name https – ignoring!
Does not reload at all. This is happening when I am trying to change the tpl, either via web or cli command.