Don't understand - Domains used for installing Collabora

Hi,

I have problems understanding the way I have to use my domain when installing Collabora.
In the documentation Nextcloud Office - Self-hosted online office suite says:

“make sure to replace ‘cloud.nextcloud.com’ with the host that your own Nextcloud runs on”

In the same documentation also says:

“we recommend to use a subdomain such as office.nextcloud.com” [to configure one VirtualHost].

In this case, when I create a subdomain, should I create it:

  • “xxxx.name.bla/office” ?
  • “office.xxxx.name.bla/nextcloud” ?
  • “office.xxxx.name.bla” ?
  • or some other way?

Thanks

Your nextcloud domain could look like this.

for docker to run you need another domain, thus another vhost on your web server setup for a reverse proxy,

When you have all that setup, and you run
docker run -t -d -p 127.0.0.1:9980:9980 -e "domain=cloud\.myncserver\.com" -e "username=admin" -e "password=S3cRet" --restart always --cap-add MKNOD collabora/code

You’ll use the nextcloud domain on it, think it this way, the domain you run there are the ones allowed to use this docker instance.

Make sure your using SSL valid certs, Let’s Encrypt is a free valid option.

negative try to run nextcloud in a root directory of a domain or subdomain. Someting like cloud.mydomain.com. Basically running NC in a subfolder works too but then clients might not connect automatically (like macOS Calendar) and you always need to enter a path.

Similary Collabra or Onlyoffice must run on another domain. I suggest to run them on a different server.

Thanks for your reply.
I understood how my nextcloud domain “could look” from the documentation. Unfortunately I already have Nextcloud installed and I don’t know how to make it look like that (interested to learn how to do it).

So, what I still can’t understand is how do I use the domain that I already have(mentioned in the 1st post). I already can reach nextcloud at https://xxxx.name.bla/nextcloud (My question was and still is: is my domain xxxx.name.bla/nextcloud equivalent with one of the domains you gave as an example i.e. my.nextcloud-server.com ? )

Same for Collabora, if my domain is xxxx.name.bla/office, is that equivalent to the one u used as example office.nextcloud-derver.com ?

If your nextcloud is:
domain.com/nextcloud

I believe you should be good to go using: domain.com on the docker liner.

But for your reverse proxy, you need office.domain.com

not domain.com/office

Cheers

Hello!
My nextcloud instance is running in https://mydomain.com/nextcloud

Is it possible to use this url as a domain? I have tried “domain=mydomain\.com” and some variations, but it doesn’t seem to work

Is mandatory use clean subdomains (no subfolders) to use collabora?

The problem is that my instance is running in https://mydomain.com/nextcloud and I cannot migrate it to a clean subdomain

Thx for your time

EDIT: After using the root domain it’s working and opening documents. It could be a failure writing the url. Thx again

1 Like