Changing domain on VM

I’ve got a Ubuntu server which I’ve setup using the scripts.

I want to change my subdomain from to, how do I go about doing that without breaking anything?


That should be an entry in the VirtualHost config, check the files in /etc/apache2/sites-available. Change the Hostname there, and also change the trusted_domains entry in the nextcloud config.

  1. Disable the current config with a2dissite
  2. Download the latest ssl script and run it with sudo bash

Hope it helps!

Worked, thanks :slight_smile:

1 Like