cPanel create additional domain domain_name.tld.server-ip.cprapid.com
For some reason, my server has created an additional domain called domain_name.tld.server-ip.cprapid.com for all domains. What is the reason for this?
This server was configured a couple of years ago and its hostname has always been configured correctly.
I noticed this error because Let's Encrypt started to fail due to reaching the rate limit.
WARN AutoSSL failed to create a new certificate order because the server’s Let’s Encrypt account (https://acme-v02.api.letsencrypt.org/acme/acct/2070344247) has reached a rate limit. (429 urn:ietf:params:acme:error:rateLimited (The request exceeds a rate limit) (too many certificates (50) already issued for "162-0-210-XXX.cprapid.com" in the last 168h0m0s, retry after 2024-11-22 21:46:13 UTC: see https://letsencrypt.org/docs/rate-limits/#new-certificates-per-registered-domain)) You may contact Let’s Encrypt to request a change to this rate limit.
This is causing problems, so I have created this script to delete those domains, but I would like someone from the team to confirm what is causing this problem.
> https://gist.github.com/gonzariosm/c7c1a86def9c7c8ef41a1a43cacd5bae
Lastly I see a ticket regarding this, but it has been updated.
Cheers,
Gonzalo
-
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 -
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 -
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 -
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,
Gonzalo0 -
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 -
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:
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.
Comments
6 comments