Hi everyone, I'm using Apache as my webserver and I need help assigning and serving ISPConfig through a custom domain like ispconfig.mydomain.com. Right now, I'm accessing ISPConfig using the IP server with port 8080, but I want to make it easier for myself and my clients. Can anyone guide me through the process of setting up the custom domain and configuring Apache to serve ISPConfig through it? I would appreciate any help or advice. Thanks!
Did you mean accessing to ISP Config control panel not through a port, but directly as of ispconfig.mydomain.com? create subdomain vhost find out ispconfig.vhost copy required elements of ispconfig.vhost to already existing subdomain.domain.vhost ln -s {ispconfig real directory} {/var/www/your_subdomain/web} Hope, it would work
How did you do it at the first place? Have you search this forum for guide? I found one of them just by searching: https://forum.howtoforge.com/threads/ispconfig-with-reverseproxy.78182/#post-369928.
you should be able to access the control panel, by default, using https://<servername>.<domainname>.<tld>:8080 so if, in your example, your server name is also ispconfig you can use https://ispconfig.mydomain.com:8080 rather than the ip address.. (assuming you have created an A record for the ispconfig subdomain in your dns.. the ispconfig install should also have created a letsencrypt certificate for the fqdn using either certbot or acme if you already have the dns record for it.. or a self-signed cert otherwise. if you want to access the control panel using the domain name without specifying the port number, as @ahrasis says, create a reverse proxy. first create a website using the subdomain you want to use, eg ispconfig (if this is the same as the servername it can lead to issues with applying cert renewals.. ), then add the required proxy directives to the apache directives section in the website options tab.