DEV Community

Discussion on: Stating The "Obvious"

Collapse
 
nektro profile image
Meghan (she/her)

I just had a moment so dumb I had to come on and post this. So I have a sever I setup in my basement to route from a subdomain on my website. I had port forwarded 80 and used an .htaccess rewrite to even make sure IP based requests were using the domain name instead. Now here comes my obvious moment. I then wanted to add SSL to the server and bless the people over at Let's Encrypt for making this so easy. I tried running their basic setup command certbot --apache and it failed. Over and over complaining about how it couldn't reach the server. I thought maybe the CNAME isn't working properly so I went onto TOR and went to my domain and the page loads. I couldn't figure it out. Then it hit me.

I hadn't port forwarded 443. Then I ran the setup again and it ran flawlessly.