Skip to main content

How to Redirect Stack Domains (www to non-www)

Redirecting your domain from www to non-www (or vice versa) can be easily managed with Stack when using Cloudflare or Google Domains. Unfortunately, domain registrars like GoDaddy and Namecheap do not support redirects with paths, so you'll need to transfer your domain to Cloudflare or Google Domains to utilize this feature.

Transferring Your Domain

To get started, you'll need to transfer your domain to a compatible registrar:

Setting Up Redirects

Redirect www to non-www

  1. Add CNAME Record:

    • Point www to flash.funnels.msgsndr.com.
    • Set the Proxy Status to Proxied.
  2. Add A Record:

    • Point the non-www domain to 34.68.234.4.
    • Set the Proxy Status to DNS Only.
  3. Create a Page Rule:

    • URL: www.yourdomain.com/*
    • Setting: Forwarding URL301 - Permanent Redirect
    • Destination URL: https://yourdomain.com/$1
  4. Connect Domain in Stack:

    • Go to Stack and connect your non-www domain to the desired funnel.

Redirect non-www to www

  1. Add CNAME Record:

    • Point www to flash.funnels.msgsndr.com.
    • Set the Proxy Status to DNS Only.
  2. Add A Record:

    • Point the non-www domain to 34.68.234.4.
    • Set the Proxy Status to Proxied.
  3. Create a Page Rule:

    • URL: yourdomain.com/*
    • Setting: Forwarding URL301 - Permanent Redirect
    • Destination URL: https://www.yourdomain.com/$1
  4. Connect Domain in Stack:

    • Go to Stack and connect your www domain to the desired funnel.

Troubleshooting

Common Issue: Funnel Error Code 500

If you encounter a Funnel Error Code 500 with the message "Failed to execute 'appendChild' on 'Node'", follow these steps:

  1. Log in to Cloudflare.
  2. Select the domain experiencing the error.
  3. Navigate to the DNS tab in the left menu.
  4. Click on Edit next to the relevant record.
  5. Uncheck the Proxy Status option.
  6. Click Save.

By following these steps, you should be able to successfully manage your domain redirects within Stack. If you encounter any issues, ensure your domain settings are correctly configured and that you are using a compatible domain registrar.