Vintage Story Connecting Your Domain

How to set up SRV and A Domain Records for your Vintage Story server.

Last updated: September 17, 2025

Creating a SRV record on a domain you own will allow you to connect to the server using that domain (i.e. vintagestory.myserver.com) rather than a numerical IP and port.

Purchase a domain

If you haven’t already, you’ll need to purchase the domain from a domain registrar such as Porkbun or Cloudflare

Create an A Record

We first need to create the A Record.

  • Type: A
  • Name: Set this to the subdomain you want to use (play, vs, vintagestory, etc). If you are using Shared IP (if it requires a port) then set the subdomain to something else because we will need to use it in the SRV Record.
  • IPv4 address: Set this to you IP Address without the port.
  • TTL: Auto
  • Proxy status (if available): DNS Only

Your A Record should look something like this: The CloudFlare new record modal with the options for an A Record populated

Create the SRV Record

The next step is to create a SRV Record to be able to set up the port, this is not required if you have a Dedicated IP.

Press Add Record and set the following credentials:

  • Name: Put the name of the subdomain you want to use into this string _vintagestory._tcp.<domain> where <domain> is the subdomain you want to use. If you want to be able to connect to play.example.com, use _vintagestory._tcp.play, if you want to connect to example.com /(your root domain/, use _vintagestory._tcp.@.
  • Priority: 0
  • Weight: 0
  • TTL: Auto
  • Port: Set this to your IP Address’s port.
  • Target: Set this to the subdomain you set in A Record earlier (in our example, we’ve set it to play, the domain is example.com. So we will use play.example.com).

Your SRV Record should look something like this: The CloudFlare new record modal with the options for an A Record populated After that, you are all set! You should be able to connect to your server using the subdomain you set in the SRV Record and your domain (in our example, play.example.com).