A stream domain is an essential building block of a strong streaming platform.
What is a stream domain?
It's a permanent, self-hosted address for your stream, under your station's own domain name.
- Example: listen.your-station.com
- ...instead of "220.127.116.11" — an IP address, that may change if you need to move to another server in the future.
- ...or "area1.some-stream-provider.com/your-stream-name" — an address straight from your stream provider, which may also change if you switch to a different service.
It helps you build your audience, and keep your listeners.
If your station already has a reasonable audience, then changing your stream address will always result in losing some listeners, and this should be avoided at all costs.
If you ever need to change your stream provider, then without a permanent stream domain, your listeners will need to update their bookmarks, or go to your website to figure out why the original stream is dead. Every instance of your old address out there "in the wild" will be broken.
But with your own stream domain, if your underlying stream address changes, then all you need to do is update your stream domain. Your listeners can continue using the permanent same address, and won't need to do anything to hear your new stream.
It prevents stream provider lock-in.
Again, since you can switch the domain itself to point to whatever other IP or domain you want, then you are not held back by the worry that changing your streaming provider will decimate your current audience.
It looks professional.
It's like a branded address for your stream!
How to create a stream domain
- Creating a subdomain like
listen.my-station-name.comby using your domain host's DNS editor.
- Point this subdomain to your original stream address. For example:
- Your listeners will connect to your new subdomain address.
Domain to IP address
If you are stating with an IP address for your stream, like
251.87.130.124, then add an
A NAME record to your main station's domain that points to this stream's IP address.
Domain to Domain
To connect from your domain to another stream domain, then make the subdomain into a
CNAME record that points to your stream's original domain.
What about the port number?
There is no way to change a port number just with DNS. The port number will be carried over from the base address.
- If you start with an IP address shaped like this:
- ...then your domain will shaped like:
Can I redirect to Port 80 with DNS?
No. There is no "pure DNS" way to redirect, for example, port
8000 to port
80 — such as to "remove" the port at the end of the stream address.
(Using Port 80 makes the port number invisible, since port 80 that is the default port, that's just assumed by all browsers and "listening" programs, when there is no port specified.)
Streams that use this domain technique: