i need to move a website from webinoly to a new server that has installed virtualmin the domain already has ssl with lets encrypt and both servers have nginx
i created the domain with ssl in the new server but when i tried to get a new certificate i had this message that i write at the end
since i can not issue a new ssl i believe that i have to copy the old one
but the problem is that i have no idea what to copy from where to which directory or file in my new server
My domain is:mamadisio.gr
the error message is:
Saving debug log to /var/log/letsencrypt/letsencrypt.log
Plugins selected: Authenticator webroot, Installer None
Obtaining a new certificate
Performing the following challenges:
http-01 challenge for mamadidio.gr
Using the webroot path /home/mymamadisiogr/public_html for all unmatched domains.
Waiting for verification...
Challenge failed for domain mamadidio.gr
http-01 challenge for mamadidio.gr
Cleaning up challenges
Some challenges have failed.
IMPORTANT NOTES:
The following errors were reported by the server:
Domain: mamadidio.gr
Type: dns
Detail: DNS problem: NXDOMAIN looking up A for mamadidio.gr - check
that a DNS record exists for this domain
i believe i was not clear.
My domain mamadisio.gr has an ssl with ip 139.162.168.101 that i had automatically obtain whith webinily
now i moved the domain at another server with another ip that virtualmin is installed, but i couldn't get another ssl with letsencrypt, obviously because it still has the old certificate in the old server
What should i do to move the ssl to the new server ?
can i delete the first ssl certificate and create a new one for the same domain? or i have to copy some files with the certificate to the new server from the old one?
my domain mamadisio.gr has the correct dns in cloudflare
if you ping it, it is
Pinging mamadisio.gr [172.104.205.240] with 32 bytes of data:
Reply from 172.104.205.240: bytes=32 time=68ms TTL=53
Reply from 172.104.205.240: bytes=32 time=67ms TTL=53
Reply from 172.104.205.240: bytes=32 time=69ms TTL=53
Reply from 172.104.205.240: bytes=32 time=70ms TTL=53
the correct ip of the new server