Subdomain forwarding to external URL

Hello!

I am trying to create the subdomain mobile.growthgems.co and have it redirect to a notion page.

I created a record in the DNS tab:

Then I created a page rule to forward the URL.

But I get an error.

What am I missing? Do I need to do something else (through my domain provider - NameCheap - or my host - Bluehost)?

The page rule doesn’t seem to be the problem because I got the forwarding working with growthgems.co/mobile/

Thanks!
Sylvain

You want to forward mobile.growthgems.co, not growthgems.co/mobile, so you’ll have to adjust the page rule accordingly.

What exactly is the issue? Post a screenshot of your page rule.

Thanks for the quick reply.

Here is the screenshot of the page rules

What I was saying is https://growthgems.co/mobile/ is redirecting to the page (I used the same page rule) but mobile.growthgems.co is not.

Have you tried purging your Cloudflare cache already?

1 Like

Can you check if you are configuring the right Cloudflare account? The nameservers given for that account are clark and jocelyn, right?

Hi Sandro,

I only have 1 cloudflare account, for the growthgems domain.

You’re correct on the nameservers.

I had initially tried to set this up through the solution indicated at fruition site, but it does not work with a “redirection” to a private Notion page. So I deleted the worker a few minutes ago.

Now I purged the cache a couple of times, and now it seems like it’s working.

Thanks for your help!

1 Like

This topic was automatically closed after 31 days. New replies are no longer allowed.