To set up a virtual meeting server, you must deploy a specialized communication software package—such as Jitsi Meet or BigBlueButton—onto a Linux-based server with a public IP address and a registered domain name. This achieves complete data sovereignty, meaning your video and audio streams are hosted on your own hardware or cloud instance rather than on a third-party corporate platform. By owning the server, you eliminate per-user subscription fees and gain full control over encryption, recording storage, and user access permissions.

What You'll Need

  • A Virtual Private Server (VPS) or a dedicated physical server running a supported Linux distribution (Ubuntu 20.04 or 22.04 LTS are highly recommended for compatibility).
  • A registered domain name (e.g., meet.yourdomain.com) with DNS access to create A records.
  • Root or sudo administrative access to the server via SSH.
  • A minimum of 4GB of RAM and 2 CPU cores (requirements increase based on the number of concurrent participants).
  • An open firewall allowing traffic on specific ports for web traffic (HTTP/HTTPS) and media streaming (UDP/TCP).

Step-by-Step

  1. Configure Your DNS Records: Before installing software, your domain must point to your server. Log into your domain registrar's control panel. Create an 'A Record' where the hostname is your chosen subdomain (like "meet") and the value is the public IP address of your VPS. Wait for DNS propagation to ensure the server is reachable via the URL.
  2. Prepare the Server Environment: Connect to your server via SSH. Update the local package index to ensure you are installing the latest security patches. Run the system update commands to bring all existing software up to date. Set the server's hostname to match your domain name using the hostnamectl command; this is critical because the server uses the hostname to generate SSL certificates.
  3. Install the Meeting Software: Using a project like Jitsi Meet as an example, add the official software repository to your system's source list. This ensures you receive official updates. Import the GPG key for the repository to verify the authenticity of the packages. Once the repository is added, use the package manager to install the main server package. During the installation process, a prompt will appear asking for the Fully Qualified Domain Name (FQDN). Enter the exact domain you configured in Step 1.
  4. Configure SSL/TLS Encryption: A meeting server must use HTTPS to access the user's camera and microphone. Most self-hosted meeting servers include a script to automate the acquisition of a Let's Encrypt certificate. Run the provided SSL script and enter a valid administrative email address. The script will communicate with the Let's Encrypt CA to verify domain ownership and install the certificates. This ensures that all video and audio data is encrypted in transit.
  5. Open Firewall Ports: For the server to function, specific ports must be open in your system firewall (such as ufw) and your cloud provider's security groups. Open port 80 (TCP) for initial SSL verification and port 443 (TCP) for the web interface. Crucially, open port 10000 (UDP) for the actual video and audio media streams. If these UDP ports are blocked, users will be able to join the room but will see black screens and hear no audio.
  6. Test the Connection: Open a web browser on a separate device and navigate to your domain. Create a room name and check if the browser prompts for camera and microphone permissions. To properly test the server, join the room from two different devices or networks to verify that the media relay is functioning and that there is no significant latency.
  7. Hardening and Security: Disable the default root SSH login and set up SSH key-based authentication. Configure a basic firewall to block all ports except those explicitly required for the meeting server. If the software supports it, enable a guest authentication mode or create administrative accounts to prevent unauthorized users from starting meetings on your hardware.

Common Mistakes

One of the most frequent errors is neglecting the UDP ports in the firewall. Many administrators successfully set up the web interface (TCP 443) and assume the server is working, only to find that the actual media stream (UDP 10000) is blocked. This results in a "Connecting..." loop or a silent call. Another common mistake is using a server with insufficient RAM. Video processing is resource-intensive; if the server runs out of memory, the video bridge process will crash, disconnecting all participants instantly.

Incorrect DNS configuration is also a recurring issue. If the A record is not fully propagated or if there is a mismatch between the server's internal hostname and the external domain, the SSL certificate generation will fail. This prevents the browser from granting access to the camera, as modern browsers strictly forbid camera access on non-secure (HTTP) connections.

Tips

To improve performance for a larger number of users, consider implementing a TURN server (Traversal Using Relays around NAT). A TURN server helps participants bypass restrictive corporate firewalls or symmetric NATs that might otherwise block the direct UDP connection to your meeting server. This significantly increases the reliability of connections for remote employees.

For better stability, set up a swap file on your Linux server. If you are using a VPS with limited RAM, a swap file provides a buffer that prevents the system from killing the meeting process during a sudden spike in participant count. Additionally, regularly check the server logs to monitor for resource bottlenecks or failed connection attempts, which can help you decide when it is time to upgrade your hardware specs.

Troubleshooting

If the server is unreachable, first check the status of the service using the system control commands to see if the process is active or failed. If the service is running but the page won't load, ping your domain to ensure the DNS is pointing to the correct IP address. If you see a "Your connection is not private" warning, the SSL certificate likely failed to install; check the Let's Encrypt logs to see if the challenge failed due to a closed port 80.

If participants can see each other but cannot hear audio, verify that the UDP ports are open on both the server side and the client's local network. Some corporate networks block all UDP traffic, which is where the aforementioned TURN server becomes necessary. If the video is lagging or choppy, check the CPU usage on the server. If CPU usage is consistently above 80%, you may need to limit the maximum number of participants per room or upgrade your CPU cores.

If the installation fails midway, the safest path is to purge the installed packages, clear the configuration files, and restart the process on a fresh server image. This prevents conflicting configuration fragments from causing intermittent bugs in the media stream.

Frequently Asked Questions

Can I run a meeting server on a home computer?

Yes, but it requires a static public IP address and the ability to forward ports on your home router. Most residential ISPs use dynamic IPs, which would require a Dynamic DNS (DDNS) service to keep the domain linked to your home network.

How many people can join a single server?

This depends entirely on your hardware. A basic VPS with 4GB of RAM can typically handle 20-50 concurrent users across various rooms, but high-definition video streams will consume CPU and bandwidth much faster.

Is a self-hosted server more secure than commercial apps?

It can be, because you control the data. However, the security depends on your ability to maintain the server. You are responsible for applying security patches and managing the firewall, whereas commercial apps handle this automatically.

Do participants need to install software to join?

If you use a WebRTC-based server like Jitsi, participants do not need to install anything; they can join directly through a compatible web browser (Chrome, Firefox, Edge) on desktop or mobile.

What happens if the server crashes during a meeting?

All participants will be disconnected immediately. Since the server is self-hosted, there is no automatic failover unless you have configured a high-availability cluster with a load balancer, which is a much more complex setup.

Can I record meetings on my own server?

Yes, most professional self-hosted meeting software supports recording. However, this requires additional storage space and often a separate recording component (like Jibri) that simulates a browser to capture the stream.