How do I setup an SRV record to connect my server to a domain?
An SRV Record is not as stable as an A record. We suggest using an A record with a dedicated IP. Though, you are able to use an SRV record if you would like.
We will be showing you how to use Cloudflare to set up your SRV records.
Cloudflare Site Link: https://www.cloudflare.com/
The first step is to log in or create an account on Cloudflare. Once you do that, you will be at your account dashboard.
You should see an Add Site button to the middle of the page and to the upper right of the page.

Go ahead and click on either button. Upon doing that, you will be greeted with an option to add your site (your domain). You will want to go ahead and enter your domain there.

Once you input your domain there, you will want to click the blue add site button. You will then see options for different plans. You will want to choose the free plan, then click confirm plan.
After confirming the plan, Cloudflare will search your current records if any. On this page is where you can choose to keep or remove the current records. You can also choose to set up records here as well.

If you want to remove any current record, click the X next to each one you want to remove. If you would like to keep the record, go ahead and click the continue button at the bottom.
If you have no records at the moment, a little confirm box will show up.
Go ahead and click the confirm button. As we will be adding records later.
At the next page, you will get the nameservers you need to change your domain to. This can be done from where your domain is hosted. Usually, this is in the DNS configuration. Though, some sites have a separate nameservers configuration option.

Once you have the nameservers set, it can take time to update. Usually, this is only a few minutes, though can take up to 24-hours. We suggest waiting for 5 to 10 minutes. You can use the re-check option that is provided on the overview page that you will be automatically taken to after it provides the nameservers and clicking to continue. You can hit the re-check now button after a few minutes.
You will now want to locate the DNS option to the top and click on it.

The first thing you will want to add here is an A record to be used alongside with the SRV record. You have two options when it comes to the domain you use.
You have it set directly to your domain or you can have it use a subdomain of your domain.
Directly set example: yourdomain.net
Subdomain example: play.yourdomain.net
We will be having it directly set to the domain. To do that with Cloudflare, you will want to set the name of the A record to the @ symbol. You will now want to set the IPv4 address to your servers numerical IP without the port.
To get the servers numerical IP, you will want to head to the home page of the control panel. You will see where it says Server Address.
Be sure you do not copy and paste in the port.
Go ahead and copy that. You will then want to paste it into the IPv4 address option on Cloudflare. You will also see an orange cloud, you will want to click it to make it grey.
Then click the add record button. Your page should look like a variant of the image below.

Now that you have your A record setup, you will want to proceed to create an SRV record.
You will see the drop down box, you will want to click it and find the SRV option.

Upon clicking on SRV, you will a popup that appears. The following options will be there:
Service
Protocol
Name
You will want to fill them in with the following.
Service _minecraft
Protocol TCP
Name yourdomain.net
If you decide to use a subdomain of your domain, like play.yourdomain.net. Then you would put play.yourdomain.net in the name option.
Your SRV configuration should look like a variant of the one below.

Once you hit the blue save button, another popup will appear.
Priority
Weight
Port
Target
You will want to fill this in with the following information.
Priority: 0
Weight: 5
Port: Your Server Port
Target: yourdomain.net
Again, if you decide to use a subdomain of your domain, like play.yourdomain.net. Then you would put play.yourdomain.net in the target option.
Your SRV Content configuration should look like a variant of the image below.

Upon clicking the save button, you will see that it has the information filled into the add record option. You will want to click the blue add record button as seen in the image below.

Now that you have successfully added an A record and an SRV record, you will be able to use said domain to connect to your Minecraft server!
Please note that these options can take time to update depending on your ISP. Usually, it is within minutes of making the changes. Though it can take up to 24-hours to propagate.
If you need any further help or explanation on this, please do not hesitate to ask us on our chat feature.
We will be showing you how to use Cloudflare to set up your SRV records.
Cloudflare Site Link: https://www.cloudflare.com/
The first step is to log in or create an account on Cloudflare. Once you do that, you will be at your account dashboard.
You should see an Add Site button to the middle of the page and to the upper right of the page.

Go ahead and click on either button. Upon doing that, you will be greeted with an option to add your site (your domain). You will want to go ahead and enter your domain there.

Once you input your domain there, you will want to click the blue add site button. You will then see options for different plans. You will want to choose the free plan, then click confirm plan.
After confirming the plan, Cloudflare will search your current records if any. On this page is where you can choose to keep or remove the current records. You can also choose to set up records here as well.

If you want to remove any current record, click the X next to each one you want to remove. If you would like to keep the record, go ahead and click the continue button at the bottom.
If you have no records at the moment, a little confirm box will show up.
Go ahead and click the confirm button. As we will be adding records later.
At the next page, you will get the nameservers you need to change your domain to. This can be done from where your domain is hosted. Usually, this is in the DNS configuration. Though, some sites have a separate nameservers configuration option.

Once you have the nameservers set, it can take time to update. Usually, this is only a few minutes, though can take up to 24-hours. We suggest waiting for 5 to 10 minutes. You can use the re-check option that is provided on the overview page that you will be automatically taken to after it provides the nameservers and clicking to continue. You can hit the re-check now button after a few minutes.
You will now want to locate the DNS option to the top and click on it.

The first thing you will want to add here is an A record to be used alongside with the SRV record. You have two options when it comes to the domain you use.
You have it set directly to your domain or you can have it use a subdomain of your domain.
Directly set example: yourdomain.net
Subdomain example: play.yourdomain.net
We will be having it directly set to the domain. To do that with Cloudflare, you will want to set the name of the A record to the @ symbol. You will now want to set the IPv4 address to your servers numerical IP without the port.
To get the servers numerical IP, you will want to head to the home page of the control panel. You will see where it says Server Address.
Be sure you do not copy and paste in the port.
Go ahead and copy that. You will then want to paste it into the IPv4 address option on Cloudflare. You will also see an orange cloud, you will want to click it to make it grey.
Then click the add record button. Your page should look like a variant of the image below.

Now that you have your A record setup, you will want to proceed to create an SRV record.
You will see the drop down box, you will want to click it and find the SRV option.

Upon clicking on SRV, you will a popup that appears. The following options will be there:
Service
Protocol
Name
You will want to fill them in with the following.
Service _minecraft
Protocol TCP
Name yourdomain.net
If you decide to use a subdomain of your domain, like play.yourdomain.net. Then you would put play.yourdomain.net in the name option.
Your SRV configuration should look like a variant of the one below.

Once you hit the blue save button, another popup will appear.
Priority
Weight
Port
Target
You will want to fill this in with the following information.
Priority: 0
Weight: 5
Port: Your Server Port
Target: yourdomain.net
Again, if you decide to use a subdomain of your domain, like play.yourdomain.net. Then you would put play.yourdomain.net in the target option.
Your SRV Content configuration should look like a variant of the image below.

Upon clicking the save button, you will see that it has the information filled into the add record option. You will want to click the blue add record button as seen in the image below.

Now that you have successfully added an A record and an SRV record, you will be able to use said domain to connect to your Minecraft server!
Please note that these options can take time to update depending on your ISP. Usually, it is within minutes of making the changes. Though it can take up to 24-hours to propagate.
If you need any further help or explanation on this, please do not hesitate to ask us on our chat feature.
Updated on: 07/21/2019
Thank you!