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

Application Management

 

 

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

Add domain

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

5

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:

Creating a CNAME with Godaddy

Creating a CNAME with Namecheap

Creating a CNAME with Dreamhost

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.

 

10 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.

Leave a Reply

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