Running Collabora without other/subdomain?


i installed the collabora (with CODE) on my server (the same with nextcloud running).
My problem: i am using deSEC for dyndns and it is not possible there to make a subdomain.
Would it be possible to install/use collaborar with the same domain? Maybe with a special port nr.?
For SSL i am using letscrypt.

Thank you!


I think that you could make your apache virtual host listening on 9981 instead of 443 by doing those steps :

  • Make apache listen on port 9981 : add “Listen 9981” to /etc/apache2/ports.conf
  • Change your virtual host parameters in apache in your collabora.conf or whatever file:
    "<VirtualHost *:9981>
  • Restart apache “service apache2 restart”
  • Set your collabora app in nextcloud to bind to
  • Add a rule to your firewall if you have one “ufw allow 9981/tcp”

The following setup works for me but I have another problem to solve before making collabora work :joy:

Thank you a lot!
But it is not working right now - i always got this message.
SSL should work - i have a working letsencrypt ssl for (nextcloud) and then should also work right?

GuzzleHttp\Exception\ConnectException: cURL error 7: Failed to connect to port 9981: Connection timed out


<VirtualHost *:9981>

# SSL configuration, you may want to take the easy route instead and use Lets Encrypt!
SSLEngine on
SSLCertificateFile	/etc/ssl/certs/ssl-cert-snakeoil.pem
SSLCertificateKeyFile /etc/ssl/private/ssl-cert-snakeoil.key
SSLProtocol             all -SSLv2 -SSLv3
SSLHonorCipherOrder     on

# Encoded slashes need to be allowed
AllowEncodedSlashes NoDecode

# Container uses a unique non-signed certificate
SSLProxyEngine On
SSLProxyVerify None
SSLProxyCheckPeerCN Off
SSLProxyCheckPeerName Off

# keep the host
ProxyPreserveHost On

# static html, js, images, etc. served from loolwsd
# loleaflet is the client part of LibreOffice Online
ProxyPass           /loleaflet retry=0
ProxyPassReverse    /loleaflet

# WOPI discovery URL
ProxyPass           /hosting/discovery retry=0
ProxyPassReverse    /hosting/discovery

# Main websocket
ProxyPassMatch "/lool/(.*)/ws$" wss://$1/ws nocanon

# Admin Console websocket
ProxyPass   /lool/adminws wss://

# Download as, Fullscreen presentation and Image upload operations
ProxyPass           /lool
ProxyPassReverse    /lool