Skip to main content

Disable cprapid hostname on setup

Comments

5 comments

  • cPanelLauren
    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
  • jimmystack
    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
  • cPanelLauren
    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
  • imorandin
    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
  • cPRex Jurassic Moderator
    @imorandin - Thanks for the additional details. We do have a case in with our developers that is mentioned in this article:
    0

Please sign in to leave a comment.