I have a question regarding http configuration.
i have nethserver with nextcloud installed on it, and I already forward traffic from external ip to nethserver ip. How to prevent the welcome site with link to server administration to show up as the first site? I would like to forward it directly to nextcloud.
I just want to mention that Nethserver Nextcloud has a custom virtual host function:
http://docs.nethserver.org/en/v7/nextcloud.html#custom-virtual-host
To redirect to Nextcloud instead of showing the default page you may create the file /var/www/html/index.php
with following content:
<?php
header ("location: https://yourdomain.com/nextcloud");
?>
Found in this thread.
3 Likes