Unauthorized Invalid response from /.well-known/acme-challenge

I am still facing error.

sudo certbot --nginx

Saving debug log to /var/log/letsencrypt/letsencrypt.log

Which names would you like to activate HTTPS for?
We recommend selecting either all domains, or all domains in a VirtualHost/server block.


1: xxxx.link
2: www.xxxx.link


Select the appropriate numbers separated by commas and/or spaces, or leave input
blank to select all options shown (Enter 'c' to cancel):
Requesting a certificate for surfbeverage.link and www.xxxx.link

Certbot failed to authenticate some domains (authenticator: nginx). The Certificate Authority reported these problems:
Domain: xxxx.link
Type: dns
Detail: no valid A records found for xxxx.link; no valid AAAA records found for xxxx.link

Domain: www.xxxx.link
Type: unauthorized
Detail: 00.00.000.000: Invalid response from http://www.xxxx.link/.well-known/acme-challenge/7cLXDfTv3olu5Exdr8ql-6pkcbXB9EHQrMzt9JvXl20: "\n<html lang="en">\n\n\n <link rel="shortcut icon" sizes="114x70" href="http://www.xxxx.link/img/logo."

Hint: The Certificate Authority failed to verify the temporary nginx configuration changes made by Certbot. Ensure the listed domains point to this nginx server and that it is accessible from the internet.

Some challenges have failed.
Ask for help or search for solutions at https://community.letsencrypt.org. See the logfile /var/log/letsencrypt/letsencrypt.log or re-run Certbot with -v for more details.