{"id":530,"date":"2025-07-07T14:34:37","date_gmt":"2025-07-07T14:34:37","guid":{"rendered":"https:\/\/blog.ngocha.biz\/?p=530"},"modified":"2025-07-07T14:34:37","modified_gmt":"2025-07-07T14:34:37","slug":"map-cloudways-server-to-a-domain","status":"publish","type":"post","link":"https:\/\/blog.ngocha.biz\/?p=530","title":{"rendered":"How to Map Cloudways Server To a Domain?"},"content":{"rendered":"<p>In this blog, we will look at how to map a domain name to your application running on a Cloudways server.<\/p>\n<p>As I explained in the <a href=\"https:\/\/devopscube.com\/cloudways-review\/\" rel=\"noreferrer\">Cloudways review<\/a>,  once you set up your application on a <a href=\"https:\/\/devopscube.com\/connect-to-cloudways-server\/\" rel=\"noreferrer\">Cloudways server<\/a>, you\u2019ll get instant access to a temporary domain name that points to your application. You can use this domain for development and testing.<\/p>\n<p>To take your website live, you need to map your actual domain name to the server where your application (for example, WordPress) is running.<\/p>\n<p>Here\u2019s a step-by-step guide to help you do that.<\/p>\n<h2 id=\"prerequisites\">Prerequisites<\/h2>\n<p>You should have a valid domain name registered with any DNS provider, such as GoDaddy, Hostinger, or others.<\/p>\n<p>Let\u2019s get started with the setup.<\/p>\n<h2 id=\"map-domain-name-in-cloudways\">Map Domain Name in Cloudways<\/h2>\n<p>Follow the steps given below to connect the Cloudways application with your custom domain name.<\/p>\n<h3 id=\"step-1-go-to-application\">Step 1: Go to Application <\/h3>\n<p>In the Cloudways dashboard, go to the <strong>Applications<\/strong> tab and select the application you want to set the domain for.<\/p>\n<figure class=\"kg-card kg-image-card\"><img decoding=\"async\" src=\"https:\/\/storage.ghost.io\/c\/5f\/2f\/5f2f4d20-2abf-4534-8d40-7aa233aedd43\/content\/images\/2025\/07\/image-50.png\" class=\"kg-image\" alt=\"Go to application option from the Cloudways dasboard\" loading=\"lazy\" width=\"1184\" height=\"798\" srcset=\"https:\/\/storage.ghost.io\/c\/5f\/2f\/5f2f4d20-2abf-4534-8d40-7aa233aedd43\/content\/images\/size\/w600\/2025\/07\/image-50.png 600w, https:\/\/storage.ghost.io\/c\/5f\/2f\/5f2f4d20-2abf-4534-8d40-7aa233aedd43\/content\/images\/size\/w1000\/2025\/07\/image-50.png 1000w, https:\/\/storage.ghost.io\/c\/5f\/2f\/5f2f4d20-2abf-4534-8d40-7aa233aedd43\/content\/images\/2025\/07\/image-50.png 1184w\" sizes=\"auto, (min-width: 720px) 720px\"><\/figure>\n<h3 id=\"step-2-locate-domain-management\">Step 2: Locate Domain Management<\/h3>\n<p>In the left pane, you will find the <strong>Domain Management<\/strong> option as shown below. Click on <strong>Add Domain<\/strong>.<\/p>\n<figure class=\"kg-card kg-image-card\"><img decoding=\"async\" src=\"https:\/\/storage.ghost.io\/c\/5f\/2f\/5f2f4d20-2abf-4534-8d40-7aa233aedd43\/content\/images\/2025\/07\/image-51.png\" class=\"kg-image\" alt=\"Go to the domain management option and click on the add domain\" loading=\"lazy\" width=\"2000\" height=\"1089\" srcset=\"https:\/\/storage.ghost.io\/c\/5f\/2f\/5f2f4d20-2abf-4534-8d40-7aa233aedd43\/content\/images\/size\/w600\/2025\/07\/image-51.png 600w, https:\/\/storage.ghost.io\/c\/5f\/2f\/5f2f4d20-2abf-4534-8d40-7aa233aedd43\/content\/images\/size\/w1000\/2025\/07\/image-51.png 1000w, https:\/\/storage.ghost.io\/c\/5f\/2f\/5f2f4d20-2abf-4534-8d40-7aa233aedd43\/content\/images\/size\/w1600\/2025\/07\/image-51.png 1600w, https:\/\/storage.ghost.io\/c\/5f\/2f\/5f2f4d20-2abf-4534-8d40-7aa233aedd43\/content\/images\/size\/w2400\/2025\/07\/image-51.png 2400w\" sizes=\"auto, (min-width: 720px) 720px\"><\/figure>\n<h3 id=\"step-3-add-the-domain-name\">Step 3: Add the Domain name<\/h3>\n<p>In the popup, add the domain name you own and click <strong>Save Changes<\/strong>. Make sure you enter the correct spelling of your domain name.<\/p>\n<figure class=\"kg-card kg-image-card\"><img decoding=\"async\" src=\"https:\/\/storage.ghost.io\/c\/5f\/2f\/5f2f4d20-2abf-4534-8d40-7aa233aedd43\/content\/images\/2025\/07\/image-52.png\" class=\"kg-image\" alt=\"Add the domain name and click save changes\" loading=\"lazy\" width=\"1378\" height=\"1014\" srcset=\"https:\/\/storage.ghost.io\/c\/5f\/2f\/5f2f4d20-2abf-4534-8d40-7aa233aedd43\/content\/images\/size\/w600\/2025\/07\/image-52.png 600w, https:\/\/storage.ghost.io\/c\/5f\/2f\/5f2f4d20-2abf-4534-8d40-7aa233aedd43\/content\/images\/size\/w1000\/2025\/07\/image-52.png 1000w, https:\/\/storage.ghost.io\/c\/5f\/2f\/5f2f4d20-2abf-4534-8d40-7aa233aedd43\/content\/images\/2025\/07\/image-52.png 1378w\" sizes=\"auto, (min-width: 720px) 720px\"><\/figure>\n<h3 id=\"step-4-make-the-domain-primary\">Step 4: Make the Domain Primary<\/h3>\n<p>Now, if you have multiple domains, make the primary domain based on your website&#8217;s URL.<\/p>\n<p>So, that selected primary domain will show as your website&#8217;s official URL.<\/p>\n<figure class=\"kg-card kg-image-card\"><img decoding=\"async\" src=\"https:\/\/storage.ghost.io\/c\/5f\/2f\/5f2f4d20-2abf-4534-8d40-7aa233aedd43\/content\/images\/2025\/07\/image-53.png\" class=\"kg-image\" alt=\"If the user have multiple domains, then thay have to make the website URL as primary\" loading=\"lazy\" width=\"1826\" height=\"838\" srcset=\"https:\/\/storage.ghost.io\/c\/5f\/2f\/5f2f4d20-2abf-4534-8d40-7aa233aedd43\/content\/images\/size\/w600\/2025\/07\/image-53.png 600w, https:\/\/storage.ghost.io\/c\/5f\/2f\/5f2f4d20-2abf-4534-8d40-7aa233aedd43\/content\/images\/size\/w1000\/2025\/07\/image-53.png 1000w, https:\/\/storage.ghost.io\/c\/5f\/2f\/5f2f4d20-2abf-4534-8d40-7aa233aedd43\/content\/images\/size\/w1600\/2025\/07\/image-53.png 1600w, https:\/\/storage.ghost.io\/c\/5f\/2f\/5f2f4d20-2abf-4534-8d40-7aa233aedd43\/content\/images\/2025\/07\/image-53.png 1826w\" sizes=\"auto, (min-width: 720px) 720px\"><\/figure>\n<p>You will get a popup to confirm<\/p>\n<figure class=\"kg-card kg-image-card\"><img decoding=\"async\" src=\"https:\/\/storage.ghost.io\/c\/5f\/2f\/5f2f4d20-2abf-4534-8d40-7aa233aedd43\/content\/images\/2025\/07\/image-54.png\" class=\"kg-image\" alt=\"The user will pop and click on the set as primary option\" loading=\"lazy\" width=\"1414\" height=\"666\" srcset=\"https:\/\/storage.ghost.io\/c\/5f\/2f\/5f2f4d20-2abf-4534-8d40-7aa233aedd43\/content\/images\/size\/w600\/2025\/07\/image-54.png 600w, https:\/\/storage.ghost.io\/c\/5f\/2f\/5f2f4d20-2abf-4534-8d40-7aa233aedd43\/content\/images\/size\/w1000\/2025\/07\/image-54.png 1000w, https:\/\/storage.ghost.io\/c\/5f\/2f\/5f2f4d20-2abf-4534-8d40-7aa233aedd43\/content\/images\/2025\/07\/image-54.png 1414w\" sizes=\"auto, (min-width: 720px) 720px\"><\/figure>\n<h2 id=\"map-server-ip-to-domain\">Map Server IP to Domain<\/h2>\n<p>Now that we have added the domain name to Cloudways, the next step is to map the <strong>Cloudways server IP<\/strong> as an <strong>A record<\/strong> in your domain settings on your domain registrar\u2019s page.<\/p>\n<p>Here is why.<\/p>\n<p>When you add a domain name to Cloudways, you&#8217;re telling Cloudways, &#8220;This is the domain I want to use for my website.&#8221;<\/p>\n<p>But to make the internet send visitors to your Cloudways server when they type your domain name, you need to:<\/p>\n<ul>\n<li>Go to the place where you bought your domain (like GoDaddy or Cloudflare).<\/li>\n<li>Find the DNS settings (this is where domain name and IP address connections are made).<\/li>\n<li>Add an <strong>A record<\/strong>, which simply says: \u201cWhen someone types <strong>mydomain.com<\/strong>, send them to <strong>this IP address<\/strong> (your Cloudways server IP).\u201d<\/li>\n<\/ul>\n<p>So you\u2019re linking your domain name to your Cloudways server by pointing it to the correct IP address.<\/p>\n<p>Lets get started.<\/p>\n<p>Open server to get the Server IP<\/p>\n<figure class=\"kg-card kg-image-card\"><img decoding=\"async\" src=\"https:\/\/storage.ghost.io\/c\/5f\/2f\/5f2f4d20-2abf-4534-8d40-7aa233aedd43\/content\/images\/2025\/07\/image-55.png\" class=\"kg-image\" alt=\"\" loading=\"lazy\" width=\"1646\" height=\"846\" srcset=\"https:\/\/storage.ghost.io\/c\/5f\/2f\/5f2f4d20-2abf-4534-8d40-7aa233aedd43\/content\/images\/size\/w600\/2025\/07\/image-55.png 600w, https:\/\/storage.ghost.io\/c\/5f\/2f\/5f2f4d20-2abf-4534-8d40-7aa233aedd43\/content\/images\/size\/w1000\/2025\/07\/image-55.png 1000w, https:\/\/storage.ghost.io\/c\/5f\/2f\/5f2f4d20-2abf-4534-8d40-7aa233aedd43\/content\/images\/size\/w1600\/2025\/07\/image-55.png 1600w, https:\/\/storage.ghost.io\/c\/5f\/2f\/5f2f4d20-2abf-4534-8d40-7aa233aedd43\/content\/images\/2025\/07\/image-55.png 1646w\" sizes=\"auto, (min-width: 720px) 720px\"><\/figure>\n<p>Copy the Public IP of the server.<\/p>\n<figure class=\"kg-card kg-image-card\"><img decoding=\"async\" src=\"https:\/\/storage.ghost.io\/c\/5f\/2f\/5f2f4d20-2abf-4534-8d40-7aa233aedd43\/content\/images\/2025\/07\/image-57.png\" class=\"kg-image\" alt=\"Copy the public IP of the cloudways server\" loading=\"lazy\" width=\"1456\" height=\"1140\" srcset=\"https:\/\/storage.ghost.io\/c\/5f\/2f\/5f2f4d20-2abf-4534-8d40-7aa233aedd43\/content\/images\/size\/w600\/2025\/07\/image-57.png 600w, https:\/\/storage.ghost.io\/c\/5f\/2f\/5f2f4d20-2abf-4534-8d40-7aa233aedd43\/content\/images\/size\/w1000\/2025\/07\/image-57.png 1000w, https:\/\/storage.ghost.io\/c\/5f\/2f\/5f2f4d20-2abf-4534-8d40-7aa233aedd43\/content\/images\/2025\/07\/image-57.png 1456w\" sizes=\"auto, (min-width: 720px) 720px\"><\/figure>\n<p>Next, update the <strong>DNS A record<\/strong> in your domain registrar\u2019s settings to point to your Cloudways server\u2019s public IP address.<\/p>\n<p>For example, I am using <strong>Cloudflare<\/strong> for DNS management, and my DNS update looks like the one below. <\/p>\n<figure class=\"kg-card kg-image-card\"><img decoding=\"async\" src=\"https:\/\/storage.ghost.io\/c\/5f\/2f\/5f2f4d20-2abf-4534-8d40-7aa233aedd43\/content\/images\/2025\/07\/image-59.png\" class=\"kg-image\" alt=\"\" loading=\"lazy\" width=\"1528\" height=\"866\" srcset=\"https:\/\/storage.ghost.io\/c\/5f\/2f\/5f2f4d20-2abf-4534-8d40-7aa233aedd43\/content\/images\/size\/w600\/2025\/07\/image-59.png 600w, https:\/\/storage.ghost.io\/c\/5f\/2f\/5f2f4d20-2abf-4534-8d40-7aa233aedd43\/content\/images\/size\/w1000\/2025\/07\/image-59.png 1000w, https:\/\/storage.ghost.io\/c\/5f\/2f\/5f2f4d20-2abf-4534-8d40-7aa233aedd43\/content\/images\/2025\/07\/image-59.png 1528w\" sizes=\"auto, (min-width: 720px) 720px\"><\/figure>\n<div class=\"kg-card kg-callout-card kg-callout-card-blue\">\n<div class=\"kg-callout-emoji\">\u26a0\ufe0f<\/div>\n<div class=\"kg-callout-text\">Please note that DNS settings may look different depending on your domain registrar. But the configuration is usually simple. If you face any difficulty updating the DNS, you can contact your domain registrar\u2019s support team and they\u2019ll be able to help you out.<\/div>\n<\/div>\n<h2 id=\"conclusion\">Conclusion<\/h2>\n<p>In this guide, I have shown how to map Cloudways server to a domain with easy steps.<\/p>\n<p>If you have any doubts about this setup guide, drop them in the comments!<\/p>\n<p>You can reduce the cost of the host with <a href=\"https:\/\/devopscube.com\/cloudways-promo-codes\/\" rel=\"noreferrer\">Cloudways promo code<\/a>, which is offering a 30% discount for all its plans.<\/p>\n<p>Also, if your website is built on WordPress, then here is a detailed guide for you to <a href=\"https:\/\/devopscube.com\/setup-wordpress-on-cloudways\/\" rel=\"noreferrer\">setup WordPress on Cloudways<\/a>.<\/p>\n<hr>\n<p><strong>Ngu\u1ed3n:<\/strong> <a href=\"https:\/\/devopscube.com\/map-cloudways-server-to-a-domain\/\" target=\"_blank\" rel=\"noopener noreferrer\">How to Map Cloudways Server To a Domain? \u2014 DevOpsCube<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Source: https:\/\/devopscube.com\/map-cloudways-server-to-a-domain\/<\/p>\n","protected":false},"author":1,"featured_media":531,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-530","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-devops"],"_links":{"self":[{"href":"https:\/\/blog.ngocha.biz\/index.php?rest_route=\/wp\/v2\/posts\/530","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.ngocha.biz\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.ngocha.biz\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.ngocha.biz\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.ngocha.biz\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=530"}],"version-history":[{"count":0,"href":"https:\/\/blog.ngocha.biz\/index.php?rest_route=\/wp\/v2\/posts\/530\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/blog.ngocha.biz\/index.php?rest_route=\/wp\/v2\/media\/531"}],"wp:attachment":[{"href":"https:\/\/blog.ngocha.biz\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=530"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.ngocha.biz\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=530"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.ngocha.biz\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=530"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}