Install Config Wiki

All about installing, configuring and troubleshooting

User Tools

Site Tools


setup_apache2_virtual_host_domain_running_nextcloud_27

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
setup_apache2_virtual_host_domain_running_nextcloud_27 [2023/06/21 19:05] wikiadminsetup_apache2_virtual_host_domain_running_nextcloud_27 [2023/06/21 21:57] (current) wikiadmin
Line 3: Line 3:
 Adding a new apache/httpd virtual host configuration for Nextcloud. Adding a new apache/httpd virtual host configuration for Nextcloud.
  
-Caution:  You may need to first install the letsencrypt architecture before using the virtual host SSL configuration below.+**Caution:  You may need to first install the Letsencypt certbot tool for generating SSL Letsencrypt and install the letsencrypt directory paths architecture before creating or enabling symlinks to the virtual host SSL configuration file provided below.** 
 +See: [[install_letsencypt_certbot_tool_ubuntu_server_22_04|Install the letsencypt certbot tool on Ubuntu Server 22 04]]
  
 1. Change the working directory to "/etc/apache2/sites-available/" and create new configuration "nextcloud.conf" using vim or nano. 1. Change the working directory to "/etc/apache2/sites-available/" and create new configuration "nextcloud.conf" using vim or nano.
Line 13: Line 14:
  
 Change the detail domain name and SSL path directory to your own and paste the configuration to the "nextcloud.conf" file. Change the detail domain name and SSL path directory to your own and paste the configuration to the "nextcloud.conf" file.
 +
 +
 +This sample virtual host file was posted at [[https://www.howtoforge.com/how-to-install-nextcloud-on-debian-11/]]
  
 <code> <code>
Line 63: Line 67:
 </code> </code>
  
-If using vim, press the ESQ button to exit vim's INS mode, and enter **:w** [enter] to save edits, and then enter **:q!** to exit Vim.  If using Nano, Press "Ctrl+x" and type "Y", then press 'Enter' to save the configuration and exit.+If using vim, press the ESC button to exit vim's INS mode, and enter **:w** [enter] to save edits, and then enter **:q!** to exit Vim.  If using Nano, Press "Ctrl+x" and type "Y", then press 'Enter' to save the configuration and exit.
  
 2. Now activate the 'nextcloud.conf' virtual host configuration by executing the following command. 2. Now activate the 'nextcloud.conf' virtual host configuration by executing the following command.
setup_apache2_virtual_host_domain_running_nextcloud_27.1687374313.txt.gz · Last modified: 2023/06/21 19:05 by wikiadmin