Hallo i have followed this tutorial How to Install Nextcloud on Debian 12 This tutorial will show you how to install Nextcloud on a Debian 12 server. You will install Nextcloud with Apache2 web server, MariaDB server, and PH... www.howtoforge.com have done on the server in ispconfig DNS als A record 10.18.14.178 nxtcld-04 at the point where it show the apache2 conf file i have 1 <VirtualHost *:80> 2 ServerName nxtcld-04.kozo.ch 3 DocumentRoot /var/www/nextcloud/ 4 5 # log files 6 ErrorLog /var/log/apache2/files.kozo.ch-error.log 7 CustomLog /var/log/apache2/files.kozo.ch-access.log combined 8 9 <Directory /var/www/nextcloud/> 10 Options +FollowSymlinks 11 AllowOverride All 12 13 <IfModule mod_dav.c> 14 Dav off 15 </IfModule> 16 17 SetEnv HOME /var/www/nextcloud 18 SetEnv HTTP_HOME /var/www/nextcloud 19 </Directory> 20 </VirtualHost> sudo systemctl restart apache2 http://nxtcld-04.kozo.ch/ the page is only showing the default homepage of Apache2 Debian Default Page what is wrong with my conf file? have a nice day vinc
Have you followed the tutorial, including this part Code: sudo a2ensite nextcloud.conf sudo apachectl configtest If there are errors in the conf, configtest shows them. (please post code and listings in CODE tags). Then restart apache so the new virtualhost takes effect Code: systemctl restart apache2
@Taleman thanks for your feedback yes i have done so Code: <VirtualHost *:80> DocumentRoot /var/www/nextcloud/ ServerName nxtcld-04.kozo.ch # log files ErrorLog /var/log/apache2/files.hwdomain.io-error.log CustomLog /var/log/apache2/files.hwdomain.io-access.log combined <Directory /var/www/nextcloud/> Options +FollowSymlinks AllowOverride All <IfModule mod_dav.c> Dav off </IfModule> SetEnv HOME /var/www/nextcloud SetEnv HTTP_HOME /var/www/nextcloud </Directory> </VirtualHost> Code: root@nxtcld-04:/etc/apache2/sites-available# a2ensite nextcloud.conf Site nextcloud already enabled root@nxtcld-04:/etc/apache2/sites-available# apachectl configtest Syntax OK root@nxtcld-04:/etc/apache2/sites-available# systemctl restart apache2 root@nxtcld-04:/etc/apache2/sites-available#
Do you have other vhosts on this server in Apache that use an IPv4 address instead of * for the IPv4 address?
no there is only this VM with Nextcloud all new installed https://www.howtoforge.com/tutorial/debian-minimal-server/ and after this How to Install Nextcloud on Debian 12