This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
computing:apachesurvival [2020/03/27 13:24] – oemb1905 | computing:apachesurvival [2021/10/31 05:06] – oemb1905 | ||
---|---|---|---|
Line 193: | Line 193: | ||
Visit both sites using Firefox, and ensure they resovle. | Visit both sites using Firefox, and ensure they resovle. | ||
- | sudo apt install certbot letsencrypt | + | sudo apt install certbot letsencrypt |
sudo certbot --authenticator standalone --installer apache -d site1.com --pre-hook " | sudo certbot --authenticator standalone --installer apache -d site1.com --pre-hook " | ||
+ | | ||
+ | This certbot command can be adjusted for nginx instances too: | ||
+ | |||
+ | sudo certbot --authenticator standalone --installer nginx -d site1.com --pre-hook " | ||
Run the second command again, but adjust it for site2.com. | Run the second command again, but adjust it for site2.com. | ||
Line 289: | Line 293: | ||
This tutorial is a designated " | This tutorial is a designated " | ||
- | --- // | + | --- // |