In this KB:
- Prerequisites to taking your website live
- How to map your domain
- How to create a CNAME entry at your DNS provider
We assume that you have already deployed your website on top of a Cloudways server and that you have already tested that everything is fine.
We are dealing here with the last step of migrating to Cloudways; that is to point the necessary DNS records to the new Cloudways server.
Remember that each Cloudways account comes with one free managed migration (and you can buy as many more as you want), so if you have any problems during the transition just get a managed migration!
Step 1: Go to Application Management
Tap on “Applications” on the top menu bar and then select your target application from the list.
Step 2: Mapping Your Primary Domain
In this step we will make sure that your deployed Cloudways application knows which website name (i.e. www.mysite.com) it should respond to, i.e., map a primary domain to your application:
- Under “Application Management” page, click on “Domain Management” option located on the left side of the screen.
- Now enter your website name in the domain field. It should be an FQDN (Fully Qualified Domain Name) like www.mysite.com, blog.mysite.com, shop.mysite.com …
- Click on “Save Changes” button.
- In conclusion, make a note of your application name under the cloudwaysapps.com area that will be utilized to make the essential DNS record (CNAME).
- In our illustration, it is wordpress-15942-51425-135928.cloudwaysapps.com
Note 1: Do not use a root domain like mysite.com here. If you want to map the root domain to your application, please check the following KB.
Note 2: If you want your website to be accessible by either www or non-www domain, you will need to define both CNAME and A Record.
Additional Domains refer to alias website names that you want your application to respond to (i.e. www.myalternatesitename.com). You would not need it, and you can set them anytime. You will have to follow the same DNS-related steps listed below for all additional domains that you add to your application.
Step 3: Create a CNAME Entry in Your DNS Provider Panel
Now you need to access your DNS provider panel and create the proper DNS record (CNAME). We provide here more specific instructions for three well-known registrars:
For other registrars / DNS providers, the image above shows the basic settings. High level process:
- Log into your DNS provider panel or console.
- Navigate to your DNS Management page. The location and name of this page vary by provider, but it can be found under Domain Management or Advanced Settings.
- Locate the CNAME section. Choose to create a new CNAME record and enter the same subdomain that you have used above when setting up the Primary Domain (in our www.mysite.com example, the subdomain is www).
- Set the CNAME destination as the cloudwaysapps.com subdomain that you noted above (in the example woocommerce-11-619-1361.cloudwaysapps.com, use your own!).
- If prompted for a TTL (Time To Live), please choose 3600s (1 hour).
- As explained, the process can vary significantly from one provider to another. In the case of trouble contact our Live Chat agents or open a support ticket and we will help you out.
Once you are done with adding/updating DNS records, it will take time up to 24 hours (depending on your domain registrar) for the changes take effective across the internet. You can check the status of your domain(s) propagation by using some online available tool such as https://www.whatsmydns.net.