How to Link Your Domain to Your Website¶
There are a few ways to link your Gandi domain name to your website.
Updating DNS Records¶
If you are using Gandi’s LiveDNS, you can edit your DNS records to 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 hosting provider gives you.
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 do this by following these steps:
After logging in, click “Domain” in the left navigation menu.
Click on the domain name you wish to manage.
Select the “DNS Records” tab for that domain.
Click “Add” and choose an “A” record.
For the A record on just the domain (example.com) leave the “name” field empty (@) and put the IP address in the “value” field.
Click “Create.”
Click “Add” again to create the CNAME record.
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.
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. Read how to change nameservers.
Warning
The host’s nameservers usually do not provide the 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. You will then want to add these records to your external nameserver’s DNS records.
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:
After logging in, click “Domain” in the left navigation menu.
Click the name of the domain name you want to edit.
Click the “Namservers” tab.
Click Change.”
Click the “External” pill option.
Type in the namservers into the fields.
Click “Save.”
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.
You can read more on our page about web forwarding.