Support for .co.uk Namecheap domain
-
Hello,
Would there be a reason why cloudron is not able to detect .co.uk domains sitting on Namecheap? I'm getting the error "Configuration error: Domain name not found".
I noticed the issue when I set up cloudron for the first time a couple of weeks ago, so I went ahead with a .com domain.
I've gone back to try and install on the .co.uk domain and I'm still getting the same error.
Confirmed other .com domains work fine.
.org domain works fine.
.org.uk works.Thanks
-
FYI I've done a simple get request over the API and I can see all of my domains listed in the response.
@cdrm I found a similar issue at https://github.com/acmesh-official/acme.sh/issues/3187 . That suggests that this might be a pagination issue or a TLD query parameter issue. Looks like the latter might the case in our code.
-
https://git.cloudron.io/cloudron/box/-/commit/6cdb448f6249f065fa231f20d27fea88aa0f919d should fix it.
@cdrm if you can test it out, you have to edit the file
/home/yellowtent/box/src/dns/namecheap.js
and thensystemctl restart box
-
G girish marked this topic as a question on
-
I'm getting a different error now:
Configuration error: The domain (mydomain.co) doesn't seem to be associated with your account.It appears there's something wrong with the slicing concatenating somewhere.
-
Got it working. Tested for both .co.uk and .com domains.
See line 92 -- there is a second instance of code that needs to be updated as per your initial update.
@cdrm thanks for testing and identifying the other place as well! I have fixed that too.
-
G girish has marked this topic as solved on
-
N nebulon referenced this topic on