Both sides previous revisionPrevious revisionNext revision | Previous revision |
computing:apachesurvival [2021/11/10 03:48] – oemb1905 | computing:apachesurvival [2024/02/20 23:00] (current) – oemb1905 |
---|
* **Jonathan Haack** | * **Jonathan Haack** |
* **Haack's Networking** | * **Haack's Networking** |
* **netcmnd@jonathanhaack.com** | * **webmaster@haacksnetworking.org** |
| |
------------------------------------------- | ------------------------------------------- |
Append something like this to the bottom: | Append something like this to the bottom: |
| |
xxx.xxx.xxx.xxx site1.com hostname | xxx.xxx.xxx.xxx site1.com site1 |
| |
Make sure to do this for each domain. Check your configurations up until now and then restart the service and check if it starts: | Make sure to do this for each domain. Check your configurations up until now and then restart the service and check if it starts: |
sudo a2ensite site2.com-ssl.conf | sudo a2ensite site2.com-ssl.conf |
| |
Visit both sites using Firefox, and ensure they resovle - if not, check each step and debug. Remember, you can trust the browser warning, because you set this cert up! However, for others to access your site, you need to use a trusted authority like Let's Encrypt. Here's how we do this: | Visit both sites using Firefox, and ensure they resolve - if not, check each step and debug. Remember, you can trust the browser warning, because you set this cert up! However, for others to access your site, you need to use a trusted authority like Let's Encrypt. Here's how we do this: |
| |
sudo apt install certbot letsencrypt python3-certbot-apache | sudo apt install certbot letsencrypt python3-certbot-apache |
Awesome! You now have to super basic websites that both resolve and use TLS. Now, consider replacing those basic website shells with some type of CMS or other content. Here are some examples that I provide: | Awesome! You now have to super basic websites that both resolve and use TLS. Now, consider replacing those basic website shells with some type of CMS or other content. Here are some examples that I provide: |
| |
* [[https://wiki.haacksnetworking.com/doku.php?id=computing:selfhostedwp|Self-Hosted Word Press]] | * [[https://wiki.haacksnetworking.org/doku.php?id=computing:selfhostedwp|Self-Hosted Word Press]] |
* [[https://wiki.haacksnetworking.com/doku.php?id=computing:migratewp|Manually Migrating Word Press]] | * [[https://wiki.haacksnetworking.org/doku.php?id=computing:migratewp|Manually Migrating Word Press]] |
* [[https://wiki.haacksnetworking.com/doku.php?id=computing:nextcloud|Nextcloud]] | * [[https://wiki.haacksnetworking.org/doku.php?id=computing:nextcloud|Nextcloud]] |
* [[https://wiki.haacksnetworking.com/doku.php?id=computing:moodle|Moodle]] | * [[https://wiki.haacksnetworking.org/doku.php?id=computing:moodle|Moodle]] |
* [[https://wiki.haacksnetworking.com/doku.php?id=computing:dokuwiki|Dokuwiki]] | * [[https://wiki.haacksnetworking.org/doku.php?id=computing:dokuwiki|Dokuwiki]] |
* [[https://wiki.haacksnetworking.com/doku.php?id=computing:smokeping|Smokeping]] | * [[https://wiki.haacksnetworking.org/doku.php?id=computing:smokeping|Smokeping]] |
* [[https://wiki.haacksnetworking.com/doku.php?id=computing:cactiwebserver|Cacti]] | * [[https://wiki.haacksnetworking.org/doku.php?id=computing:cactiwebserver|Cacti]] |
* [[https://wiki.haacksnetworking.com/doku.php?id=computing:gitlab-ce|Gitlab-ce]] (requires extensive mods) | * [[https://wiki.haacksnetworking.org/doku.php?id=computing:gitlab-ce|Gitlab-ce]] (requires extensive mods) |
| |
This tutorial is a designated "Invariant Section" of the "Technotronic" section of Haack's Wiki as described on the [[https://jonathanhaack.com/dokuwiki/doku.php?id=start|Start Page]]. | This tutorial is a designated "Invariant Section" of the "Technotronic" section of Haack's Wiki as described on the [[https://wiki.haacksnetworking.org/doku.php?id=start|Start Page]]. |
| |
--- //[[jonathan@haacksnetworking.com|oemb1905]] 2021/10/29 20:14// | --- //[[webmaster@haacksnetworking.org|oemb1905]] 2024/02/20 23:00// |