how do I do all of that
You don't know how to do any of those things?
well for the first step I assume that I've already done it (refer to the picture I posted above in the thread);
I'm pretty sure that ports 80 and 443 are allowed (used both ufw and iptables);
Nginx should be listening to port 80 and 443, I didn't touch the configuration after running
sudo openssl --nginx
I don't know what "SSL on" means.
I guess the "how do I do all of that" was just a request for explicit instructions in case I had done something incorrectly
Ok the first two seem to have been taken care of.
Let's focus on the third:
Let's have a look at your
Please upload the output of:
sudo nginx -T
Do you have a SECOND PC with a web browser on your network? If you do then you should be able to run tests from there. Get your router completely out of the picture for starters.
This is what i think you should do:
Setup your second PC (windows is fine) and put your webserver name in it's hosts files.
Wipe your webserver and start over (no telling what you have messed up with by now on it)
Get your webserver setup to where you can surf port 80 on it from your second PC
run certbot by the book and configure your webserver for SSL. Verify you can surf both the regular http and the ssl https port from your second PC
If you can't do all of this then no amount of messing around with port forwards on your router is going to do squat.
Once you get all that working THEN setup the port forwards on your router and see if you can access your webserver from the Internet. You can do this yourself from one of the many website testers out there like the w3c tester
Obviously if you don't want to tear into your server you can try this without doing that.
UPDATE: I tried installing nginx and certbot on my (arch linux) laptop out of all thing and IT WORKED at my first attemp! So I guess that the issue must be with my desktop, maybe something that I disabled in the BIOS long ago? I can't find an explanation as to why it wouldn't work
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.