October DealsAmazon USOctober deal check: compare before you payAmazon US: current deals, useful picks and tech finds.Check DealsClean PCRecommendedOne scan can reveal what keeps slowing WindowsLook for cleanup and repair opportunities.Run ScanOctober DealsAmazon USDeal season is back - check today's better picksAmazon US: current deals, useful picks and tech finds.See Picks×
Skip to content
VGSources
Blog

How to Set Up a SHOUTcast Streaming Server on a Linux VPS

A practical, end-to-end guide to running SHOUTcast DNAS on a Linux VPS, from unpacking the Linux build and securing sc_serv.conf to firewall rules, encoder credentials, listener testing, and optional YP2 directory registration.
Length10 min Posted Quest giverVGSources Team
Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

To self-host a SHOUTcast station, run SHOUTcast DNAS on a Linux VPS, open its streaming port, configure separate broadcaster and administrator credentials, then point a compatible encoder at the VPS. Listeners connect to the DNAS stream URL; directory publication is optional and requires an authhash after a valid source is online.

Understand the three-part SHOUTcast setup

A working station has three distinct roles:

  • DNAS server: SHOUTcast Distributed Network Audio Server (DNAS) runs on the VPS and accepts an audio source connection while serving listeners.
  • Source or encoder: A desktop, hardware, or software encoder sends compressed audio and metadata to DNAS using the broadcaster password.
  • Listeners: Players connect to the VPS address, listening port, and stream path exposed by DNAS.

The VPS is not an encoder. Installing DNAS alone produces no audio; a source must connect before listeners hear a programme. Internet broadcasting also requires a reachable network path, including the VPS firewall, provider security group, and any router or external firewall in front of the server.

As an Amazon Associate I earn from qualifying purchases.

Free tools Windows power users keep installed

One-click scans. No signup required.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Check prerequisites before installing

VPS and operating-system requirements

Choose a Linux VPS with a public IPv4 address or another publicly reachable address, root or sudo access, and enough bandwidth for your expected audience. SHOUTcast’s current product information lists Linux 32-bit and 64-bit builds. The DNAS manuals and getting-started material are older than many current distributions, so confirm that the downloaded build starts on your chosen release before committing to a production station.

Use a dedicated DNS name if you have one, but test with the VPS address first. Reserve one TCP port for listeners and source connections. The documented default is portbase=8000; you may choose another unoccupied port to fit your firewall policy.

#1 Best Overall
Sale
Gaoye Blue Light Blocking Glasses
  • BLUE LIGHT BLOCKING GLASSES: Our blue light glasses for women boast UV400 protection, blocking harmful blue rays from computer screens. With these bluelight glasses women, you can enjoy gaming, reading, or watching TV with no worries of eye strain.
  • EYE RELIEF: Our blue light glasses are engineered to reduce blurry vision or strain caused by prolonged screen time. These womens blue light glasses aid in better sleep by preventing blue light from disrupting your natural sleep cycle, helping you fall asleep faster and enjoy a more restful night's sleep, making them the perfect christmas present.
  • COMFORTABLE: Crafted from durable material, our trendy blue light glasses for woman or blue light glasses men ensure long-lasting comfort. The high-transmittance lenses accessories, gamer gifts for men, help keep your eyes relaxed. Perfect stocking stuffers, gifts for gamers men, christmas gifts for men, halloween costumes.
  • LIGHTWEIGHT: These clear blue light glasses feature a lightweight frame, meaning they’ll stay comfy for long-term wear. Perfect as blue blockers glasses for women or mens blue light glasses, these non-prescription fake glasses for men can be worn throughout the day. The blue light blocking glasses women feature polycarbonate HD lenses, which are anti-reflective and restore true color.
  • WORRY-FREE PURCHASE: If you experience any issues, our support team is ready to assist you quickly. These are the perfect costume glasses for cosplay dressing up.

Information to have ready

  • The VPS address or DNS name.
  • A strong broadcaster password and a different, stronger administrator password.
  • The encoder’s supported codec, bitrate, and metadata settings.
  • Access to the VPS provider’s network-security or security-group controls.
  • A separate internet connection, such as a phone hotspot, for an outside-listener test.

Obtain and unpack SHOUTcast DNAS

Download the Linux SHOUTcast Server Software package from the official SHOUTcast distribution page and verify that it is intended for your CPU architecture. Keep the archive outside the final directory so you can replace the installation cleanly during an upgrade.

  1. Create a dedicated directory and enter it:

    sudo mkdir -p /opt/shoutcast
    sudo chown $USER:$USER /opt/shoutcast
    cd /opt/shoutcast
  2. Copy the downloaded archive into this directory and extract it. The archive name varies by release; use the exact filename you downloaded:

    Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
    tar -xzf package.tar.gz
  3. List the extracted files and locate sc_serv and the sample configuration, commonly named sc_serv.conf:

    ls -la
  4. Make a working copy of the sample configuration before editing:

    cp sc_serv.conf sc_serv.conf.backup

Do not expose the service while the sample credentials are still in place. Treat the configuration file as a secret because it contains passwords and may contain directory-registration settings.

Configure DNAS before opening the port

Set separate broadcaster and administrator passwords

Open the configuration in your preferred editor:

nano /opt/shoutcast/sc_serv.conf

Set the password value used by encoders and set adminpassword to a different value used for the web administration interface. The DNAS documentation requires these values not to be identical. Use long, random passwords and do not paste the administrator password into encoder software.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Choose the listening port and legacy behavior

Set portbase to the TCP port you intend to publish, for example:

portbase=8000

For legacy SHOUTcast 1 source clients, DNAS traditionally uses portbase+1 for a source connection unless the portlegacy setting changes that behavior. Account for both ports when an older encoder requires the legacy interface. Modern source clients may connect directly to the configured base port, so follow the encoder’s SHOUTcast mode instructions rather than assuming every client uses the same endpoint.

Rank #2
Windex Gaming Cleaning Wipes, Pre-Moistened Wipes to Instantly Clean all Gaming Gear and Electronics, Resealable Packaging for a Freshness Lock, 25 count (Pack of 1)
  • WINDEX GAMING WIPES: effortlessly clean all your gaming gear and gaming electronics in one easy step with our new Windex Gaming Wipes
  • AMMONIA FREE: our ammonia-free formula is safe to use on all of your favorite gaming equipment like consoles, headsets, controllers, screens, keyboards, and more
  • PRE-MOISTENED WIPES: each wipe instantly removes dust, dirt, and stubborn smudges and fingerprints leaving a streak-free shine
  • ANTI-STATIC: great for cleaning and wiping down your gaming gear and electronics leaving behind no visible residue
  • COMPACT RESEALABLE PACKAGE: store your pack of Windex Gaming Wipes anywhere in your home for whenever a quick and easy wipedown is needed

Review stream and directory settings

Read the sample file’s comments instead of deleting settings you do not recognize. If you define multiple streams, each stream can have its own identifier and streampath. The path is part of the listener URL and must be supplied to players and directory settings. Keep the default single-stream arrangement until one source and one listener work reliably.

Save the file, then restart DNAS after any configuration change. The manual specifically requires a restart for edited credentials and other settings to take effect.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Run DNAS as a daemon

From the installation directory, grant execute permission to the server binary:

cd /opt/shoutcast
chmod a+x sc_serv

Start it in daemon mode, explicitly naming the configuration file:

./sc_serv daemon ./sc_serv.conf

You can also use ./sc_serv daemon when the binary’s default configuration lookup is appropriate. A successful daemon start prints a process ID. Record that PID or inspect the process table:

ps -ef | grep '[s]c_serv'

To stop a running instance gracefully, send SIGTERM:

What’s actually slowing this PC down?

Pick the symptom - the matching free tool is one click away.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
kill -15 1234

Replace 1234 with the PID reported by your process check. Do not launch a second instance against the same port; it will fail with an address-in-use error or create confusing source and listener behavior.

Keep the process running after logout

For a trial station, start DNAS from an SSH session and verify the stream first. For production, run it under a process supervisor or a system service so it restarts after a VPS reboot. Use a dedicated unprivileged Linux account for the daemon where practical, grant that account ownership only of the SHOUTcast directory and logs, and keep administrative shell access separate.

Rank #3
Sale
LISEN Cell Phone Stand Phone Holder for Desk, Office Decor Gadgets for Men
  • Ergonomic & Adjustable Design: Fight "text neck" and improve your posture. Designed for comfort, it offers an adjustable height (7.1in-8.5in) (1.4in adjustable range) and angle (5°-85°) Please note: cell phone stand is only 9 inches tall—the length of a standard pencil
  • Without blocking subtitles Perfect for office desk Tiktok Face Time Zoom video—this is the ultimate kitchen desk essential for phones! Perfect viewing experience while reducing neck back strain, A must-have for gamers streamers desk, and anyone who values both style and support!
  • Sleek & Stable Design fits Otterbox Case: Say goodbye to bent cables, tangles, and tip-overs! LISEN’s stylish adjustable desk phone holder features a built-in charging hole and smart cable management, keeping your phone secure and your workspace clutter-free cool gadgets for men
  • ANTI-SLIP DESIGN free hands: The under 10.00 items easy gadgets back and the bottom of this kitchen essentials for women are fully covered by anti-skid silicone, which LISEN stand up desk decor can provide maximum protection device from any scratches and slides
  • Your Perfect Viewing Companion:If your product arrives damaged or breaks within 365 days, reach out to LISEN for a quick and hassle-free solution. Struggling with assembly, like tightening the screw? We’ve got your back! Your experience matters to us. (Product including: phone Holder stand*1, screw*1, hexagon screwdriver*1, specification*1)

Open the VPS network path

There are usually two independent controls: the operating-system firewall and the VPS provider’s security group or edge firewall. Permit TCP on the chosen listener port in both places. If legacy sources need the adjacent port, permit that port as well.

On a host using UFW, an example rule is:

sudo ufw allow 8000/tcp
sudo ufw status

Use your actual portbase value rather than blindly opening 8000. Keep SSH restricted to the addresses or VPN you administer from. Do not expose unrelated management services merely to make the stream work.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

If the VPS sits behind a router or port-mapping layer, forward the public listener port to the private address where DNAS is bound. The advertised publicport must match the port that listeners can reach when mapping is involved. Check the path from outside the VPS network; a test made on the same private network can succeed even when internet listeners are blocked.

Connect an encoder or source

Install a SHOUTcast-compatible source and create a connection using the VPS address, the source port required by your DNAS configuration, and the broadcaster password. Select the correct stream or mount when the encoder offers a stream-ID field.

Legacy stream-ID syntax

For a legacy source targeting stream 2, append :#2 to the broadcaster password. For example, if the password is bob, enter bob:#2. Stream 1 is the default and does not need a suffix. A password that is correct for stream 1 will still be rejected if the encoder is pointed at stream 2 without the required syntax.

Audio and metadata settings

Choose a bitrate your VPS uplink and audience can sustain. The encoder should send the codec and bitrate that your players support, and its station name, title, and artist fields become stream metadata. Start with one source and avoid changing codec, bitrate, port, and stream ID simultaneously; changing one variable at a time makes connection failures diagnosable.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

When the encoder reports a connected or broadcasting state, watch the DNAS console output and log files for a source-login message. A connected source is a prerequisite for meaningful listener and directory tests.

Verify that listeners receive audio

  1. Find the listener address from the configured portbase and, where applicable, streampath. Use the public DNS name or VPS address, not an internal address.

    Rank #4
    Ledagic IC+RGBW USB Powered Led Light Bar with App & Remote Control, 2 Pack
    • Easy Installation: Our gaming lights have been designed to enhance your entertainment experience. Simply position the led light bar next to your TV or game console to create a game room environment with ease. They come with USB power and a 60 inch cord for direct mounting and mobility
    • Audio Syncing & Extensive Mode: The built-in high-sensitivity music sensor allows you to sync the TV led lights to your favorite music. Lights react and move to the beat of music, film and game audio, creating an incredible immersive sound and light experience – and all without the need for an additional hub. You can choose from 64+ patterns, including strobe, illusion, jump, energy, gradient, running, chasing, fluttering mode etc. Each mode can be applied to different scenes
    • 64+ Chasing IC+RGB & W Effect: The independent control design of IC+RGB and white all-in-one multifunctional rgbw led bar lights monitor backlight allows you to easily switch the led lights for desk between IC+RGB and white to enjoy a variety of lighting effects, you can choose white lighting mode with high brightness for better illumination when working, etc. Choose IC+RGB lighting mode when you need to create an entertaining atmosphere for the light show, 16 million colours of Color changing rgb light bar let you dance to the beat and create a dynamic party atmosphere
    • Dynamic and Dimmable Lights: 1%-full brightness free brightness adjustment gives you the flexibility to adjust dimmable led light bar for room decorations or a variety of occasions
    • USB Powered: USB light bars for room can be powered by powernank, usb charger, TV, Monitor, laptop PC mainframe, making behind TV led lighting bar easy to install in any location.TV led lights are powered by the TV usb interface / PC mainframe, can be turned on/off synchronously with TV / PC
  2. Open that URL in a player or browser from a separate network. A phone using cellular data is a simple outside test.

  3. Confirm that audio starts and that the current title or artist metadata changes when the encoder sends new information.

    Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
  4. Test a second listener while the first remains connected. Observe the DNAS listener count and logs rather than relying only on the encoder’s status.

If your configuration defines multiple streams, test each stream’s path separately. A working base port does not prove that every configured path or stream ID is reachable.

Publish the station in the SHOUTcast directory

Directory listing is optional. Make the stream stable and confirm that a listener outside the VPS can hear it before attempting registration.

  1. With a valid source connected, open the DNAS Server Summary through the server-login link or by visiting /admin.cgi on the server address and port.

    Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
  2. Authenticate as the administrator using the configured adminpassword, not the broadcaster password.

  3. Create an authhash in Server Summary. The authhash is required for YP2 directory registration.

    Best Value
    Sale
    HUANUO FlowLift™ Dual Monitor Stand, Fully Adjustable Gaming Monitor Desk Mount for 13–32″ Computer Screens, Full Motion VESA 75x75/100x100 with C-Clamp & Grommet Base, Each Arm Holds 4.4 to 19.8 lbs
    • Compatible with Wide Screens - To ensure compatibility with the dual monitor mount, your each monitor must meet three conditions at the same time: First, computer screens size range: 13 to 32 inches. Second, screen weight range: 4.4 to 19.8 lbs. Third, the back of the monitor screen must have VESA mounting holes with a pitch of 75x75mm or 100x100mm.
    • Regarding the compatibility with desks - Your desk must meet three conditions at the same time: First, desk material: Only wooden desks are recommended, plastic or glass desks cannot be used. Second, desk thickness range: 0.59" - 3.54". Third, the bottom of the desk should not have any cross beams or panels, as this will interfere with installation. We recommend carefully checking that your desk and monitors meets all above conditions before purchasing.
    • Dual C-Clamp Hold - Worried your dual monitors might wobble or slip? Our upgraded base uses a larger platform plus a dual C-clamp structure to lock the dual monitor arm firmly to your desk. Each arm safely keeps your screens steady while you type, click and game—no shaking, no sliding, just a clean and secure setup you can trust every day. It also provides Grommet Mounting installation choice, both options ensure stable and secure fixation for your 0.59" - 3.54" desk.
    • Full-Motion Adjustment For Comfortable View - Pull the screen closer when you’re deep in a spreadsheet, push it back to watch videos, or rotate to portrait for coding — moving everything smoothly with just one hand. The monitor stand offers +85°/-50° tilt, ±90° swivel and 360° rotation. Raise your monitor up to 15.75″ to support a healthy sitting posture. Whether you’re working from home, gaming through the night, or switching between video calls and documents, getting the screens to your natural line of sight helps relieve neck, shoulder and back strain so you can stay focused longer with less fatigue.
    • Keep Your Desk Organized: By lifting both screens off the desktop, this dual monitor stand opens up valuable space for your keyboard, notebook, docking station or a simple, clutter-free work area. Built-in cable management guides wires along the arms, keeping cords out of sight and out of the way. Enjoy a tidy, modern workstation that looks as good as it feels to use.
  4. Enter the authhash and the required YP2 directory settings in the DNAS configuration, save the file, and restart DNAS.

  5. After restart, reconnect the source and check the directory status. Registration can fail if the source is offline, the authhash belongs to another stream, or the public address and port are not reachable.

    Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Keep the authhash and administrator credentials private. Directory visibility is not a substitute for firewalling or stream authentication.

Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

Operate the station safely

  • Use least privilege: run DNAS as a dedicated non-root account and make configuration files readable only by that account and trusted administrators.
  • Protect administration: restrict SSH and administrative access with provider firewall rules, a VPN, or an allowlist where your environment supports it. The admin interface shares the DNAS service path, so exposing the listener port also exposes that endpoint.
  • Monitor state: check that the process remains present, review DNAS logs for source disconnects and repeated login failures, and alert on unexpected restarts.
  • Back up configuration: retain a protected copy of the working configuration, authhash, stream definitions, and service-supervisor settings. Do not place passwords in publicly readable backups.
  • Plan upgrades: keep the archive for the running version, test a new DNAS build in a separate directory, and preserve the old configuration until the new process has passed source and listener tests.
  • Measure capacity: account for bitrate multiplied by concurrent listeners, protocol overhead, and other VPS traffic. The SHOUTcast Basic product page advertises up to 12,000 unique listeners and an improved scalability figure of 50 percent; that is a vendor claim, not an independent capacity guarantee for your VPS.

Self-hosted VPS versus managed radio hosting

A VPS is appropriate when you want control of the DNAS files, ports, firewall, and upgrade schedule. Managed hosting can be easier for an operator who does not want to maintain Linux services, but it trades away some low-level control. The practical differences are:

Decision area Self-hosted DNAS on a VPS Managed radio hosting
Linux administration You handle installation, updates, process supervision, logs, and recovery. The provider normally handles the server layer; you use its control panel and support process.
Ports and configuration You choose portbase, legacy behavior, stream paths, firewall rules, and access controls. Ports and advanced DNAS settings depend on the provider’s plan and interface.
Source compatibility You can test the DNAS version and legacy source behavior directly. You must follow the provider’s supported encoders, codecs, and stream limits.
Directory publication You create the authhash in Server Summary and configure YP2 yourself. The provider may expose a simplified directory workflow, but exact requirements vary.
Monitoring and backups You build alerts, log retention, process restarts, and off-server backups. Some operational features may be included, but verify retention and recovery terms.
Recurring cost VPS charges plus your administration time and any backup or monitoring services. A recurring hosting subscription; pricing and included resources vary by provider.

Troubleshoot the common failures

Permission denied when starting

Run chmod a+x sc_serv from the directory containing the binary, then execute it with ./sc_serv. Confirm that the filesystem is mounted with execution allowed and that you are using the Linux build rather than a Windows binary.

The encoder cannot connect

  • Confirm that the DNAS process is running and listening on the expected port.
  • Check that the encoder uses the VPS’s public address, not localhost or a private address.
  • Re-enter the broadcaster password exactly, including :#2 when a legacy source targets stream 2.
  • Verify the selected port, legacy port behavior, provider security group, host firewall, and any port forwarding.
  • Review DNAS logs for an authentication failure, rejected stream ID, or address-in-use condition.

Listeners cannot connect while the source is online

Test from outside the VPS network, confirm the listener TCP port is open in every firewall layer, and check the advertised publicport when mapping is used. If the station has multiple streams, include the configured streampath in the listener URL. A source connection proves only that the encoder reached DNAS; it does not prove that the listener path is publicly reachable.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

The station does not appear in the directory

Keep a valid source connected, open Server Summary through the server-login link or /admin.cgi, authenticate with adminpassword, and create an authhash. Then verify YP2 settings, restart DNAS, and check directory status. A stream can be fully playable yet absent from the directory if registration was never enabled or the public endpoint cannot be reached.

Launch checklist

  1. Download the correct Linux DNAS build and unpack it into a dedicated directory.
  2. Set executable permission on sc_serv.
  3. Set different, strong password and adminpassword values.
  4. Choose portbase and account for legacy portbase+1 behavior if required.
  5. Start DNAS in daemon mode and record its PID.
  6. Open the listener and any required legacy source port in the VPS and provider firewalls.
  7. Connect one encoder and verify stream ID, audio, and metadata.
  8. Test the listener URL from another network.
  9. Create an authhash and configure YP2 only if directory listing is wanted.
  10. Move the daemon to an unprivileged account, add supervision, monitor logs, and back up the protected configuration.

The Bottom Line

A reliable SHOUTcast VPS is mainly a coordination task: DNAS must be configured with separate credentials and a known port, every firewall layer must pass that port, an encoder must authenticate with the correct stream ID, and an outside listener must verify the public path. Directory registration comes afterward through an admin-created authhash.

Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.

Leave a Reply

Your email address will not be published. Required fields are marked *

Free tools Windows power users keep installed

One-click scans. No signup required.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

More quests from Patch Notes

  1. How to Set Up a RedM (RDR2) Server in 2026: License Key, txAdmin and server.cfg, Step by StepBlog11min
  2. Best RedM (RDR2) Server Hosting in 2026: Comparing Four Hosts on Slots, Memory and PriceBlog10min
  3. How to Host a Mindustry Server in 2026: server-release.jar, Port 6567 and the Commands That MatterBlog7min
Recommended PC Tool
Recommended PC Tool
Windows Errors? Fix Them Before They SpreadFree repair scan
Crashes, No Sound, or Screen Glitches?Free driver scan

Two free Windows tools

One Free Minute Could Fix That PC

Before you go - each of these free tools takes about a minute and tackles what quietly slows a Windows PC down.

Special offer. View Outbyte info, uninstall instructions, EULA, and Privacy Policy.