Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| obtain_let_s_encrypt_trusted_tls_certificate [23 June 2025 / 18:30:41] – [Let's Encrypt TLS Certificate] kadek | obtain_let_s_encrypt_trusted_tls_certificate [23 June 2025 / 19:29:39] (current) – [Using webroot Plugin] kadek | ||
|---|---|---|---|
| Line 23: | Line 23: | ||
| sudo nano / | sudo nano / | ||
| + | sudo ln -s / | ||
| * And paste the following lines into the file: | * And paste the following lines into the file: | ||
| < | < | ||
| - | | + | |
| - | + | DocumentRoot /var/www/vpn.example.com | |
| - | | + | < |
| + | | ||
| + | | ||
| + | | ||
| + | </Directory> | ||
| </ | </ | ||
| * Save and close the file. Then create the web root directory: | * Save and close the file. Then create the web root directory: | ||
| - | sudo mkdir /var/www/html | + | sudo mkdir /var/www/vpn.example.com |
| * Set www-data (Apache user) as the owner of the web root: | * Set www-data (Apache user) as the owner of the web root: | ||
| - | sudo chown www-data: | + | sudo chown -R www-data: |
| * Enable this virtual host: | * Enable this virtual host: | ||
