Disable cprapid hostname on setup
Hi,
In cPanel v90 there is a new feature that automatically sets a hostname ending in .cprapid.com to the server so it can issue a SSL for it: Automatically-Issued Hostnames | cPanel & WHM Documentation.
We use automated cpanel deployment and this behavior breaks some things for us, not to mention that changing the hostname of the server without prompting is kind of aggressive.
Is there any way to disable this on setup?
Thanks,
Ignacio
-
The only way to prevent that from being automatically provisioned is to start with a hostname that resolves to the IP address of the server. So you could use a pre-installation script that sets the hostname of the server to a FQDN that resolves to the server. I checked our internal feature information for a potential way to disable this but I don't see one available. 0 -
This is a really crappy feature- there's no reason that cPanel should be overriding the hostnames of a server, especially not setting it a subdomain it has control over. Not only does it break things for us too, but there are security implications. +1 for a way to disable it permenantly. Poorly thought through. 0 -
It won't override a valid hostname of a server that resolves, nor is it meant to stay the hostname. You're free to change it at any time to a valid FQDN that resolves to the server. Can you elaborate on the security implications you're referencing here? 0 -
We use post-install scripts and the hostname does not resolve at installation time. Also it messes with our deployment system. It would be nice to be able to disable at installation time with an argument. 0
Please sign in to leave a comment.
Comments
5 comments