It produced this output: PluginError: Unable to find a virtual host listening on port 80 which is currently needed for Certbot to prove to the CA that you control your domain. Please add a virtual host for port 80
My web server is (include version):Apache/2.4.6 (CentOS)
The operating system my web server runs on is (include version): CentOS Linux 7 (Core)
My hosting provider, if applicable, is: Self-managed VPS (HudsonValleyHost)
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
sudo yum install certbot-apache went fine. I got the above error.
NOTE: I previously tried this, and wound up with a host self-signed certificate. I uninstalled via yum at that time. My site, www.robjvargas.com, is reachable via HTTP.
While thatās definitely one issue, a bigger one is that I canāt even seem to resolve your domain name. At the very least, youāll need to get DNS set up before you can do anything.
Ideally, both the domain and the Web site (www). This was partly an exercise in getting to know Linux, but the site will be a blog once I get some more configuring done.
If you added an A record for robjvargas.com 2 hours ago, then you need to re-check what you did because your authoritative dns servers don't provide the new A record for robjvargas.com and they should.
See, this is what happens when I build things from the ground up. I learn things that I had never configured before. In this case, according to my registrar, I needed a CNAME record. I didnāt have one. As I said previously, I created an A record for www.
So⦠done. Iāll give it a few hours to propagate.
You donāt need a CNAME - an A record would work just fine as well. Usually, youāll specify the base domain (robjvargas.com) as ā@ā, like you specify www.robjvargas.com as āwwwā when creating the records.
Okay, got past this issue. DNS updated, and I needed to create a virtual host (NOTE! there is no such thing as ServierAlias. LOL)
@jared.m: understood that I donāt need CNAME. Thatās why I reported that my registrar said that. Still, DNS looks configured. Iāll leave it as long as itās not causing problems (I donāt anticipate any).
I have a new problem. This oneās my fault. I mentioned up-thread that I changed my hostname after uninstalling certbot. But the original hostname cert is still in effect.
For now, I know certbot and SSL are working. Iāll tackle the ānewā problem tonight or tomorrow.