I have nextcloud on rocky linux with Apache HTTP Server. I want to reach nextcloud with http://192.168.1.8/nextcloud this does not work for me. I can get to nextcloud with http://192.168.1.8
Any Idea what I have done wrong?
You have done nothing wrong, you just did a different settup.
You have to add an alias like described here
I have nextcloud in /var/www/html/nextcloud
nano /etc/httpd/conf.d/nextcloud.conf
<VirtualHost *:80>
DocumentRoot /var/www/html/nextcloud/
ServerName 192.168.1.8
<Directory /var/www/html/nextcloud/>
Require all granted
AllowOverride All
Options FollowSymLinks MultiViews
<IfModule mod_dav.c>
Dav off
</IfModule>
I rechecked my information and now I get a
Not Found
The requested URL was not found on this server.
I have it working so far with
vim /etc/httpd/conf/nextcloud.conf
<VirtualHost *:80>
Alias /nextcloud /var/www/html/nextcloud/
<Directory /var/www/html/nextcloud/>
Require all granted
AllowOverride All
Options FollowSymLinks MultiViews
<IfModule mod_dav.c>
Dav off
</IfModule>
</Directory>
sudo ln -s /etc/httpd/conf/nextcloud.conf /etc/httpd/conf.d/nextcloud.conf