Xtream Codes Host URL, Port and DNS: Use Your Own Domain
Set up your own Xtream Codes host URL: add your domain in DNS hosting, copy the nameservers to your registrar, wait for propagation, then add the port.
Updated ยท 11 steps ยท Reseller-IPTV.ca
To set up your own Xtream Codes host URL, add your domain in the panel's My DNS Hosting โ My Hosts, copy the two nameservers it generates, paste them as Custom DNS at your domain registrar and wait for the domain to show as active. Your customers then use http://your-domain:PORT as their server URL.
A branded server address looks more professional than a generic one, and it lets you keep the same address for your customers if the infrastructure behind it changes.
What you need for a custom Xtream Codes host URL
- A domain you own, bought from a registrar such as Namecheap or GoDaddy.
- Access to the domain's nameserver settings at that registrar.
- Access to My DNS Hosting in your panel.
Host URL, port and DNS explained
- Host URL: the domain your customers type, for example
http://tv.your-domain.example. - Port: set by your server or panel, not by DNS. Add it after the domain when required:
http://your-domain.example:PORT. - DNS: the nameservers that point your domain to the DNS hosting service.
DNS changes are not instant: propagation can take from a few minutes up to 24 hours. Do not change the nameservers again while you wait. Prefer HTTPS when your setup supports it.
Once the domain is active, use it as the server URL when you create a new TREX subscription and in the setup guides you send, such as add Xtream Codes to TiviMate. Questions? Our reseller support centre can help.
1Step 1: Open My DNS Hosting

Log in to your panel and open My DNS Hosting, where server domains are managed.
2Step 2: Open My Hosts

Inside My DNS Hosting, open My Hosts to see your domains.
3Step 3: Click Add Host

Click Add Host. You need access to the domainโs nameserver settings at your registrar.
4Step 4: Enter your domain and click Add

Type your domain (for example your-domain.example), check the spelling and click Add.
5Step 5: Copy the generated nameservers

The service shows two nameservers for your domain (for example ns1.example.com and ns2.example.com). Keep this page open.
6Step 6: Open your domain at the registrar

At your registrar, go to Domain List, find the same domain and click Manage.
7Step 7: Choose Custom DNS

In Nameservers, switch from the default option to Custom DNS.
8Step 8: Paste both nameservers

Paste the first nameserver in field 1 and the second in field 2, exactly as generated. One typo stops the domain from working.
9Step 9: Save, then wait

Click Save. Do not change the nameservers again while the update spreads across the Internet.
10Step 10: Wait for the active status

Back in My DNS Hosting, wait until the domain shows as active. This can take from a few minutes up to 24 hours.
11Step 11: Your host URL is ready

Use your domain as the server / host URL, followed by the port of your server when required: http://your-domain.example:PORT.
Frequently asked questions
How long does DNS propagation take?
Usually from a few minutes to a few hours, and up to 24 hours. Waiting is normal: changing the nameservers again only restarts the delay.
Where does the port number come from?
From your server or panel configuration. DNS only points the domain to the right place; the port is added after the domain in the server URL.
Can I use a subdomain as my host URL?
Yes. Once your domain is managed by the DNS hosting service, a hostname such as tv.your-domain.example can be used as the server address.
