Adding new domain
-
I’m trying to add a domain hosted at namecheap.com. I already have one domain from namecheap setup on Cloudron. Using the same API, with my IP whitelisted, I get this error:
Configuration error: Invalid response: {"$":{"Status":"OK","xmlns":"http://api.namecheap.com/xml.response"},"Errors":[""],"Warnings":[""],"RequestedCommand":["namecheap.domains.dns.gethosts"],"CommandResponse":[{"$":{"Type":"namecheap.domains.dns.getHosts"},"DomainDNSGetHostsResult":[{"$":{"Domain":"ifdogsranfree.net","EmailType":"NONE","IsUsingOurDNS":"true"}}]}],"Server":["PHX01APIEXT13"],"GMTTimeDifference":["--4:00"],"ExecutionTime":["0.143"]}}
Any help much appreciated!
-
@qimmiq Just quickly reading the upstream docs at https://www.namecheap.com/support/api/methods/domains-dns/get-hosts/ and also the code, it looks like maybe the issue is that the domain is completely empty in namecheap? Can you add a DNS entry in namecheap (any dummy entry is fine) and try if it works after that? If it works, then I think we have to fix our code.