Please fill out the fields below so we can help you better. Note: you must provide your domain name to get help. Domain names for issued certificates are all made public in Certificate Transparency logs (e.g. crt.sh | example.com), so withholding your domain name here does not increase secrecy, but only makes it harder for us to provide help.
It produced this output:certbot [SUBCOMMAND] [options] [-d DOMAIN] [-d DOMAIN] ...
Certbot can obtain and install HTTPS/TLS/SSL certificates. By default,
it will attempt to use a webserver both for obtaining and installing the
certificate.
certbot: error: unrecognized arguments: -grithealthfitness.com
My web server is (include version): Apache HTTP Server Ubuntu 20.04.3 LTS (GNU/Linux 5.4.0-88-generic x86_64)
The operating system my web server runs on is (include version): Microsoft Windows 10 Home 10.0.19042 N/A Build 19042
My hosting provider, if applicable, is:
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):
The version of my client is (e.g. output of certbot --version or certbot-auto --version if you're using Certbot):(0.39.0-1)
Hi , thanks for your response. I just tried it now, this is the response i got
root@wordpress-ubuntu-s-1vcpu-1gb-intel-nyc1-01:~# sudo certbot --apache -d grithealthfitness.com -d www.grithealthfitness.com
Saving debug log to /var/log/letsencrypt/letsencrypt.log
Plugins selected: Authenticator apache, Installer apache
Obtaining a new certificate
Performing the following challenges:
http-01 challenge for grithealthfitness.com
http-01 challenge for www.grithealthfitness.com
Waiting for verification...
Cleaning up challenges
Created an SSL vhost at /etc/apache2/sites-enabled/000-default-le-ssl.conf
Enabled Apache socache_shmcb module
Enabled Apache ssl module
Deploying Certificate to VirtualHost /etc/apache2/sites-enabled/000-default-le-ssl.conf
We were unable to find a vhost with a ServerName or Address of www.grithealthfitness.com.
Which virtual host would you like to choose?
Hi there, sorry for the late response. This was the result i got after inputting sudo apachectl -t -D DUMP_VHOSTS
root@wordpress-ubuntu-s-1vcpu-1gb-intel-nyc1-01:~# sudo apachectl -t -D DUMP_VHOSTS
AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1. Set the 'ServerName' directive globally to suppress this message
VirtualHost configuration:
*:80 gritheathfitness.com (/etc/apache2/sites-enabled/000-default.conf:4)