Pointing your domain to a website or host

Common records for connecting your domain to your site's server: an A record for the root domain, a CNAME for www, and a TXT record for verification.

If your site lives at a hosting company or a website builder, they usually give you an IP address or a server name. You add these as records on your domain's DNS tab. For the steps to add a record, see Adding, editing and deleting DNS records.

The root domain (example-shop.com)

  1. Press Add record.
  2. Choose A as the Type and enter @ as the Name.
  3. Under IPv4 address, enter the address your host gave you, e.g. 192.0.2.10.
  4. If the host also gave you an IPv6 address, add an AAAA record the same way, e.g. 2001:db8::1.

The root domain can't be a CNAME. If your host gave you only a server name, ask them which IP address to use for the root.

The www address (www.example-shop.com)

If your host gave you a server name:

  1. Choose CNAME as the Type and enter www as the Name.
  2. Under Target domain, enter the name you were given, e.g. site.example.net.

If your host gave you only an IP address, add an A record for www too, just like the root.

A verification record (TXT)

Search engine tools, email services or site builders may ask you to prove the domain is yours:

  1. Choose TXT as the Type.
  2. Under Name, enter the name the service asks for; usually @.
  3. Under Text, paste the value you were given, e.g. google-site-verification=..., without adding quotes.

A name can have several TXT records. There should be only one SPF record (the one starting with v=spf1), though.

Watch out for

  • If @ already has an old A record, change it with Edit rather than adding a second one. With two different addresses on the same name, some visitors reach the old server.
  • A www CNAME can't share its name with other records; delete those first.
  • Leave MX and email-related TXT records alone; moving your site doesn't affect your email.
  • If you only want to send visitors to another address, you can use the Web forwarding section on the DNS tab instead of records. If records point somewhere else, the panel asks you before replacing them.

The change can take from a few minutes to a few hours to show; see How long do DNS changes take?

Stuck? Open a support request.

Bu makaleyi Türkçe okuyun