Letsencrypt hostname changed

The hostname was changed for the server.
All working fine except Letsencrypt.
When i run "letsencrypt.sh request server.NEWdomain.com 4096" it is gettings certs for the old domain/hostname.
Any thoughts?

[root@ultron scripts]# ./letsencrypt.sh request server.NEWdomain.com 4096
Setting up certificate for a hostname: server.NEWdomain.com
Getting challenge for server.OLDdomain.com from acme-server…
Waiting for domain verification…
Challenge is valid.
Getting challenge for www.server.OLDdomain.com from acme-server…
Waiting for domain verification…
Challenge is valid.
Getting challenge for mail.server.OLDdomain.com from acme-server…
Waiting for domain verification…
Challenge is valid.
Getting challenge for ftp.server.OLDdomain.com from acme-server…
Waiting for domain verification…
Challenge is valid.
Getting challenge for pop.server.OLDdomain.com from acme-server…
Waiting for domain verification…
Challenge is valid.
Getting challenge for smtp.server.NEWdomain.com from acme-server…
Waiting for domain verification…
Challenge is valid.
Generating 4096 bit RSA key for server.NEWdomain.com…
openssl genrsa 4096 > "/usr/local/directadmin/conf/cakey.pem.new"
Generating RSA private key, 4096 bit long modulus
………………………………………………………….++
………………………………………………………………..++
e is 65537 (0x10001)
Size of certificate response is smaller than 500 characters, it means something went wrong. Printing response…
"detail": "Error creating new cert :: Authorizations for these names not found or expired: server.NEWdomain.com"