---
title: How to point your domain to your hosting: nameservers (DNS) | AGMAHOST
description: How to connect your domain to your AGMAHOST hosting by changing the nameservers to ns1.agmahost.com and ns2.agmahost.com. Steps, propagation times and common problems.
url: https://agmahost.com/en/guides/point-domain-to-hosting/
lang: en
---

🌐 Domains

# How to point your domain to your hosting

For your domain to show the site hosted at AGMAHOST, you tell your registrar which nameservers to use. There are two values: **ns1.agmahost.com** and **ns2.agmahost.com**.

[Register a domain](https://agmahost.com/en/domains/)

[See hosting](https://agmahost.com/en/pricing/)

## The details you need

| Item | Value |
| --- | --- |
| Nameserver 1 | ns1.agmahost.com |
| Nameserver 2 | ns2.agmahost.com |
| Where to change them | In your registrar panel (where you bought the domain) |
| How long it takes | A few minutes up to 24-48 hours to propagate |

If you registered the domain with AGMAHOST, DNS is managed from the client panel and you do not need this procedure.

## Step by step

**1.** Sign in to your registrar panel, where you bought the domain.

**2.** Open the domain management and find the nameservers, DNS or "nameservers" section.

**3.** Replace the current nameservers with ns1.agmahost.com and ns2.agmahost.com.

**4.** Save the changes.

**5.** Wait for propagation: from a few minutes to 24-48 hours. In the meantime the domain may still show the previous site.

## How to check it worked

After a few minutes, query the nameservers from a console with nslookup -type=ns yourdomain.com. It should show ns1.agmahost.com and ns2.agmahost.com. Avoid making several changes in a row, because they restart propagation.

### Before changing DNS

📧

### Check your email

Changing DNS also changes the email records. Note your current MX records so you do not lose messages.

🌍

### Have the site ready

Upload your site to the hosting before the change. If you need help, see the [migration](https://agmahost.com/en/migration/) service.

🔒

### SSL

The free SSL certificate activates once the domain already points to the hosting.

## Frequently asked questions

**What are the AGMAHOST nameservers?**
ns1.agmahost.com and ns2.agmahost.com.

**How long does a DNS change take?**
From a few minutes to 24-48 hours, depending on each internet provider propagation.

**Do I have to transfer my domain to AGMAHOST?**
No. You can leave the domain where it is and only change the nameservers.

**Will I lose my email when I change DNS?**
It can be affected if the MX records change. Note the current ones and set up email on the new service before the change.

**Do I need help with the change?**
We can help: open a ticket from the client area or message us in chat.

## Connect your domain to your hosting

Hosting with free SSL and daily backups.

[See pricing](https://agmahost.com/en/pricing/)

---
AGMAHOST · Inversiones AGMA SpA · Tax ID (RUT) 77.538.178-7 · Santiago, Chile. Online chat on the site. Final prices in USD and EUR, no taxes added (this version shows both currencies: USD / EUR). Pricing: https://agmahost.com/en/pricing/ · Summary: https://agmahost.com/llms.txt
