Skip to main content

Setting up DNS on Gandi

Step-by-step instructions for connecting your Gandi domain to WedSites.

Written by Brian
Updated today

Setting up DNS on Gandi

Step-by-step instructions for connecting your Gandi domain to WedSites.

If you registered your domain with Gandi, follow these steps to add the DNS records needed to connect it to your WedSites wedding website.

Before you start

Make sure you've added your domain to WedSites first. Go to Settings > General and enter your custom domain, then save. Then come back here to set up your DNS records.

You'll need access to your Gandi account. Make sure you can log in and that you have permission to manage DNS for your domain.

DNS records you need to add

You'll be adding these two records to your Gandi domain:

Record Type

Host

Points To / Target

TTL

A (Address)

@

37.16.10.26

3600

CNAME (Alias)

www

domains.wedsites.com

3600

Important: You only need the A record if you're using an apex domain (like yourwedding.com). You only need the CNAME if you're using a subdomain (like www.yourwedding.com). We recommend adding both so both versions of your domain work.

Step-by-step instructions

Step 1: Log in to Gandi

Go to gandi.net and sign in to your account.

Step 2: Navigate to domain management

  1. Click Domain in the left sidebar (or top navigation)

  2. Find your domain in the list

  3. Click on your domain name

Step 3: Open DNS records

  1. Click the DNS Records tab

  2. You should see a list of your current DNS records

Gandi uses their LiveDNS system for DNS management. If your domain uses LiveDNS (which is the default for newer domains), you'll see the DNS records editor directly.

Step 4: Check for existing A records

Look for any existing A records with @ in the Name column.

If you see existing A records for @:
- You need to delete any A records that don't point to 37.16.10.26
- Having multiple A records causes your domain to only work sometimes
- Click the Delete icon next to each conflicting record

Common conflicting records to look for:
- Gandi default A records (pointing to Gandi's web forwarding or parking servers)
- Simple Hosting A records (if you use Gandi's hosting)
- Old A records from previous hosting

Step 5: Add the A record

  1. Click Add Record (or the + button)

  2. Fill in the fields:

    • Type: A

    • Name: @ (this represents the root domain)

    • Value: 37.16.10.26

    • TTL: 3600 (1 hour) or leave as default (10800)

  3. Click Create or Save

Step 6: Add the CNAME record

  1. Click Add Record again

  2. Fill in the fields:

    • Type: CNAME

    • Name: www

    • Value: domains.wedsites.com. (Gandi may require a trailing dot)

    • TTL: 3600 or leave as default (10800)

  3. Click Create or Save

Using a custom subdomain? If you're using something like wedding.yourwedding.com instead of www, replace "www" with "wedding" in the Name field.

Step 7: Verify your records

After saving, check the DNS records list to confirm both records appear:
- An A record for @ pointing to 37.16.10.26
- A CNAME record for www pointing to domains.wedsites.com

After adding the records

Wait for DNS propagation. Gandi DNS changes typically take a few minutes to a few hours to fully propagate. Gandi's LiveDNS is generally fast.

SSL certificate is automatic. Once your domain connects, we'll automatically add an SSL certificate so your site works with https. This happens within a few hours of your domain connecting.

Test your domain. After waiting, try visiting your domain in a browser. You should see your wedding website!

Troubleshooting

Domain not working after several hours?
- Double-check that you entered the DNS records exactly as shown above
- Make sure you deleted any conflicting A records
- Check that your domain uses Gandi's LiveDNS nameservers
- Check that you entered your domain in WedSites under Settings > General

Still seeing a Gandi or default page?
- Delete all default A records for the root domain
- Check if web forwarding is enabled and disable it
- Try clearing your browser cache or testing in incognito mode

CNAME record not saving?
- Gandi's LiveDNS may require a trailing dot on CNAME values — try: domains.wedsites.com. (with the dot)
- Make sure the Name is "www" and not "@"
- Check that you don't already have a CNAME for www

LiveDNS vs legacy DNS?
- Gandi has migrated most domains to LiveDNS. If your domain still uses legacy DNS, the interface may look different
- You can migrate to LiveDNS from your domain's settings page — Gandi recommends this for better performance

Need to verify DNS setup?
- Go to dnschecker.org
- Enter your domain and select "A" record type
- You should see 37.16.10.26 in the results

Gandi-specific notes

LiveDNS: Gandi uses their own LiveDNS system, which is generally fast and reliable. Most domains default to LiveDNS. If your domain uses external nameservers, manage DNS at that provider instead.

Trailing dot on CNAME: Depending on the interface version, Gandi may require a trailing dot (.) on CNAME target values. If your CNAME record doesn't save, try adding the trailing dot: domains.wedsites.com.

Web forwarding: If you've set up web forwarding for your domain, it can conflict with DNS records. Disable web forwarding in your domain settings before adding custom DNS records.

Default TTL: Gandi defaults to a TTL of 10800 seconds (3 hours). You can change this to 3600 (1 hour) for faster propagation, but the default works fine too.

Email hosting: If you use Gandi for email (Gandimail), your MX records are separate and won't be affected by adding these A and CNAME records.

Privacy by default: Gandi is known for including WHOIS privacy protection for free. This doesn't affect DNS management.

Related articles

Need help?

If you're having trouble with Gandi DNS settings, reach out to our support team and we'll help you get your domain connected!

Did this answer your question?