DNS

Add DNS Records

Add, edit, and delete A, CNAME, TXT, and other record types.

5 min read

Add DNS Records

This guide covers all the DNS record types supported by GHP Cloud and explains when to use each one.

Accessing the DNS record editor

In GHP Cloud, click DNS, select your domain, then click Records. The record editor shows all existing records in a table. Click Add Record to create a new one.

A Record — Map a hostname to an IPv4 address

Type:  A
Name:  @              (or subdomain, e.g., "shop")
Value: 203.0.113.10   (your server's IP address)
TTL:   300

Use @ for the root domain, or enter a subdomain name without the full domain.

AAAA Record — Map a hostname to an IPv6 address

Type:  AAAA
Name:  @
Value: 2001:db8::1
TTL:   300

CNAME Record — Alias one hostname to another

Type:  CNAME
Name:  www
Value: example.com.   (note the trailing dot — it means "fully qualified")
TTL:   300

You cannot use a CNAME on the root domain (@) — use an A record there. Many CDN providers require CNAME records for their edge domains.

MX Record — Route email to a mail server

Type:     MX
Name:     @
Priority: 10
Value:    mail.example.com.
TTL:      300

Lower priority numbers are preferred. If you have multiple MX records, the server with the lowest number is tried first.

TXT Record — Store text data

TXT records are used for domain verification, SPF, DKIM, and DMARC:

Type:  TXT
Name:  @
Value: "v=spf1 include:_spf.google.com ~all"
TTL:   300

Always wrap TXT record values in double quotes in the GHP Cloud editor.

SRV Record — Service location records

SRV records are used by some services (SIP, XMPP, Microsoft Teams) to locate service endpoints:

Type:     SRV
Name:     _autodiscover._tcp
Priority: 0
Weight:   5
Port:     443
Value:    autodiscover.example.com.

Editing and deleting records

Click the pencil icon next to any record to edit it. Click the trash icon to delete it. DNS changes propagate based on the record's TTL — lower TTL values mean faster propagation.

Was this article helpful?

Need help? →