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

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.shThe 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 --reloadWith 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
- In WHMSonic, choose Create Radio.
- Pick the cPanel account that will own the station (create one first if needed).
- Choose SHOUTcast or Icecast, the port, maximum listeners and bitrate.
- Enable AutoDJ if the station should play a playlist when no DJ is live.
- 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?
| Bitrate | Per listener | 100 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
| Problem | Fix |
|---|---|
| WHMSonic missing from WHM | Re-run the installer and refresh WHM; check the install log for errors. |
| Stream starts but listeners cannot connect | Open the stream port inbound in the firewall. |
| Broadcaster rejected | Wrong source password or port; SHOUTcast v1 apps use port +1 for the source. |
| Radio accounts cannot be created | License 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.