One NC with multiple DNS entries causes Error

I have a shared server, where nextcloud is running at a subdomain, eg cloud.server1
Now I want to share this nextcloud with another server, eg. cloud.server2
Of course I wrote cloud.server2 to the trusted domains. And I added a DNS-Record on server2.com: cloud CNAME cloud.server1.com.
But when I type cloud.server2.com in the web browser I get the " Service Temporarily Unavailable" message.
What did I do wrong? Or which configuration step is still missing?

You’ll need to configure your web server and/or reverse proxy to handle the additional host name as well.

Out of curiosity, what is your use case? What are you trying to accomplish by having a second URL associated with the same Nextcloud instance?

1 Like