> ## Documentation Index
> Fetch the complete documentation index at: https://kb.hostcloud.in/llms.txt
> Use this file to discover all available pages before exploring further.

# Create private (child) nameservers

> Register nameservers named after your own domain, such as ns1.yourdomain.com, for a DNS server you run.

Private nameservers, also called child nameservers, are nameservers named after your own domain, such as `ns1.yourdomain.com`. This guide explains when you need them and how to register them in the Client Area.

## Do you need them?

Most customers don't. If your website and email are on HostCloud shared or WordPress hosting, use the [HostCloud nameservers](https://kb.hostcloud.in/domains/change-nameservers.md).

Private nameservers are for people who run **their own DNS server**, for example on a [HostCloud VPS](https://kb.hostcloud.in/vps/access-your-vps-over-ssh.md) with cPanel/WHM or Plesk, and want nameservers with their own brand.

| You need | Where |
| - | - |
| A domain registered with HostCloud | The domain you'll name the nameservers after |
| A server that answers DNS | Usually your VPS, with DNS software set up and running |
| An IP address for each nameserver | Your server's IP addresses, from the **Network** tab of your VPS |

> [!WARNING]
>
> Registering a private nameserver only gives the name an address. It doesn't set up a DNS server. If no DNS server answers at that IP address, every domain using these nameservers stops working.

## Register the nameservers

**1. Open the domain**

In the Client Area, click **Domains** in the top menu. On the domain's row, click the **⋯** menu and choose **Manage Domain**.

**2. Open Private Nameservers**

In the domain's sidebar, click **Private Nameservers**.

**3. Register the first nameserver**

In the section for registering a nameserver, enter the name, for example `ns1`, and its IP address. Save it.

**4. Register the second nameserver**

Repeat for `ns2` with its IP address. Most domains need at least two nameservers.

The same page lets you change the IP address of a private nameserver, or delete one you no longer use.

## Use them

**1. Set up DNS on your server**

Make sure your server answers DNS for your domains, including `A` records for `ns1.yourdomain.com` and `ns2.yourdomain.com`.

**2. Point your domains to them**

Change the nameservers of each domain you want to serve to `ns1.yourdomain.com` and `ns2.yourdomain.com`. See [Change your nameservers](https://kb.hostcloud.in/domains/change-nameservers.md).

Nameserver changes can take up to 24 hours to work everywhere. See [How long DNS changes take to work](https://kb.hostcloud.in/dns/dns-propagation.md).

> [!NOTE]
>
> Delete a private nameserver only after no domain uses it any more.

Still stuck? [Open a ticket](https://kb.hostcloud.in/support/open-a-ticket.md) with your domain name, the nameserver names and their IP addresses.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.