Collabora on the same subdomain


i have an Odroid C2 at home. With the Dyn-DNS Adress “cloud.domain.tld” i get an connection to the server.
i try to install docker on the same Subdomain as the Cloud.

is this possible?

Here my Setup for the Apache:

<IfModule mod_ssl.c>
<VirtualHost *:443>
 DocumentRoot "/var/www/nextcloud"
 ServerName cloud.domain.tld

 ErrorLog ${APACHE_LOG_DIR}/error.log
 CustomLog ${APACHE_LOG_DIR}/access.log combined

<Directory /var/www/nextcloud/>
 Options +FollowSymlinks
 AllowOverride All

 <IfModule mod_dav.c>
 Dav off

 SetEnv HOME /var/www/nextcloud
 SetEnv HTTP_HOME /var/www/nextcloud
 Satisfy Any


SSLCertificateFile /etc/letsencrypt/live/cloud.domain.tld/fullchain.pem
SSLCertificateKeyFile /etc/letsencrypt/live/cloud.domain.tld/privkey.pem
Include /etc/letsencrypt/options-ssl-apache.conf
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
 <IfModule mod_headers.c>
      Header always set Strict-Transport-Security "max-age=15552000; includeSubDomains"

and the Apache2 error log file:

[Thu Sep 07 10:12:38.468826 2017] [proxy_http:error] [pid 21874] (103)Software caused connection abort: [client] AH01102: error reading status line from remote server
[Thu Sep 07 10:12:38.468956 2017] [proxy:error] [pid 21874] [client] AH00898: Error reading from remote server returned by /hosting/discovery

why not.
just create another virtual-host-object

Sure but https://cloud.domain.tld/collabora won’t work.

But https://collabora.domain.tld will

Sure. But my Dyndns address is and I can set only one domain in my Fritzbox

Ah… now we come closer.
I had a similar limitation. With ddns-client ( I found out, that this limitation was ownly in my head.

Who sayed that dyndns must be handeled by your router? :wink:

i have no static IP Adress :frowning:

Me neither. With a ddclient it is possible to answer on more than one dyndns request.
I thought my rpi to forward my IP to 6 dyndns hosts

You should try this!

i try this at this moment.

it works!

:+1: Have fun!

Even easier is to set a CNAME with your DNS-Hoster from collabora.domain.tld to cloud.domain.tld.
This keeps the reported IP always with the DDNS-account no matter what DDNS-Client you use.

It still is separated by virtual host entrys because the reported domain is still different in contrary to redirects.

Thanks. works good with the ddclient