Knowledge Base
MilesWeb / Domain Name & DNS Issues

How can I add an SRV record to a Domain?

Approx. read time : 3 min

From this article, you will learn how to add an SRV record to a domain.

What are SRV records?

SRV records are DNS entries that describe how a domain handles particular services. For example, you may need to add an SRV record to your domain when you configure to SIP or a third-party service, like Microsoft Office 365.

To make this process easy, you can reach out to our customer support team, and they will help you with it.

# Steps to add SRV record in cPanel

You can easily add SRV records using the Zone Editor if you have an account including cPanel access.

Perform the following steps to do so:

  1. Log in to cPanel.
  2. On the cPanel home screen, go to the Domains section and click on Zone Editor.

zone editor

  1. Find and locate the domain for which you wish to add an SRV record, and then click on Manage.

zone editor manage

  1. Click on Add Record, and then in the list box for Type, select SRV.
  2. In the text box for Name, type the name of a valid SRV record, using the format as :

_service._protocol.domain. 

  • _service is used as a symbolic name for the service. Example, _sip.
  • _protocol is used as a transport protocol of the service. Example, _tcp or _udp.
  • domain is used as the domain name for which the SRV record is valid. Example, sip.example.com.
  1. In the text box for TTL, type the TTL (time to live) value, or accept the default value.
  2. In the text box for Priority, type the priority for the SRV record.
  3. In the text for Weight, type the weight for the SRV record.
  4. In the text box for Port, type the port number for the SRV record.
  5. In the text box for Target, type the name of the server that provides the service.
  6. Under the Actions section, click on Add Record. cPanel automatically adds the SRV records to the DNS zone file.

  # Steps to add SRV records using reseller hosting account

As a reseller, you can add SRV records to your customer’s domains using WebHost Manager.

Perform the following steps to do so :

  1. Log in to WebHost Manager.
  2. On the WebHost Manager home screen, click on DNS Functions, and then click on Edit DNS Zone.
  3. In the list box, select the domain for which you wish to add an SRV record, and then click on Edit. The Edit DNS Zone page will appear.
  4. Scroll down the page and go to the Add New Entries Below this Line section :

dns zone add entry

  1. In the first text box, type the service name and protocol. (As example, _sip._tcp).
  2. In the list box for Select, click on SRV. Four additional text boxes will appear:

dns zone add srv entry

  1. In the text box for Priority, type the priority for the service.

In case you are not sure about what value to use, type 0.

  1. In the text box for Weight, type the weight for the service.

In case you are not sure about what value to use, type 0.

  1. In the text box for Port, type the TCP or UDP port that the service uses.
  2. In the text box for Hostname, type the hostname of the server that provides the service.

(as example:  sip.example.com).

  1. Click on Save.

That’s it!

Also Read :

1) How to Enable and Disable Parked (Alias) Domain Redirection?

2) Point Your Domain to a ‘Coming soon’ Page In Simple Steps

With an interest in doing something creative daily, Sonam works as a Digital Marketing Executive. She likes to write technical blogs related to web hosting, digital marketing, and other IT topics. She also likes to spend her leisure time on social media to find different strategies for client engagement.
Need help? We’re always here for you.