Linking Your Domain to Your Website

There are a couple ways to link your domain name at Gandi to your website.

Updating DNS Records

If you are using Gandi’s LiveDNS, you can add or edit your DNS records, in order to specifically point your domain or subdomain to your webhost’s servers.

To do this, you will edit the A, AAAA, CNAME, or ALIAS records, with the values that your provider gives you (see how to edit your DNS Records).

Example: updating your DNS records for WIX

If you have an account with WIX, and they tell you that you need to update your domain’s DNS records (or “zone”) at Gandi to have something like the following:

  • an A record for example.com pointing to 23.236.62.147 and
  • a CNAME for www.example.com pointing to www218.wixdns.net

You need to:

  1. Go to your domain’s admin at Gandi,
  2. Click on “DNS Records”,
  3. Edit/create the two records so that they tell you to add.
  4. submit.

When filling out the form, for the A record on just the domain (example.com) leave the “name” field empty (@) and put the IP address in the “value” field. for the CNAME record on the subdomain (www.example.com) enter www in the “name” field. Then put the value that they give you, like www218.wixdns.net. in the “Value” vield, being sure to add the dot (.) at the end. You can leave the TTL at 10800.

Then, when done, please wait up to 3 hours for propagation to occur, and your website will be visible from your domain name.

Changing Nameservers

Web hosts commonly provide their customers with nameservers that are already configured so that they will point the domain name to their services, and therefore make the website available when customers put the address in the web browser.

In such cases, you will need to change the nameservers at Gandi, to replace all of your existing ones with the ones that your web host provided you (see how to change your nameservers).

Warning

This usually does not involve records needed for your emails to work. If you are using Gandimail, please check with your provider first to be sure that you can edit your records via their services so you can make the necessary changes (see how to use Gandimail with external nameservers).

Example: updating your nameservers for WIX

If you have an account with WIX, and they tell you that you need to update your domain’s nameservers at Gandi to be something like:

  • ns6.wixdns.net
  • ns7.wixdns.net

You need to:

  1. Go to your domain’s admin at Gandi,
  2. Click on Nameservers,
  3. replace the values in the fields on the nameserver page (they may be different than the ones in the example above),
  4. remove any other nameservers that may be in the field so it only shows the ones you are told to add,
  5. submit.

After 12-24 hours (the propagation period), your website will be visible from your domain name.

Using Web Forwarding

A very simple way to have your domain name, or subdomain such as www.example.com, take visitors to an existing website is by using web forwarding.

This is useful when you just want to forward visitors to an existing website.

We have a special dedicated page on using web forwarding at Gandi, you can find it here.