A custom domain is a unique name that can be used to identify your server, rather than using an IP address. Although Rust doesn't officially support the use of DNS service records (SRV records), you can still configure a custom domain for your Rust server with a custom "A Record".
Configuring a Custom Domain for your Rust Server
To configure a custom domain for your Rust server, you must create an A Record in your domain's advanced DNS settings.
- Log in to your control panel and take note of your server's IP address.
- Log in to your NameCheap Account Panel, or the equivalent dashboard.
- Click Manage next to your desired domain.
- Click the Advanced DNS tab.
- Click Add New Record.
- Select A Record as the type.
- Enter your desired subdomain in the host field (Use an
@
symbol for no subdomain). - In the value field, enter your server IP without the port.
- Click Save All Changes.
You should now be able to connect to your server using your new domain followed by your server's port. In this example, we can connect using the address us.dontgrief.me:15100
.
Some domain providers take a while to populate DNS settings. Generally speaking, you should not need to wait longer than 12 hours for your new settings to populate.
To learn more about Rust server hosting, you can browse our library of Knowledgebase articles found here.
If you require any further assistance, please contact our support at: https://shockbyte.com/billing/submitticket.php