> ## Content Index
> Fetch the complete content index at: https://devopscube.com/llms.txt
> Use this file to discover other available public pages before exploring further.

# How to Map Cloudways Server To a Domain?
- URL: https://devopscube.com/map-cloudways-server-to-a-domain/
- Published: 2025-07-07T14:34:37.000Z
- Updated: 2025-07-07T15:42:26.000Z
- Author: Bibin Wilson
- Tags: #blog, CLOUD HOSTING, HOW TO GUIDES

In this blog, we will look at how to map a domain name to your application running on a Cloudways server.

As I explained in the [Cloudways review](https://devopscube.com/cloudways-review/), once you set up your application on a [Cloudways server](https://devopscube.com/connect-to-cloudways-server/), you’ll get instant access to a temporary domain name that points to your application. You can use this domain for development and testing.

To take your website live, you need to map your actual domain name to the server where your application (for example, WordPress) is running.

Here’s a step-by-step guide to help you do that.

## Prerequisites

You should have a valid domain name registered with any DNS provider, such as GoDaddy, Hostinger, or others.

Let’s get started with the setup.

## Map Domain Name in Cloudways

Follow the steps given below to connect the Cloudways application with your custom domain name.

### Step 1: Go to Application 

In the Cloudways dashboard, go to the **Applications** tab and select the application you want to set the domain for.

![Go to application option from the Cloudways dasboard](https://storage.ghost.io/c/5f/2f/5f2f4d20-2abf-4534-8d40-7aa233aedd43/content/images/2025/07/image-50.png)

### Step 2: Locate Domain Management

In the left pane, you will find the **Domain Management** option as shown below. Click on **Add Domain**.

![Go to the domain management option and click on the add domain](https://storage.ghost.io/c/5f/2f/5f2f4d20-2abf-4534-8d40-7aa233aedd43/content/images/2025/07/image-51.png)

### Step 3: Add the Domain name

In the popup, add the domain name you own and click **Save Changes**. Make sure you enter the correct spelling of your domain name.

![Add the domain name and click save changes](https://storage.ghost.io/c/5f/2f/5f2f4d20-2abf-4534-8d40-7aa233aedd43/content/images/2025/07/image-52.png)

### Step 4: Make the Domain Primary

Now, if you have multiple domains, make the primary domain based on your website's URL.

So, that selected primary domain will show as your website's official URL.

![If the user have multiple domains, then thay have to make the website URL as primary](https://storage.ghost.io/c/5f/2f/5f2f4d20-2abf-4534-8d40-7aa233aedd43/content/images/2025/07/image-53.png)

You will get a popup to confirm

![The user will pop and click on the set as primary option](https://storage.ghost.io/c/5f/2f/5f2f4d20-2abf-4534-8d40-7aa233aedd43/content/images/2025/07/image-54.png)

## Map Server IP to Domain

Now that we have added the domain name to Cloudways, the next step is to map the **Cloudways server IP** as an **A record** in your domain settings on your domain registrar’s page.

Here is why.

When you add a domain name to Cloudways, you're telling Cloudways, "This is the domain I want to use for my website."

But to make the internet send visitors to your Cloudways server when they type your domain name, you need to:

- Go to the place where you bought your domain (like GoDaddy or Cloudflare).
- Find the DNS settings (this is where domain name and IP address connections are made).
- Add an **A record**, which simply says: “When someone types **mydomain.com**, send them to **this IP address** (your Cloudways server IP).”

So you’re linking your domain name to your Cloudways server by pointing it to the correct IP address.

Lets get started.

Open server to get the Server IP

![](https://storage.ghost.io/c/5f/2f/5f2f4d20-2abf-4534-8d40-7aa233aedd43/content/images/2025/07/image-55.png)

Copy the Public IP of the server.

![Copy the public IP of the cloudways server](https://storage.ghost.io/c/5f/2f/5f2f4d20-2abf-4534-8d40-7aa233aedd43/content/images/2025/07/image-57.png)

Next, update the **DNS A record** in your domain registrar’s settings to point to your Cloudways server’s public IP address.

For example, I am using **Cloudflare** for DNS management, and my DNS update looks like the one below. 

![](https://storage.ghost.io/c/5f/2f/5f2f4d20-2abf-4534-8d40-7aa233aedd43/content/images/2025/07/image-59.png)

⚠️

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’s support team and they’ll be able to help you out.

## Conclusion

In this guide, I have shown how to map Cloudways server to a domain with easy steps.

If you have any doubts about this setup guide, drop them in the comments!

You can reduce the cost of the host with [Cloudways promo code](https://devopscube.com/cloudways-promo-codes/), which is offering a 30% discount for all its plans.

Also, if your website is built on WordPress, then here is a detailed guide for you to [setup WordPress on Cloudways](https://devopscube.com/setup-wordpress-on-cloudways/).