# Update DNS records and set up a 301 redirect

This guide uses `mydomaine.com` as an example. Make the changes in the dashboard of the provider that manages the domain’s DNS records.

## Required DNS changes

- **CNAME.** Point `www` and `B2B` to `fallback.joodcms.com`. For each name, replace the old value `fad9a0fbd82d4340.vercel-dns-016.com` if that record exists. If the record is missing, add it with the new value. Enter the hostname without `https://`. Keep the existing TTL or use the default for a new record.
- **A.** Delete the record only if its name is `@` and its value is `216.150.1.1`.
- **Redirect.** Set up a permanent 301 redirect from `mydomaine.com` to `https://www.mydomaine.com`.

## GoDaddy

![DNS Records and Forwarding tabs in GoDaddy](https://images.ctfassets.net/7y9uzj0z4srt/AzpZ76eX9ukVPPqwfNYcA/8d13d01b3f5175a51966ee6546ae45a8/image-domains-37-select-dns-tab.png)

1. In **Domain Portfolio**, select the domain and open **DNS → DNS Records**.
2. Click the pencil to edit the CNAME or **Add New Record** to add it. Enter the **Name** and **Value**, then click **Save**. Use the delete icon for the matching A record.
3. Under **Forwarding**, select **Add Forwarding** in the **Domain** section. Choose **https://** in the protocol list, enter `www.mydomaine.com`, select **Permanent (301)**, and save.

## Hostinger

![DNS records and Redirects tabs in Hostinger](https://www.hostinger.com/support/wp-content/uploads/sites/55/2026/11/2026-11-03_14-43.png)

1. In **hPanel**, open **Domains → DNS / Nameservers → DNS records** for the domain.
2. Click the pencil, edit the CNAME, and click **Update**. To add a record, select **CNAME**, enter the name and destination, then click **Add Record**. Use the trash icon for the matching A record.
3. In **Redirects**, enter the full **HTTPS** destination `https://www.mydomaine.com`. Select **Permanent (301)**, then click **Create redirect**. If the domain is connected to a hosting plan, use the redirect tool in the website dashboard.

![Destination and 301 redirect options in Hostinger](https://imagedelivery.net/LqiWLm-3MGbYHtFuUbcBtA/wp-content/uploads/sites/55/2019/08/2025-12-03_14-19.png/public)

## Verify after saving

Check that both CNAME records point to the new destination. Confirm that `https://mydomaine.com` redirects to `https://www.mydomaine.com`.
