Hello,
I've attempted without any luck on using DirectAdmin's template system to create a universal server wide subdomain entry for the purpose of allowing my clients easier access to the DirectAdmin control panel.
I desire to use something like
dashboard.example.com and have it resolve to the IP address my DirectAdmin instance is running on. (As my client's accounts use separate dedicated and shared IP's other than the main IP my master domain with the DirectAdmin installation is on/using).
I'm not quite sure, but assume that I would then need to customize the HTTPD conf template to make a server wide entry for something like
dashboard.|DOMAIN| and have it use mod_proxy to connect to my master domain (will |SERVERIP| work here?) on port 2222
So, in theory I imagine it working as such:
http://dashboard.domain.com goes to http://www.mymasterdomain.com:2222
Any assistance would be appreciated, as I'm a bit confused as to wether or not I will need to use the Location directive with mod_proxy customizations, mod_rewrite, or how to setup the DNS templating for a universal subdomain to a domain on a separate IP than what the client's accounts are assigned.
I've attempted without any luck on using DirectAdmin's template system to create a universal server wide subdomain entry for the purpose of allowing my clients easier access to the DirectAdmin control panel.
I desire to use something like
dashboard.example.com and have it resolve to the IP address my DirectAdmin instance is running on. (As my client's accounts use separate dedicated and shared IP's other than the main IP my master domain with the DirectAdmin installation is on/using).
I'm not quite sure, but assume that I would then need to customize the HTTPD conf template to make a server wide entry for something like
dashboard.|DOMAIN| and have it use mod_proxy to connect to my master domain (will |SERVERIP| work here?) on port 2222
So, in theory I imagine it working as such:
http://dashboard.domain.com goes to http://www.mymasterdomain.com:2222
Any assistance would be appreciated, as I'm a bit confused as to wether or not I will need to use the Location directive with mod_proxy customizations, mod_rewrite, or how to setup the DNS templating for a universal subdomain to a domain on a separate IP than what the client's accounts are assigned.