How do we change the name of Nextcloud to be something else in the address?

You need to add an extra configuration file for httpd:

  • copy and modify current nextcloud configuration
cp /etc/httpd/conf.d/nextcloud.conf /etc/httpd/conf.d/myconf.conf
  • add the new file to configuration backup:
echo  "/etc/httpd/conf.d/myconf.conf" >> /etc/backup-config.d/nethserver-backup-config.include
  • Restart the web server:
systemctl restart httpd

This part is not customizable, changes will be lost after an update.
By the way, if you’re still interested in doing it, this is the relevant file:

Take a look here: http://docs.nethserver.org/projects/nethserver-devel/en/v7/nethserver-httpd-admin.html#customization

1 Like