CLOUD PAAS / APPLICATION SETTINGS

Custom Domain Name

This guide has been reviewed and reformatted for Ruk-Com Cloud PaaS. Screens may vary slightly by platform version.

Click or tap a screenshot to view it at its original size.

Objective

This guide explains how to use Custom Domain Name on Ruk-Com Cloud PaaS, with ordered procedures and practical verification points.

Before you begin

  • Sign in with an account permitted to manage the relevant environment.
  • Confirm the target environment, region and resources before saving changes.
  • Create a backup or rollback plan before changing a production system.
Ruk-Com Cloud PaaS procedure screenshot

For Ruk-Com Cloud, you can change the default Env URL (e.g.{env_name}.app.Ruk-Com.cloud It's the domain you want. Changing your custom domain name can help promote product promotions on your website or make it memorable.

Before entering the operation step Let's get to know the basics of domains first.

  • Domainis the name that you can set to use when accessing the website through the Browser. It consists of 3 parts.
  • TLD(Top-level Domain) is on the far right of the domain, for example.com,.net,.in.th, etc.
  • SLD(Second-level Domain) is in the middle between a subdomain and a TLD.
  • SubdomainIt's on the far left hand side of your domain and can be used or not. For example, www.
  • Root DomainIt is a combination of the SLD and TLD of the domain. It will be used as a name to refer to the website. For example, Ruk-Com.in.th
  • DNSis a system that converts domains into IP addresses that need to be identified as Web Services, for example: When you enter the website www.mydomain.com in your Browser
    DNS is responsible for finding the real IP of the server that is related to this domain to retrieve information to display.
Ruk-Com Cloud PaaS procedure screenshot

Tips: Ruk-Com Cloud has Full preparation.gTLD + IDN Domain Namesfor you to use You can use both local and international TLD names for defining domain names.

For using a custom domain, you can perform the following steps.

Set up Dns Record

There are several types of Dns Record that can be used to connect to the Ruk-Com Cloud environment.

  • CNAME- Used to connect your domain to your env (requireddomain bindingvia Ruk-Com Cloud Dashboard first)
  • ANAME- (If the Dns Server you are using can do this) Connectroot domain
  • A Record- Connect your domain to public IP (external IP must be enabled in envoriment first)

Note: CNAME/ANAME DNS recods can be used withShared Load Balancer(No need to use public IP) In the case of using Env Production, it is recommended to usepublic IPand set through A record.

Note:TheCNAME/ANAMEDNS records can be used withShared Load Balancer(i.e. without public IP). However, for the production environments, it is recommended to attachpublic IPand configureA Record.
Herewith, in case of aPrivate Cloudsetup, when the platform owner controls all the environments, the Shared Load Balancer limitations can be disabled, making the CNAME usage a production-ready option.

Example of setting up a Dns Record for your domain

  1. Login into the customer portal ofRuk-Com customer portal
  2. Go to the Domain Names menu.
  3. Select My Domain
Ruk-Com Cloud PaaS procedure screenshot
  1. Find the domain entry for which you want to edit the Dns Record. After that, click on (...) located at the far right of the list and select Manage domain names
Ruk-Com Cloud PaaS procedure screenshot
  1. After entering the domain name management page, go to the "DNS management system" menu.
Ruk-Com Cloud PaaS procedure screenshot
  1. Add the A record or CNAME of the environment and press "Save".
Ruk-Com Cloud PaaS procedure screenshot
add A record using extranal ip of env
Ruk-Com Cloud PaaS procedure screenshot
Add CNAME using env's Shared Load Balancer

Connecting domain to Env

When we use a non-public IP (such as setting a DNS record to point to the Env name using CNAME/ANAME), you must set the domain that is used with the Env so that the Shared Load Balancers will route traffic to the correct Env.

Note: If public IP is enabled in Env, there is no need to specify a domain name.

  1. On the Ruk-Com Cloud management page, click on the settings of the Env for which you want to set the domain.
Ruk-Com Cloud PaaS procedure screenshot
  1. After pressing the settings button, select the "Custom Domains" menu on the left-hand side. After that, enter the desired domain name (e.g. www.myexternaldomain.com or myexternaldomain.com) and press the Bind button. After a few moments you will be able to run the env on the specified domain.
Ruk-Com Cloud PaaS procedure screenshot

NOTE: It may take a few minutes for the new URL set to become available.