Create CNAME Records to redirect or forward your company's domain to your TrekkSoft domain.
Last update [Mar 22, 2024]
Here's an overview of what we cover in this article:
- Overview
- Forwarding your "www" subdomain
- Redirecting your Root Domain
- Other things to know
- SSL Certificates
- Migration to Web Application Firewall (WAF)
________________________________________________________________________
Overview
If you want to keep your current domain or get a lot of traffic to your URL, creating a CNAME record for a subdomain is a great solution to redirect traffic from your current domain to your TrekkSoft page. In this case, your TrekkSoft page will appear to be hosted on your original domain's website.
For example, when a client visits "SubDomain.YourDomain.com" the CNAME record will actually cause this URL to display the content from "YourTrekkSoftPage.TrekkSoft.com".
-
Create a record in your TrekkSoft account
For this step, send us an email at support@trekksoft.com and we will set up it for you. Added DNS settings and status can be checked from Settings > TrekkSoft Website Builder > Domains. Here, you will see the subdomains listed along with the status of each subdomain.
-
Map your CNAME Records to your hosting service provider
Creating a CNAME record can be different depending on your hosting service provider. It is a good idea to refer to your hosting service provider's support section too.
Go to the Domain Name System (DNS) Settings of your hosting service provider section and look for a Create CNAME Record option.
Next, select a subdomain to map, such as "booking" in the example "booking.example.com".
Then, type "cname.trekksoft.com" in the destination field and click Save.
After adding a CNAME record to your website's DNS settings, the status should have a green check mark to confirm that the subdomain is working properly.
Remember to test the subdomain to make sure that it redirects the user to your TrekkSoft subdomain.
If this does not work, contact your hosting service provider for assistance. If the issue persists, please contact us at support@trekksoft.com.
________________________________________________________________________
Forwarding your "www" subdomain
tours.com → www.tours.com → cname.trekksoft.com (tours.trekksoft.com)
Many companies choose to forward their "www" subdomain to cname.trekksoft.com and then redirect their root domain (tours.com) to www.tours.com.
If this is done, when a customer visits tours.com or www.tours.com, they will view the content on tours.trekksoft.com.
Redirecting your Root Domain
You can also redirect your root domain (i.e. RootDomain.com) to a subdomain (i.e. SubDomain.RootDomain.com or www.RootDomain.com), or forward the root domain to an entirely different domain.
OPTION 1: RootDomain.com → SubDomain.RootDomain.com or www.RootDomain.com
OPTION 2: RootDomain.com → cname.trekksoft.com
In the control panel of your hosting service provider, look for the domain that you would like to redirect, and in the information section, select the "forwarding" option.
You will be asked which subdomain that you would like to forward. To only forward the root domain "example.com" just leave the subdomain blank. To forward all subdomains, type "*" in the subdomain field.
________________________________________________________________________
Other things to know
What is an A Record?
An A or Address record (also known as a host record) links a domain to an IP address. Your IP address should point to the following three IP addresses for the root domains. All three should be used in the same field at the same time. The reason we are using three in this case if as a fail-safe. If one domain is having issues, the next one will be used instead. The three domains are:
52.18.77.226
52.30.184.219
108.128.15.191
IMPORTANT! It is possible that your domain provider will require you to add three separate A Records. If you are unsure, check with your domain provider for Support).
(If you're unsure about making any changes to your domain provider site, you can contact support@trekksoft.com and provide the information mentioned in this form).
________________________________________________________________________
SSL Certificates
When using a CNAME record, existing SSL certificates will need to be installed on our server (TrekkSoft Server) - Previously, this was a paid service we are now offering the SSL certificates to all merchants free!
An SSL certificate will be installed on your website automatically within a few days after completing the domain mapping process.
TrekkSoft's booking system is already encrypted and completely secure. TrekkSoft buttons, hosted websites and widgets also have an SSL certificate installed, so there is no need to worry about the security of these tools or domains.
________________________________________________________________________
Migration to Web Application Firewall (WAF)
At TrekkSoft, a secure and reliable system is our highest priority. That’s why we implemented a Web Application Firewall (WAF) for custom domains. By monitoring and filtering traffic, a WAF helps to protect web applications from attacks, e.g. DDOS attack, SQL injections, which in our industry, become more and more common.
You need to proceed with below steps to migrate to WAF:
Step 1: Change the existing A type DNS entries with the New IP addresses for the domain (e.g. abc.com).
- Old Values (need to be removed):
- Type = A
Name/host = @ - Values
52.18.77.226
52.30.184.219108.128.15.191
- Type = A
- New Values (need to be added):
- Type = A
Name/host = @ - Values
151.101.131.52
151.101.67.52
151.101.3.52
151.101.195.52
- Type = A
Step 2: Remove the CNAME entry and add new A type entries for the subdomain (e.g. www.abc.com)
- Old Value (need to be removed)
- Type = CNAME
Name = www
Value =cname.trekksoft.com
- Type = CNAME
- New Value (need to be added):
- Type = A
Name = www
Values
151.101.131.52
151.101.67.52
151.101.3.52
151.101.195.5
- Type = A
Note: Please make sure to add a new A type entry for each IP address. For any queries reach out to support@trekksoft.com
Example: Here you can find the TrekkSoft DNS entries in Godaddy domain registrar control panel. You just need to click on the trash icon in the Delete column. Please note that this UI is different for different domain registrar control panel.
Video Tutorial: Here you can see how to delete old DNS entries and add new one in GoDaddy domain registrar control panel.