How to Install and Set Up WHMSonic on cPanel/WHM for Radio Hosting

Install WHMSonic for radio
5/5 - (1 vote)

Key points

  • WHMSonic adds SHOUTcast and Icecast radio hosting to cPanel/WHM, so you can sell streams like hosting accounts.
  • It installs with one command over SSH and then appears at the bottom of the WHM menu.
  • Every stream needs its own TCP port. Plan a port range and open it in the firewall.
  • Bandwidth is the real limit: listeners × bitrate decides what the server can carry.

Internet radio is a steady niche: small stations, DJs, churches, schools and podcasters who want a live stream that just works. WHMSonic lets a cPanel server host those streams. You create radio accounts in WHM, customers manage their station from cPanel, and billing systems can sell it as a product. Here is how to get it running.

Requirements

  • A dedicated server or VPS with cPanel/WHM installed and root SSH access.
  • A WHMSonic license for the server.
  • Enough bandwidth for the listeners you plan to serve (see the table below).
  • Free TCP ports for the streams, and access to the server firewall.

Step 1: Run the installer

Log in as root over SSH and run:

cd /root
wget -N http://whmsonic.com/setupr/installr.sh; sh installr.sh

The installer downloads WHMSonic, the streaming server software and the AutoDJ components, and registers the plugin with WHM. Wait for the final message before closing the session.

Step 2: Open WHMSonic in WHM

Log in to WHM as root and scroll to the bottom of the left menu. Click WHMSonic. On first launch, enter or confirm the license and review the main settings:

  • Server IP / hostname used in stream URLs.
  • Port range for new radio accounts, for example 8000–8999.
  • Default limits: maximum listeners, bitrate and AutoDJ disk space.

Step 3: Open the stream ports in the firewall

Listeners and broadcasters connect directly to each stream’s port. If the firewall blocks the range, the station looks fine in WHM but nobody can tune in.

# CSF: add the range to TCP_IN in /etc/csf/csf.conf, e.g. TCP_IN = "...,8000:8999"
csf -r

# firewalld
firewall-cmd --permanent --add-port=8000-8999/tcp
firewall-cmd --reload

With Imunify360’s firewall in “all closed except specified” mode, add the range to the inbound TCP ports under Settings → Firewall → Ports and press Apply, as described in our Imunify360 guide.

Step 4: Create the first radio account

  1. In WHMSonic, choose Create Radio.
  2. Pick the cPanel account that will own the station (create one first if needed).
  3. Choose SHOUTcast or Icecast, the port, maximum listeners and bitrate.
  4. Enable AutoDJ if the station should play a playlist when no DJ is live.
  5. Save. WHMSonic shows the stream URL and the source password for broadcasters.

The customer now finds a radio section in their cPanel to start and stop the stream, upload music for AutoDJ and see listener statistics.

Step 5: Test the stream

  • Connect a broadcasting app (for example a desktop DJ program) with the server, port and source password.
  • Open the stream URL in a media player from another network, such as a phone on mobile data.
  • Check the listener count in the WHMSonic panel.

How much bandwidth do you need?

BitratePer listener100 listeners, 24/7, per month
64 kbps~28 MB per hour~2 TB
128 kbps~56 MB per hour~4 TB
320 kbps~140 MB per hour~10 TB

Set listener and bitrate limits per account so one popular station cannot use up the whole port. CPU and RAM matter less; a small VPS can carry a lot of streams if the network is generous.

Selling radio hosting

Billing systems such as WHMCS include a WHMSonic server module, so orders can create radio accounts automatically. Typical plans differ by listener slots, bitrate and AutoDJ storage.

Troubleshooting

ProblemFix
WHMSonic missing from WHMRe-run the installer and refresh WHM; check the install log for errors.
Stream starts but listeners cannot connectOpen the stream port inbound in the firewall.
Broadcaster rejectedWrong source password or port; SHOUTcast v1 apps use port +1 for the source.
Radio accounts cannot be createdLicense not active for the server’s IP.

A radio server lives or dies by its network. Our VPS plans come with unlimited or large traffic allowances in many countries, so you can put the stream close to its listeners.

Frequently asked questions

What is WHMSonic?

WHMSonic is a WHM/cPanel plugin for hosting internet radio. It creates and manages SHOUTcast and Icecast stream accounts, with AutoDJ playlists, listener limits and bitrate settings, from inside WHM and cPanel.

How do I install WHMSonic?

Log in to the server as root over SSH and run: wget -N http://whmsonic.com/setupr/installr.sh; sh installr.sh. When the installer finishes, WHMSonic appears at the bottom of the left menu in WHM.

Does WHMSonic need a license?

Yes. WHMSonic is a commercial plugin and needs a valid license for the server before radio accounts can be created.

Which ports does WHMSonic need?

Each radio stream listens on its own TCP port. Choose a port range for radio accounts (for example 8000–8999) and open that range inbound in the server firewall, otherwise listeners cannot connect.

Can WHMSonic run on a VPS?

Yes. WHMSonic needs a dedicated server or VPS with cPanel/WHM and root access. Bandwidth matters more than CPU: each listener at 128 kbps uses about 1 GB of traffic every 18 hours.

Related articles