Skip to main content

Redirecting Domains from www to non-www

Updated over 6 months ago

*Note for users with domain registrars other than Cloudflare and Google Domains:

Redirecting with a path is only feasible with Cloudflare and Google Domains. If you are using domain registrars like GoDaddy, Namecheap, etc., you will need to transfer your domain to Cloudflare since these other registrars do not offer the option to forward the domain along with the path.

For assistance with the domain transfer process, you can refer to the following help articles:

Google Domains:

Select the desired domain for redirection, then click on "Add Domain," and proceed to provide the required information.

Create an A record for the domain

Click on the pencil icon next to the domain you wish to modify, then choose the default page you want from the available options.

Forwarding

After returning to Google Domains, navigate to the section above called "Synthetic Records" and set up a redirect using "www" as the target for redirection.

Cloudflare:

Steps for Cloudflare redirect:

www to non-www:

To configure the domain setup, follow these steps:

  1. Add a CNAME record for "www" pointing to "flash.funnels.msgsndr.com" and set the Proxy Status to "Proxied."

  1. Add an A record for the non-www domain, directing it to the IP address "34.68.234.4," and set the Proxy Status to "DNS Only."

  1. Create a Page Rule for the URL "www.yourdomain.com/*" with the setting "Forwarding URL" and choose "301 - Permanent Redirect." In the destination URL, add "https://yourdomain.com/$1."

  1. In the platform, connect the non-www domain to the desired funnel.

non-www to www:

  1. Add a CNAME record for "www" pointing to "flash.funnels.msgsndr.com" with the Proxy Status set to "DNS Only."

  1. Add an A record for the non-www domain, directing it to the IP address "34.68.234.4" with the Proxy Status set to "Proxied."

  1. Create a Page Rule for the URL "yourdomain.com/*" with the setting "Forwarding URL" and select "301 - Permanent Redirect." In the destination URL, add "https://www.yourdomain.com/$1."

  1. Connect the "www" domain to the desired funnel in the platform.

Troubleshooting

Q1: I consistently encounter Funnel Error Code 500 - "Failed to execute 'appendChild' on 'Node.' This node type does not support this method." What steps should I take to address this issue?

  1. Access your Cloudflare account and log in.

  2. Select the domain that is showing the 500 error code.

  1. Navigate to the DNS tab in the left menu.

  1. Click the Edit button for the relevant DNS record.

  1. Remove the checkmark from the Proxy status option.

  1. Save your changes to complete the process.

Did this answer your question?