HOW TO LAUNCH "JitSi meet" on Virtualmin/Webmin?

SYSTEM INFORMATION
OS type and version UBUNTU 22.0.4
Virtualmin version 7.30.4

Hello.

1 - I initially installed “JitSi” under the same hostname (host.domain_name.com) as the one previously used when installing “Webmin/Virtualmin (Apache2)” on the same server “Ubuntu 22.0.4”.

The installation of “JitSi” went very well except for a single SSL error (which is not the point concerned here, we will come back to it in point 2 above). But the problem is that when I launch the url host.domain_name.com, it returns me the Virtualmin home page that you see on the following screenshot instead of displaying the “JitSi Meet” page:

So I figured it was probably a conflict between the “Webmin/Virtualmin” and “JitSi” hostnames, so:

1°) A - I redefined the hostname of my Linux VPS (Ubuntu) as follows:

sudo hostnamectl set-hostname hostserver.domain_name.com
sudo nano /etc/hosts
127.0.1.1 hostserver.domain_name.com hostserver
127.0.0.1 localhost
apt-get update -y
sudo reboot

1°) B - I just after in “Virtualmin” on the same Ubuntu server, created a “New Virtual Server” with the old URL that served as Hostname and that was replaced above: host.domain_name.com so that it is only used for “JitSi” now.

But despite that, the error persists, that is to say that when you enter the URL host.domain_name.com which is now supposed to be redirected to the Home Page to the URL of “JitSi” and to be distinguished from the Hostname (now: hostserver.domain_name.com).

How then after these different efforts, succeed in redirecting host.domain_name.com to the home page of “JitSi” which, I remind you is indeed installed on the same server on the now Hostname hostserver.domain_name.com ???

2 - When installing “JitSi” Meet, everything went well except SSL error in the following screenshot:

I specify that it is today that I configured the DNS server and the (linked to the) Domain Name because it is a brand new Server that I have just taken.
Do you have any idea to give me to correct this 2nd SSL (HTTPS) error ???

PLEASE HELP ME FIX THESE TWO ISSUES AND SUCCEED IN LAUNCHING CORRECTLY “JitSi Meet” ON MY SERVER “Webmin/Virtualmin (Apache)” on the same server “Ubuntu 22.0.4”.

In my terminal do a nano sudo nano /etc/apache2/sites-available/host.domain_name.conf to modify it as follows:

<VirtualHost *:80>
    ServerName host.domain_name.com
    Redirect permanent / https://host.domain_name.com/
</VirtualHost>

<VirtualHost *:443>
    ServerName host.domain_name.com

    # enable HTTP/2, if available
    Protocols h2 http/1.1

    SSLEngine on
    SSLProxyEngine on
    SSLCertificateFile /etc/jitsi/meet/host.domain_name.com.crt
    SSLCertificateKeyFile /etc/jitsi/meet/host.domain_name.com.key

    Header always set Strict-Transport-Security "max-age=63072000"

    DocumentRoot "/usr/share/jitsi-meet"
    <Directory "/usr/share/jitsi-meet">
        Options Indexes MultiViews Includes FollowSymLinks
        AddOutputFilter Includes html
        AllowOverride All
        Order allow,deny
        Allow from all
    </Directory>

    ErrorDocument 404 /static/404.html

    Alias "/config.js" "/etc/jitsi/meet/host.domain_name.com-config.js"
    <Location /config.js>
        Require all granted
    </Location>

    Alias "/external_api.js" "/usr/share/jitsi-meet/libs/external_api.min.js"
    <Location /external_api.js>
        Require all granted
    </Location>

    ProxyPreserveHost on
    ProxyPass /http-bind http://localhost:5280/http-bind
    ProxyPassReverse /http-bind http://localhost:5280/http-bind
    ProxyPass /xmpp-websocket ws://localhost:5280/xmpp-websocket
    ProxyPassReverse /xmpp-websocket ws://localhost:5280/xmpp-websocket
    ProxyPass /colibri-ws/default-id ws://localhost:9090/colibri-ws/default-id
    ProxyPassReverse /colibri-ws/default-id ws://localhost:9090/colibri-ws/default-id

    RewriteEngine on
    RewriteRule ^/([a-zA-Z0-9]+)$ /index.html
</VirtualHost>

# Mozilla Guideline v5.4, Apache 2.4.41, OpenSSL 1.1.1d, intermediate configuration, no OCSP
SSLProtocol         all -SSLv3 -TLSv1 -TLSv1.1
SSLCipherSuite      ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-CHACHA20-POLY1305:ECDHE-RSA-CHACHA20-POLY1305:DHE-RSA-AES128-GCM-SHA256:DHE-RSA-AES256-GCM-SHA384
SSLHonorCipherOrder off
SSLSessionTickets   off

AND YET, ls -l /usr/share/jitsi-meet/ and ls -l /etc/jitsi/meet/ return me data including a set of files proving that “JitSi” is indeed there on my Server.

But it still does not redirect under my “Apache2 Server” to the “JitSi Meet” home page.

Please, I need help.

The documentation can’t be clearer on this:

A fully qualified domain name is one of the form host.example.com , or simply example.com (but do not use a name you’ll be hosting in Virtualmin).

1 Like

Thanks @Steini for your answer. But I don’t understand. Do you think it is because I used host.domain_name.com at the beginning even if I changed it to hostserver.domain_name.com later ???

Are you JitSi is running ? from a quick look at their documentation JitSi requires port 10000 udp, which from memory, webmin opens perhaps run
netstat -atunp | grep 10000
To see what is listening on both 10000 tcp and udp. If you don’t have netstat installed you can use ss instead. I couldn’t find in the docs anyway to alter this port from 10000 udp so if webmin is using 10000 udp JitSi won’t run. Refer to the JitSi developers for possible work arounds

Thanks @jimr1 for your answer: netstat -atunp | grep 10000 returns me this:

I changed 10000 tcp default Virtualmin port to anothet reason why we can see only UDP

I would concentrate on fixing what you have placed on the Webmin/Virtualmin system rather than the other way around.

ie fix the added “JitSi” you are just adding to future problems.