How Do I Take My Website Live From Cloudways?February 12, 2014

 

In this KB:

  • Prerequisites to taking your website live
  • How to map your domain
  • How to create an A Record entry at your DNS provider
  • Domain / Subdomain Examples
  • DNS Propagation

 

Before you begin

Before you point your domains to your web applications, 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
  • you have setup transactional email add-on for outgoing emails (if applicable) otherwise, your application may not be able to send emails

 

We are dealing here with the last step of migrating your website 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 as you want), so if you have any problems during the transition just get a managed migration!

We have divided our KB into two parts. Part A deals with the changes required on your Cloudways account for adding the domain to your web application(s). Part B covers how you can add records at your domain registrar to point the domain. It is essential for you to complete both parts of this guide.  

Part A (Domain Settings at Cloudways)

Step 1: Get Your Server IP And Select Application

After log into your Cloudways account, note the IP address of the server where your desired web application is deployed.

Cloudways Server Management

Now, click on the “www” option located on the right side of the screen and next to the server name, and then select your target application from the list.

Cloudways Application Management

Step 2: Mapping Your Domain

Under “Application Management” page, click on “Domain Management” option located on the left side of the screen.

There are two ways to point your domain for which details are mentioned below.

Primary Domain (Recommended)

To enable 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.

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 etc. Click on “Save Changes” button.

Cloudways Domain Management

Additional Domains (Optional/When needed)

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.

Or, if you have a multisite website, for example, WordPress MU and you want to map different domains to subsites of your multisite network, you can use this additional domains feature. But keep your main domain added under “Primary Domain” section.

You will have to follow the same DNS-related steps listed below for primary domain and/or additional domains that you add to your application.

Part B (Settings at Domain Registrar)

Step 3: Create an A Record Entry in Your DNS Provider Panel

Now you need to access your DNS provider panel and create the proper DNS record ( A Record). We provide here more specific instructions for three well-known registrars:

Creating an A Record with Godaddy

Creating an A Record with Namecheap

Creating an A Record with Dreamhost

For other registrars / DNS providers, the high level process is mentioned below:

  1. Log into your DNS provider panel or console.
  1. 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 and then select the domain name that you want to update.
  1. Locate the Records section. Choose to create an A Record from the drop-down list and then complete the below fields:
    • Host / Name (subdomain i.e. first part of your domain before the first dot)
    • Value (the IP address of your server)
    • TTL (‘Time To Live’ is a propagation time.  The value should be lowest i.e. 1 minute or leave this option default as per your registrar).
  2. Click the Save Changes button to apply the changes.

Examples (Record Type, Host, Value)

Below are some examples which can give you a hint of how you can point your domain or subdomain to your application hosted on the server at Cloudways.

www – use it when you want to point a domain (ex: www.mysite.com) to the IP address.
A Record | www | 188.166.XXX.31

@ – use it when you want to point a root domain (ex: mysite.com) to the IP address. Some providers (like DreamHost) accept blank Host/Name field for root domain.
A Record | @ | 188.166.XXX.31

[any subdomain] – you can use any name of a subdomain (ex: dev.mysite.com) that you want to point to the IP address.
A Record | dev| 188.166.XXX.31

 

As explained, the process can vary significantly from one provider to another. In case of any trouble contact our Live Chat agents or open a support ticket and we will assist you accordingly.

Check If DNS Propagation Has Completed

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

11 Responses

  1. Nic says:

    This article got me part of the way there, however I also needed to change the A record for the domain to point to the server IP address.

    Perhaps others reading this will know that, however it might be worth adding in.

  2. Richard Luke says:

    While this article took me through how to set up a CNAME record pointing to my Cloudways app, it didn’t mention that I need to setup an A record pointing to the public IP address of my Cloudways server. Otherwise, it was well written and easy to follow.

  3. Selim Rana says:

    Enom domain user follow it:

    1. Go to your domain select DNS Server Settings change “Use our Name Servers” to Our Servers and save it. http://prntscr.com/b961y9
    2. Now go to Host Records and add your cloudways alias with CNAME record: http://prntscr.com/b960zq and save the record.

    you are done 🙂

  4. Madhav says:

    Apart from adding an A record and a CNAME, the article should include typical time it would take for the domain name changes to reflect at cloudways. In case of GoDaddy, when we make a DNS change, the change will reflect only after 24 hrs. In case of Bigrock, the DNS change will reflect after 48 hrs or so. Which means, a user cannot verify the redirection and domain name change instantly or even in a few hours. *Thanks to Richard and Nic. I did not know about the A record entry.

  5. Teresa Lo says:

    They should have put a link to the article below which explains when/if you need to change the ANAME as well

    How to point a root domain to a Cloudways server
    In a previous KB we explained how you could point your website (i.e. http://www.mysite.com) to your new Cloudways server using a CNAME DNS record. This is the easiest and most convenient way to use.

    In some situations, you will also want to point your root domain (i.e. mysite.com) to the Cloudways server. This is not possible using a CNAME record.

    Here we give you two options to achive it. One will be using an ANAME record (preferred way but not all DNS providers support this option). Another will be creating an A record and using the Cloudways server IP.

    http://support.cloudways.com/how-to-point-root-domain-to-cloudways-server/

  6. Josh McCormack says:

    I’d suggest adding documentation for doing this from Google Domains. It was easy enough to do, but it’s probably widely used, particularly by less experienced people.

  7. Darrin Rich says:

    I also recommend adding steps to doing this in Google Domains.

  8. […] Now that you have your server set up, you just need to point your domain at it and install WordPress. Pointing your domain to CloudWays is a little different than you might be used to, but I promise it is not hard. You can follow this quick article here to do so. […]

Leave a Reply

Still need help? Our support team is waiting to help you. Ask them now