<- Documentation

⚠️ This document is outdated. Please refer to the Custom Domain article instead.

You can now add a redirect from your root domain to the www subdomain by clicking "Add Redirect" on the Custom Domain settings page in your Typedream dashboard.

Last edited on July 13, 2021

CLOUDFLARE

How to redirect your www. to your main host using Cloudflare

There are 2 redirection options that we will cover in this tutorial. Please go to the one that is relevant to you:

Redirect example.comwww.example.com Do this if you connected www.example.com to Typedream

Jump to tutorial →

Redirect www.example.comexample.com Do this if you connected example.com to Typedream

Jump to tutorial →


Redirect example.comwww.example.com

If you have connected www.example.com to Typedream by adding a CNAME like the following:

Type

CNAME

Name

www

Value

render-36alh.ondigitalocean.app

(this may be different for you)

Then you might need to redirect your root domain example.com to your connected www subdomain www.example.com so that both domains would serve your Typedream site.

What you need to do is add the following

1. Add Forwarding in Rules

Go to the Rules tab, then add a forwarding rule

2. Add a DNS Record to proxy requests to Cloudflare

Go to the DNS Tab, and add a DNS Record:

Done! You should now check if going to https://example.com redirects you to https://www.example.com.


Redirect www.example.comexample.com

If you have connected www.example.com to Typedream by adding an A record like the following:

Type

A

Name

@

Value

76.76.21.21

(this may be different for you)

Then you might need to redirect your www subdomain www.example.com to your connected root domain example.com so that both domains would serve your Typedream site.

What you need to do is add the following

1. Add Forwarding in Rules

Go to the Rules tab, then add a forwarding rule

2. Add a DNS Record to proxy requests to Cloudflare

Go to the DNS Tab, and add a DNS Record:

Done! You should now check if going to https://www.example.com redirects you to https://example.com.


See Cloudflare's Documentation

Configuring URL forwarding or redirects with Cloudflare Page Rules →

Reach out to us by clicking on Help & Resources at the bottom-left corner of the editor for help.

We're a remote software company, building online tools for creators, builders, and side hustlers. We quit our 9-5 to pursue our dreams, and we want to help others do the same.

Typedream - No-code site builder, easy as Notion, pretty as Webflow | Product Hunt

Backed by

Copyright © 2023 Govest, Inc. All rights reserved.

Made in Typedream