Bien sûr !
J'ai commencé par modifier le fichier hosts
127.0.0.1 localhost
127.0.0.1 nextcloud
127.0.1.1 server1.domint.com Server1
# The following lines are desirable for IPv6 capable hosts
::1 localhost ip6-localhost ip6-loopback
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
puis déclaré le fichier nextcloud.conf à partir d'un exemple trouvé sur le net :
<VirtualHost *:80>
ServerAdmin sysadmin@mydomain.com
ServerName server1.domint.com
ServerAlias nc.server1.domint.com
DocumentRoot "/var/www/nextcloud/"
DirectoryIndex index.html index.php
<Directory "/var/www/nextcloud/">
Options Indexes FollowSymLinks MultiViews
AllowOverride None
Order allow,deny
Allow from all
</Directory>
ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
<Directory "/usr/lib/cgi-bin">
AllowOverride None
Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
Order allow,deny
Allow from all
</Directory>
#ServerSignature Off
ErrorLog ${APACHE_LOG_DIR}/nc.server1.domint.com.log
LogLevel warn
CustomLog ${APACHE_LOG_DIR}/nc.server1.domint.com.log combined
Alias /doc/ "/usr/share/doc/"
<Directory "/usr/share/doc/">
Options Indexes MultiViews FollowSymLinks
AllowOverride None
Order deny,allow
Deny from all
Allow from 127.0.0.0/255.0.0.0 ::1/128
</Directory>
A partir d'un laptop connecté au même LAN, je saisis directement : 192.168.1.115/nextcloud --> error 404, mais 192.168.1.115 seul me conduit bien au default site !
Merci d'avance pour ton aide !