It’s shame but I have lost almost all data from a server. The only one thing I’ve got is /etc/apache2 folder.
now I’m trying to sort out the certificate for my domain at the new server. After 2 days I haven’t found a solution yet.
- Is there a way to get back old keys and account?
- Can I use my domain name before certificate expiry?
=======================================================================
My domain is: karolburda.com
I ran this command: sudo certbot certonly --webroot -w karolburda.com/public_html -d karolburda.com -d www.karolburda.com
It produced this output:
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 karolburda.com
http-01 challenge for www.karolburda.com
Using the webroot path karolburda.com/public_html for all unmatched domains.
Waiting for verification…
Cleaning up challenges
Failed authorization procedure. karolburda.com (http-01): urn:acme:error:connection :: The server could not connect to the client to verify the domain :: Fetching https://karolburda.com/.well-known/acme-challenge/wXxAXOE6A6QMTl92troqMxCla1YlZjkM7aXnzKZmYQw: Connection refused, www.karolburda.com (http-01): urn:acme:error:connection :: The server could not connect to the client to verify the domain :: DNS problem: NXDOMAIN looking up A for www.karolburda.com
IMPORTANT NOTES:
-
The following errors were reported by the server:
Domain: karolburda.com
Type: connection
Detail: Fetching
https://karolburda.com/.well-known/acme-challenge/wXxAXOE6A6QMTl92troqMxCla1YlZjkM7aXnzKZmYQw:
Connection refusedDomain: karolburda.com
Type: connection
Detail: Fetching
https://karolburda.com/.well-known/acme-challenge/OnW0p7VixdhTPN43MoX0vb0qdYPfi8pxdo_GAXzidJY:
Connection refusedTo 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. Additionally, please check that
your computer has a publicly routable IP address and that no
firewalls are preventing the server from communicating with the
client. If you’re using the webroot plugin, you should also verify
that you are serving files from the webroot path you provided.
My web server is (include version): Apache/2.4.18
The operating system my web server runs on is (include version): Ubuntu 16.04.3 LTS - xenial
My hosting provider, if applicable, is: DigitalOcean
I can login to a root shell on my machine (yes or no, or I don’t know): Yes
I’m using a control panel to manage my site (no, or provide the name and version of the control panel): No