i have fixed the issue now i am getting this messsage
ubuntu@melochenator:~$ sudo certbot-auto certonly -a webroot --webroot-path=/var/www/melochenator.com/www/html/ -d melochenator.com -d www.melochenator.com
Saving debug log to /var/log/letsencrypt/letsencrypt.log
Plugins selected: Authenticator webroot, Installer None
Cert not yet due for renewal
You have an existing certificate that has exactly the same domains or certificate name you requested and isn’t close to expiry.
(ref: /etc/letsencrypt/renewal/melochenator.com.conf)
What would you like to do?
1: Keep the existing certificate for now
2: Renew & replace the cert (limit ~5 per 7 days)
Select the appropriate number [1-2] then [enter] (press ‘c’ to cancel): 2
Renewing an existing certificate
Performing the following challenges:
http-01 challenge for melochenator.com
http-01 challenge for www.melochenator.com
Using the webroot path /var/www/melochenator.com/www/html for all unmatched domains.
Waiting for verification…
Cleaning up challenges
Failed authorization procedure. www.melochenator.com (http-01): urn:ietf:params:acme:error:unauthorized :: The client lacks sufficient authorization :: Invalid response from http://www.melochenator.com/.well-known/acme-challenge/l_rjx6Zy-DES4C48o57HWbkN73QN_1a-Of37lx-CtbM: “\r\n400 The plain HTTP request was sent to HTTPS port\r\n<body bgcolor=“white”>\r\n
400 B”
IMPORTANT NOTES:
-
The following errors were reported by the server:
Domain: www.melochenator.com
Type: unauthorized
Detail: Invalid response from
http://www.melochenator.com/.well-known/acme-challenge/l_rjx6Zy-DES4C48o57HWbkN73QN_1a-Of37lx-CtbM:
“\r\n400 The plain HTTP request was sent to
HTTPS port\r\n<body
bgcolor=“white”>\r\n400 B”
To fix these errors, please make sure that your domain name was
entered correctly and the DNS A/AAAA record(s) for that domain
contain(s) the right IP address.