Configure a domain name for FiveM
Prerequisites
Before you begin, make sure you have:
- A registered domain name
- Access to your DNS configuration panel
- A working FiveM server
TxAdmin Guide
We have a comprehensive guide to configure TxAdmin on Pterodactyl. You can consult it here.
- Access to your Pterodactyl panel (to retrieve your server IP and port)
1. Access your DNS configuration panel
Log in to your domain name provider and access the DNS management section. This may vary depending on the provider, but look for terms like "DNS Management", "DNS Zone" or "DNS Settings".
No need to transfer it to us, we'll show you how to configure it to point to your FiveM server.
2. Add an A record
Click "Add a record", then select type A.
Fill in the fields as follows:
-
Name: Enter the desired subdomain (ex.:
fivemforfivem.yourdomain.com). -
Type: Select
A. -
Value / IP Address: Enter the IP address of your FiveM server.
Where to find the IPAccess our Game panel: https://game.elypsecloud.com/server/faa2ad9f
Log in, then open the relevant server. The IP is displayed at the top, next to the status.
Be careful with the IPCopy only the IP address. Do NOT take the port.
Valid format:
XXX.XXX.XXX.XXX(each group between 0 and 255). -
TTL: Leave
autoor the default value. -
Priority: Leave empty or set to
0(if applicable). -
Proxy: Disable proxy if available. Traffic must point directly to your server.
Proxy IncompatibilityDNS provider proxies are generally incompatible with FiveM.
If you want a proxy, configure a reverse proxy on your server. See the official documentation.
Click "Save" or "Add record".
3. Add an SRV record
By default, none of our servers use port 30120.
Check your server's port in the Pterodactyl panel.
If you are using port 30120 with a dedicated IP, the SRV record is unnecessary: FiveM detects it automatically.
Click "Add a record" again, then select type SRV.
Fill in the fields as follows:
- Name:
_cfx._udp.followed by your subdomain (ex.:_cfx._udp.fivem.yourdomain.com). - Type:
SRV - Priority:
0 - Weight:
0 - TTL: Leave
autoor the default value. - Port: Enter the real port of your FiveM server (ex.:
30223). - Target: Enter the fully qualified domain name pointing to the server (ex.:
fivem.yourdomain.com).
Click "Save" or "Add record".
4. Verify DNS propagation
DNS propagation can take from a few minutes to 48 hours. You can verify that your DNS records are properly configured using online tools like WhatsMyDNS or DNS Checker.
5. Test the connection
Open FiveM and try to connect to your server using the domain name you configured
(for example, fivem.yourdomain.com).
If everything is properly configured, you should be able to connect without any issues.
If you encounter problems, check the previous steps and make sure the DNS records are properly configured and propagated.
🎉 Congratulations
Your domain name is now configured to point to your FiveM server!
If you encounter any issues, open a ticket on our Discord.