You made a website on Cloudways with the Cloudways subdomain and now you do want to add your own domain name?
By the end of this article, you will be able to add and manage your domain name on Cloudways step by step.
You will learn how to point your domain name to any application -website- on the Cloudways platform simply and easily.
Not just that, you will also learn how to enable HTTPS redirection, and add a free SSL certificate to your website.
Cloudways is one of the best-managed cloud hosting providers, it’s a reliable and affordable cloud service and has a lot of features that will help take the steps of your application ahead. Read Cloudways review.
That being said, let’s see how to add and point any domain name to the Cloudways application.
Step One: Register a Domain Name
Cloudways doesn’t offer domain name registration. Therefore, you need to register a domain name somewhere else.
If you already have the domain name registered, you can proceed to the next step.
If you don’t have a domain name go to NameCheap and buy a domain name, it’s a reliable domain hosting, hosts millions of domains, and has a clean dashboard and low-price domain name registration.
Step Two: Add Domain Name To Your Cloudways Application
The next step is to add your domain name URL to your application on Cloudways.
Go to the Cloudways platform, login to your account, and then to your target application that you want to change the domain name for.
Once you do that, you will find yourself on a page like the one below. I created this application -website- for the sake of this tutorial and named it (hostingengines2).
From this control panel, you can manage all your website settings with ease.
Everything you need in order to manage your websites such as backups, migration, monitoring, access credentials, and more can be done from here.
From the Application Management panel on the left side, click on Domain Management to go to your domain settings on your application.
Once you go there, under the PRIMARY DOMAIN there’s a blank field. Type into that field your domain name, and then click on SAVE CHANGES.
Once you finish there, go to the third step of how to point your domain name to Cloudways.
Step Three: Point Domain Name To Your IP Address
An Internet Protocol (IP) address is a string of unique numbers assigned to websites and servers Used to send and retrieve data from specific devices connected to the Internet.
If you followed the previous steps, you did add your domain name to the application.
Now you have to point your domain name to your website by adding the Public IP address of your server to your domain DNS records.
To get your IP address on your server. Click on Access Details to take you right back.
From there just click on your IP address, the set of numbers marked in yellow below. Once you click on it, it will automatically be copied to the clipboard.
Next, go to where you host your domain name; your domain DNS settings, and add an “A” record and a “CNAME” record.
The “A” record maps a domain name to the IP address.
In other words, the “A” record tells your domain name that this IP address is the targeted one. So whenever someone clicks on your domain name, he will be directed to your website.
The “CNMAE” record redirects the “www” version of your website to the “non-www” version. So whenever visitors type your domain name -for example- (www.hostingengines.com), they will be redirected to (hostingengines.com).
In this tutorial, I will edit the DNS records on the most known domain managers to match the most requested query: Cloudflare, NameCheap, and GoDaddy.
How Do I Point Cloudflare Domain Name To Cloudways?
To edit your domain name DNS settings on Cloudflare, click here to go to Cloudflare and log in to your account.
Select the targeted domain name that you want to point to Cloudways and click on the DNS in the left sidebar.
From there you can find all the DNS records your domain name has.
To add the A record, on your domain DNS click on add record. The type would be “A” record.
In the name field type in your domain name such as (hostingengines.com) or just type in “@” instead.
The “@” symbol means that you are referring to the origin registered domain.
In the IP Address field, paste the IP address that you copied before, if you lost it go back and copy it again the same way
The TTL you can leave it auto as it is. Finally, click Save.
If there’s an existing “A” record you can’t add a new one. Instead, edit the existing one the same way you add a new one.
Wait a few seconds and then you can see that your domain name has been assigned to your website -application- on Cloudways.
To add the CNAME record, on your domain DNS click on add record. The type would be a “CNAME” record.
In the name field type in “www” and in the Target field, type in your domain name the same as “yourdomain.com”.
This example shows how to point a domain name on Cloudflare To the Cloudways website (application). The next ones are on NameCheap and GoDaddy.
How Do I Point NameCheap Domain Name To Cloudways?
To point your domain name on NameCheap click here to go to NameCheap and login to your account.
Once you are in there, in the left sidebar click Domain List to go to your domain lists.
Click Manage at the right of the domain name that you want to add the “A” record to.
From there you can manage all your domain settings. Click Advanced DNS, and scroll down to ADD NEW RECORD.
Choose to add an “A” record. in the host field add the “@” sign, and in the value use your server IP address, as we did earlier.
If you find an existing “A” record you can’t add a new one. Just edit the new old by adding your new IP address.
The CNAME Record on NameCheap will be added automatically when you register the domain name with them.
You just need to edit its value. Click in the Value field and type in”yourdomain.com” instead of “parkingpage.namecheap.com”
However, if you don’t find it, you can add it the same way you would add a new one.
Finally, hit the checkmark on the right side to save your settings.
How Do I Point GoDaddy Domain Name To Cloudways?
To point your domain name on GoDaddy click here to go to GoDaddy and log in to your account.
Go to your products on GoDaddy or where your domain name is.
Click on the three dots to open the domain name settings, then click on manage DNS.
In the DNS record click Add, and choose the type “A”, to add an “A” record.
Put the “@” sign in the Name field, and your IP address in the Value field. Then click Add record.
For the “CNAME” record once again Add, this time choose the “CNAME” record.
Put the “www” letters in the Name field, and type in “yourdomain.com” in the Value field. Then click Add record.
If any of the above records already exist, edit their values in the same way you would add a new one.
That’s it for pointing your domain name to your Cloudways application. Now let’s see how we can install the free SSL certificate on the website we create on Cloudways.
How Do I Install Free SSL Certificate On Cloudways Application?
You don’t need to buy an SSL certificate from your domain name registrar if you host your website with Cloudways.
Instead, you can install the free SSL certificate that Cloudways offer. Follow the steps below to know how to install the free Let’s Encrypt SSL certificate.
From the Application Management panel of your website, select SSL Certificate. By default, you find that “Let’s Encrypt” certificate.
On the Email Address type the email address you want Cloudways to notify you with after the end of the certificate to renew it again.
In Domain Name, type your domain name. Click Install Certificate, wait a few seconds and that’s it. Your website is now secure.
How Do I Enable HTTPS Redirection On Cloudways Application?
It’s very necessary to have your non-secure “HTTP” version of your website redirected to your secured “HTTPS” version on Cloudways. So your visitors can trust your website.
How to Redirect “non-www” to “www” on Cloudways application?
To force redirect “HTTP” to “HTTPS” go to Application Management again, this time click Application Settings, then go down to the HTTPS REDIRECTION option.
If it’s enabled by default, you are all set up. If it’s not enabled yet, click on the toggle icon to switch the option and then click YES on the pop-up window to enable it.
How Do I Change Domain Name On Cloudways Application?
The process of how to change a domain name on Cloudways application (website) is the same process as adding a new domain.
So if you want to change your existing domain name to another one, go through the process of adding a new domain name as we explained above.
First, replace the old domain name with the new one from Domain Management.
Then add or update the DNS record of your new domain name as we explained above.
After that, you can install the SSL certificate if you want. As well as that, redirect the “HTTP” version of your website to the “HTTPS” version.
Read also: Best Cloudways Features And Add-Ons