Custom Domain/CNAME at Account & Campaign Level

By setting up your domain through "CNAME or A" records, you can streamline access to your games, making them accessible directly via your chosen domain or subdomain. This can be done at both the account and campaign levels.

  1. Account Level: When you configure your domain at the account level, all your games become accessible through a unified gateway. This setup enables you to host all games under one main or subdomain, accessible via a structured URL format: "yourdomain.com/GAMEID"

    1. To do this, visit My Dashboard and click on "Account Level Domain" CTA to host all your games on your main/ subdomain.

    2. Follow the prompts after entering your domain and confirm the setup Example: If your domain is example.com, after setup, accessing example.com/GAMEID will directly open the game associated with that ID.

  2. Campaign Level: You can also set the domain individually at the specific campaign/game level.

    1. To do this, visit My Dashboard and click on the "Manage Domain" icon of the game you want to host on your main/subdomain.

    2. Follow the instructions provided to complete the domain setup for that specific campaign Example: If your domain is game.example.com, after setup, accessing game.example.com will directly open the game.

Now, Let's Learn how you can set up the Main/ Subdomain in 3 simple steps!!

Root/Main Domain Set Up:

Let’s say you want to host a particular game/campaign on your root domain which is the main and highest level of a domain hierarchy, exemplified by the primary domain name without any prefixes, such as "gaurav.com”

  1. Enter the Main/Root domain you want to connect and click on update. For example, in the image below we are connecting “gaurav.com”

  1. You will get the "Target" value "43.204.18.197" for a new 'A' record as shown in the image below.

  1. Visit your DNS provider settings to add a new ‘A’ record and enter the target value that you were provided in the image above.

Once updated, you can visit your main domain and play the game. It's that simple!!

Example: Hosting a game on yourdomain.com would require adding an 'A' record pointing to the provided IP address, such as 43.204.18.197 *Note: that the activation period depends on your DNS provider and can range from 5 minutes to 24 hours.

Subdomain Set Up:

Let’s say you want to host a particular game/campaign on your subdomain which is a division of a larger domain, formed by adding a prefix to the root domain such as "games.prabhatku.me” where ‘games’ is the sub domain and ‘prabhatku.me’ is the main domain

  1. Enter the Subdomain you want to connect and click on update. For example, in the image below we are connecting “games.prabhatku.me

  2. You will be getting the "Target" value: rhymdns.in for a new CNAME record as shown in the image below.

  1. Finally, visit your DNS provider settings to add a new CNAME record, enter your domain name which is "games" in this example and also enter the target value: rhymdns.in as seen in the image below.

Once updated, you can visit your subdomain and play the game. It's that simple!! Example: For games.yourdomain.com, you'll add a CNAME record with "games" as the name and the target value provided during setup.

*Note: that the activation period depends on your DNS provider and can range from 5 minutes to 24 hours. ---------------------------------------------------------------------------------------------------------------------

To remove or delete a domain connected to a game, simply click on the delete button in the "Manage Domain' settings of that game.

Last updated