Hello,
I’m running Nextcloud AIO with Docker. My instance was originally set up with the old domain, but now I want to change it to new domain
.
I followed the documentation and edited the configuration.json
file inside the mastercontainer using:
sudo docker run -it --rm \
--volume nextcloud_aio_mastercontainer:/mnt/docker-aio-config:rw \
alpine sh -c "apk add --no-cache nano && nano /mnt/docker-aio-config/data/configuration.json"
I replaced the old domain with the new one, saved the file, and then restarted the containers (nextcloud-aio-mastercontainer
, nextcloud-aio-apache
, and nextcloud-aio-nextcloud
).
But after restarting, my instance still redirects back to the old domain . Even when I delete the old domain from trusted_domains
with occ
, it comes back after a restart.
It looks like something is overwriting my changes.
Can anyone guide me through the correct steps to fully change the domain name in AIO so that the old one is removed and only the new one is active?
nextcloud instance details:
installed: true
- version: 31.0.6.2
- versionstring: 31.0.6
- edition:
- maintenance: false
- needsDbUpgrade: false
- productname: Nextcloud
- extendedSupport: false