Domains
Contents |
Introduction
Please note that this article concerns the use of custom domain names. If you simply want to change your website's address to another .enjin.com address, please check the Enjin subdomains article.
Custom Domains can be used with your Enjin website provided you are on the Ultimate or Advanced plan.
Please note that Enjin is not a domain registrar, and does not sell domain names. A list of some registrars we recommend to users is below.
If you are looking for specific domain registrar help please visit any of the following pages:
How to set a custom domain for your Enjin website
Register a Domain
If you don't already own a domain name, you'll need to register one.
We recommend purchasing a domain from the following registrars:
Now that you have registered a domain, or if you already own one, follow the steps below:
If this is a newly registered domain
Now that you have registered a domain, the next step is to Enable Enjin DNS change the Nameserver or DNS in your domain registrar panel.
Step 1. Change the name servers to:
- ns1.enjin.com
- ns2.enjin.com
- ns3.enjin.com
- ns4.enjin.com
Note: Some domains registrars may only allow setting 2 name servers, just set ns1.enjin.com and ns2.enjin.com
Note: Please wait 24 hours before proceeding with Step 2.
Step 2. Go back to your Enjin website (login) and click Dashboard (Green house icon in the bottom right traybar) then Website Settings [3].
Step 3. Set the domain name in the 'Use your own domain' field and click use domain.
Step 4. Your Enjin website will appear on the new domain.
If this domain already has DNS Records set up and you are switching to Enjin DNS
Step 1. Visit your Domain / DNS records [4] page located in Dashboard - Website Settings
Step 2. Click the Copy DNS Records & Enable Enjin DNS button. Your domain settings will be copied into Enjin. (Your website will not go down)
Step 3. Visit your domain registrar, and change the name servers for your domain to:
- ns1.enjin.com
- ns2.enjin.com
- ns3.enjin.com
- ns4.enjin.com
Step 4. You will see a warning on your Enjin DNS panel until the name server changes propagate world wide - this usually takes 24-48 hours. Once Enjin detects the nameservers have been changed, you will be able to edit your DNS Records using the Enjin DNS panel.
Continue using third-party DNS nameservers
If you wish to use your Domain Name registrar's own name servers and DNS control panel instead of Enjin DNS, set your DNS Records to the following:
Root A Record (@):
199.83.134.131
CNAME record (www): app.enjin.com.
Note: It is "app.enjin.com." with a dot "." at the end, unless your CPanel does not accept it.
Enjin DNS Management
Please note that the information in this section is intended for owners of websites on the Advanced or Ultimate plans. Not all information in this section may be applicable for free or trial plan websites.
Introduction
The DNS Manager allows you to control your website's domain and subdomains for your site and other systems like game servers and email. To get started with the DNS manager, go to website settings page of your user dashboard.
The DNS manager can be accessed by adding /dashboard/settings/website-dns to your website's URL, after the .com (Or whatever extension your site uses). For example: http://www.enjin.com/dashboard/settings/website-dns
IMPORTANT In order to use the DNS Manager, make sure that you first set your name servers in accordance with the instructions above (The range of NS1 to NS4).
Using Custom Emails
In order to use a custom email address for your website (Example: info@enjin.com), you will first have to contact your domain registrar and ask them to provide you with their MX records. Once you have these records, you can enter them in the DNS management panel.
- The fourth heading in the panel "Domain Mail Settings" will give you control over these.
- Fill the radial button for "I will specify my own MX records"
- The section will expand to reveal a number of fields. Fill these fields as described below.
- Click on the "Save Changes" button when you are finished.
Hostname: You will leave this box blank. For instance, if you want something like "info@enjin.com". You'll need to set this in your mail server. Not on our DNS panel.
Mailserver Hostname: This entry should be filled with the MX records provided by your registrar.
Priority: This field is also determined by your registrar. Check with them to see what the entry should be.
TTL: You can set this value to whatever you wish it to be. Each integer point represents one second. 60 would be one (1) minute.
NOTE: Your MX records should end in a dot "." For instance: a record for "mx00.enjin.com" should be "mx00.enjin.com."
Pointing Subdomains to External Systems
You can point your website's subdomain to an external system, such as a file host or game server.
- Navigate to the section entitled "Set Custom Records"
- Hostname: Here you will add your custom subdomain name. For example. If you want the subdomain mumble.yourdomain.com you must set the hostname as 'mumble'. Then the subdomain will automatically become: mumble.yourdomain.com
- IP Address / Domain: For game servers or a voice server, fill the "IP Address / Domain" field with the IP of the server or external resource.
- Record Type: Set this to "A RECORD".
- TTL: As above, this field can be set to whatever integer (In seconds) you choose.
Pointing Subdomains to An Enjin Page
You can now set up subdomains for specific pages on your site (Such as "www.forums.enjin.com");
- Navigate to the section entitled "URL Redirect Settings".
- Add the subdomain name to the "Hostname" field.
- URL is the actual page that users will be redirected to when entering the hostname. An example would be "www.enjin.com/forums".
- Redirect Type: The small question mark icon next to this field shows the different types of redirects.
- Hardlink: Checking this box forces the URL in the "URL" field as the redirect when users navigate to this page. For example, "www.enjin.com/forums/cutecat.jpg" will resolve to "www.enjin.com/forums" with this box checked.
- TTL: As above, this field can be set to whatever integer (In seconds) you choose.
Custom Subdomains for Minecraft Servers
We have special instructions here for setting up a subdomain for your Minecraft server. You will need to create an A Record pointing to the Minecraft server IP. Then create an SRV record for your desired server domain name, pointing to the previous A Record.
Create an A Record to your Server IP
- Navigate to the section entitled "Set Custom Records"
- Hostname: Set a name for your server IP (NOT your intended Minecraft server domain). So if you want a custom domain for your server like play.yourdomain.com. Then set a random hostname for your A record like "myserver" and you will end up with the subdomain "myserver.yourdomain.com"
- IP Address / Domain: Fill in the IP Address of your Minecraft server.
- Record Type: Set this to "A RECORD".
- TTL: As above, this field can be set to whatever integer (In seconds) you choose.
Once you have the A record created, be sure to wait for the TTL to load fully. Then proceed to creating your SRV record.
Create an SRV Record
- Navigate to the "SRV" section in your DNS Management Panel
- In the _SERVICE column, enter "_minecraft".
- In the _PROTOCOL column, enter "_tcp.<name>". (For example, entering "_tcp.mc" will setup the following domain: mc.yourdomain.com)
Alternatively, if you don't want a subdomain, you can just add "_tcp". This will make your SRV record point to your base domain "yourdomain.com"
- PRIORITY should be "0".
- WEIGHT should be "5"
- In the PORT field, you must enter your server's port
- In the TARGET field, you must add the hostname of the A record you just created in the guide above. So if you've created the subdomain "myserver.yourdomain.com" add the text "myserver" in the TARGET field.
- We recommend a TTL of 1800
Custom Subdomains for TeamSpeak 3 Servers
We have special instructions here for setting up a subdomain for your TS3 server.
- Navigate to the "SRV" section in your DNS Management Panel
- In the _SERVICE column, enter "_ts3".
- In the _PROTOCOL colum, enter either "_udp" or "_udp.<name>".
If you enter "_udp", the TS3 server can be accessed at your root domain. If you enter "_udp.<name>", the TS3 server can be accessed at that subdomain of your website. For example, entering "_udp.talk" will point them to talk.yoursite.com
- The entry in the PRIORITY field should be "0".
- WEIGHT should be set to "5"
- In the PORT field, you must enter your server's port
- In the TARGET field, you must add the server's IP address or hostname. You must add an additional dot (".") after your server's IP for this to work correctly. If your server's IP address is, for instance, 1.2.3.4, you must enter "1.2.3.4." for it to work correctly.
- We recommend a TTL of 1800
Custom Subdomains for Mumble Servers
Mumble does NOT support SRV records at this time. However, you can still set up a custom record for your server to use your domain as the IP. To do this, please follow these instructions.
- Navigate to the "Custom Records" section in your DNS Management Panel
- In the Hostname column, enter "voice".
- In the IP Address / Domain column, enter your server IP address or domain IP provided by Enjin. Do NOT include your port here. If this is for your Enjin Mumble server please find this IP in your admin panel > voice tab. If you are inputting a domain IP please append a " . " at the end. Ex. "east3.voice.enjin.com."
- In the Record Type column, enter "A (Address)" if you entered a numerical IP in the column before, or "CNAME" if you entered in a domain IP previously.
- We recommend a TTL of 1800
After this has been done and saved you will be able to connect to your Mumble server using "voice.yourdomain.com" within minutes. Have fun!