# Can we use Collabora Online with more than one host?

**URL:** <https://forum.collaboraonline.com/t/can-we-use-collabora-online-with-more-than-one-host/4415>\
**Category:** Installation & Configuration\
**Created:** [January 31, 2026, 10:35am UTC](https://forum.collaboraonline.com/t/can-we-use-collabora-online-with-more-than-one-host/4415 "2026-01-31T10:35:37Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![session](https://avatars.discourse-cdn.com/v4/letter/s/65b543/32.png) [@session](https://forum.collaboraonline.com/u/session)\
**Post date:** [January 31, 2026, 10:35am UTC](https://forum.collaboraonline.com/t/can-we-use-collabora-online-with-more-than-one-host/4415/1 "2026-01-31T10:35:37Z")

</div>

Hi - and first of all - Thank you for the great Collabora Online Software!

We just started to use it together with wopi.

In etc/coolwsd/coolwsd.xml

we set under

```auto
<storage desc="Backend storage">
    <filesystem allow="false" />

```

this host:

```auto
<wopi desc="Allow/deny wopi storage." allow="true">
            <host desc="Regex pattern of hostname to allow or deny." allow="true">my.first-host.tld</host>
            <host desc="Regex pattern of hostname to allow or deny." allow="true">10\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}</host>
            <host desc="Regex pattern of hostname to allow or deny." allow="true">172\.1[6789]\.[0-9]{1,3}\.[0-9]{1,3}</host>
            <host desc="Regex pattern of hostname to allow or deny." allow="true">172\.2[0-9]\.[0-9]{1,3}\.[0-9]{1,3}</host>
            <host desc="Regex pattern of hostname to allow or deny." allow="true">172\.3[01]\.[0-9]{1,3}\.[0-9]{1,3}</host>
            <host desc="Regex pattern of hostname to allow or deny." allow="true">192\.168\.[0-9]{1,3}\.[0-9]{1,3}</host>
            <host desc="Regex pattern of hostname to allow or deny." allow="false">192\.168\.1\.1</host>

```

so for `my.first-host.tld` things work perfect.

Now we want to add an other host and we tried this by simply adding the line

```auto
<host desc="Regex pattern of hostname to allow or deny." allow="true">my.second-host.tld</host>

```

but that did not work at all…

What is the right way to add a second host?  
Thanks for your help

---

<div class="post-metadata">

**Author:** ![session](https://avatars.discourse-cdn.com/v4/letter/s/65b543/32.png) [@session](https://forum.collaboraonline.com/u/session)\
**Post date:** [January 31, 2026, 4:50pm UTC](https://forum.collaboraonline.com/t/can-we-use-collabora-online-with-more-than-one-host/4415/2 "2026-01-31T16:50:30Z")

</div>

so i added

```auto
<alias_groups desc="default mode is 'first' it allows only the first host when groups are not defined. set mode to 'groups' and define group to allow multiple host and its aliases" mode="groups">
<group>
<host desc="hostname to allow or deny." allow="true">https://my.first-host.tld</host>
</group>

<group>
<host desc="hostname to allow or deny." allow="true">https://my.second-host.tld</host>
</group>
</alias_groups>

```

but it still does not work

---

<div class="post-metadata">

**Author:** ![session](https://avatars.discourse-cdn.com/v4/letter/s/65b543/32.png) [@session](https://forum.collaboraonline.com/u/session)\
**Post date:** [February 6, 2026, 4:27pm UTC](https://forum.collaboraonline.com/t/can-we-use-collabora-online-with-more-than-one-host/4415/3 "2026-02-06T16:27:07Z")

</div>

Please can someone tell me: need to be wopi host and collaboraonline on the same server ?  
How to whitelist a server from a different server ?

---

<div class="post-metadata">

**Author:** ![darshan](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.collaboraonline.com/darshan/32/2230_2.png) [@darshan](https://forum.collaboraonline.com/u/darshan)\
**Post date:** [February 10, 2026, 7:38am UTC](https://forum.collaboraonline.com/t/can-we-use-collabora-online-with-more-than-one-host/4415/4 "2026-02-10T07:38:01Z")

</div>

hi @session

- `<host>` entries must be **hostname only**
- `alias_groups` does **not replace** the `<wopi>` allow list
- Both hosts must be in **the same alias group**

> **[Multihost Configuration - Configuration — SDK https://sdk.collaboraonline.com/...](https://sdk.collaboraonline.com/docs/installation/Configuration.html?highlight=alias_groups#multihost-configuration)**
>
> The postinstall script of coolwsd package added a non-privileged user to the system: cool . Collabora Online service will be run by cool user. Also the service was registered to systemd, enabled on system start and started. Useful commands:

---

<div class="post-metadata">

**Author:** ![session](https://avatars.discourse-cdn.com/v4/letter/s/65b543/32.png) [@session](https://forum.collaboraonline.com/u/session)\
**Post date:** [February 24, 2026, 1:32pm UTC](https://forum.collaboraonline.com/t/can-we-use-collabora-online-with-more-than-one-host/4415/5 "2026-02-24T13:32:05Z")

</div>

The Portnummer was missing.

with this lines it works:

```auto

<alias_groups desc="default mode is 'first' it allows only the first host when groups are not defined. set mode to 'groups' and define group to allow multiple host and its aliases" mode="groups">
            <group>
                <host desc="Regex pattern of hostname to allow or deny." allow="true">https://my.first-host.tld:443</host>
            </group>
            <group>
                <host desc="Regex pattern of hostname to allow or deny." allow="true">https://my.second-host.tld:443</host>

            </group>

</alias_groups>

```

---

<div class="post-metadata">

**Author:** ![darshan](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.collaboraonline.com/darshan/32/2230_2.png) [@darshan](https://forum.collaboraonline.com/u/darshan)\
**Post date:** [February 24, 2026, 1:53pm UTC](https://forum.collaboraonline.com/t/can-we-use-collabora-online-with-more-than-one-host/4415/6 "2026-02-24T13:53:02Z")

</div>

Awesome @session nice to see that you solved the issue 💜

---

<div class="post-metadata">

**Author:** ![darshan](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.collaboraonline.com/darshan/32/2230_2.png) [@darshan](https://forum.collaboraonline.com/u/darshan)\
**Post date:** [February 24, 2026, 1:54pm UTC](https://forum.collaboraonline.com/t/can-we-use-collabora-online-with-more-than-one-host/4415/7 "2026-02-24T13:54:05Z")

</div>

Closed on February 24, 2026, 1:54pm UTC


