Skip to main content

cPanel create additional domain domain_name.tld.server-ip.cprapid.com

Comments

6 comments

  • henker

    As I have a similar issue in https://support.cpanel.net/hc/en-us/community/posts/27992545653399-cprapid-hostnames-in-Apache-vhosts - I'm wondering - are all these domain_name.tld.server-ip.cprapid.com parked on top of the "real" domains ?

    In my case, they were all parked on top the the "real" domains and I could "unpark" them - domain_name.tld.server-ip.cprapid.com certificates are not generated/requested anymore now, but the ServerAliases still show up in the httpd.conf.

     

     

     

     

    0
  • William Del Piero cPanel Staff

    Hi,

     

    The cprapid.com parked domains are a new feature intended to help preview domains before the DNS is set up. With that said, we do understand that adding these domains can negatively impact AutoSSL with ratelimits. Our developers are currently working towards a fix for this issue in our internal case CPANEL-46086.

     

    As a workaround, you can remove the parked domain via the Domains page in cPanel, then re-add the domain via Domains, ensure “share document root” is disabled. Then, set the document root to the same as the primary domain (ie public_html) to have the same content displayed as the primary domain.

    0
  • henker

    So how can we get rid of the .cprapid.com domains once and for all ?

    I unparked all of them and yet they still show up as ServerAliases in httpd.conf .

     

    0
  • silverhost

    William Del Piero can you validate in that case if my script is safe to use?

    https://gist.github.com/gonzariosm/c7c1a86def9c7c8ef41a1a43cacd5bae

    Here I'm using the following command

    whmapi1 --output=jsonpretty delete_domain domain=XXXX.cprapid.com

    Cheers,
    Gonzalo

    0
  • henker

    silverhost - thanks, I also had a look at your script earlier, but since there are no parked/addon .cprapid.com domains listed anymore, the whmapi1 call doesn't remove anything, since there is nothing to delete.

    {
       "data" : {
          "type" : null,
          "username" : null
       },
       "metadata" : {
          "command" : "delete_domain",
          "reason" : "OK",
          "result" : 1,
          "version" : 1
       }
    }

    At least there are no certs generated for those domains anymore, yet they still show up as serveraliases.

    Am I the only one who has an issue with the .cprapid domain ? There's a good reason I have my sites behind Cloudflare and all of a sudden I have these bots pestering on my origins as in
    https://urlscan.io/search/#page.domain:%22cprapid.com%22 - the whole thing should be optional.
    I see how and why cPanel implemented this resolver, but this causes more headache than doing any good.

     

     

     

     

    0
  • cPRex Jurassic Moderator

    If your script is just using the whmapi call, I don't see why that wouldn't be safe.  We do have a public article posted about this now you can follow along with here:

    https://support.cpanel.net/hc/en-us/articles/27772003203607-cprapid-com-Subdomains-Added-to-ServerAlias

    but at this time there isn't a more official workaround other than "remove the domains" until our team fixes the issue.  I do see that it has been assigned to a development team and there is some discussion happening, but that's all I have to report at this time.

    0

Please sign in to leave a comment.