FiveM Modding Tutorial
Hey everyone! I figured since I got back into heavy development, and also back into FiveM, Iโm going to share this tutorial!
So what is this? Do you have a custom domain like oldskoolrp.com? You can use that domain name to connect to the server rather than connecting using an IP. I could go on and on about why this would be better. but letโs just get into it!
-
First off you need administration access to the domain name(DNS is where we will be working)
-
Second, keep in mind I am using Google Domains to make this TUT because thatโs where I go, so your registrar may look a whole lot different from mine.
Alright, now we set everything straight.
Log into your registrar. Once you have done that navigate your way to DNS Management.
Find the section where you are able to add custom records.
Now add an โAโ record with the subdomain you want to connect with. (fivem1.oldskoolrp.com)
Next, add an SRV record that corresponds to the โAโ record you made.(Google users just copy past this and edit โ10 10 30120 _cfx._udp.fivem1.oldskoolrp.com.โ)
And thats it! It should be working!
Original source: https://forum.cfx.re/t/how-to-using-a-custom-domain-name-to-join-server/448197