Back to Resources
How-To SessionComplexity: LowNo TerminalCloudflare

Redirect a Subdomain to a Website Page (Cloudflare URL Forwarding)

Example: send resources.4leggedit.com directly to www.4leggedit.com/resources.

This redirect happens before your website loads.

Your pre-rendered pages keep working normally on the main domain.

Quick Path

  • Confirm you can log in to Cloudflare and open your domain.
  • Create the `resources` DNS record and make sure it is proxied.
  • Add a forwarding rule so resources.4leggedit.com redirects to www.4leggedit.com/resources.
  • Test in a private/incognito window.
1

Step 1 β€” Confirm you can manage the domain in Cloudflare

➑ What this step does

This step makes sure you have the right access before you start.

If you cannot see the domain, you cannot set up the redirect.

πŸ“‹ What to do
  1. Log in to Cloudflare dashboard.
  2. Open the account that owns the domain.
  3. Click the domain you want to configure.
  4. If you do not have access, start with Cloudflare Account Setup.
βœ… What should happen

You can open the domain settings in Cloudflare.

You can access DNS and Rules/Page Rules for the domain.

2

Step 2 β€” Create the subdomain in Cloudflare DNS

➑ What this step does

This step creates the subdomain that Cloudflare can match and redirect.

For the example, you are creating `resources.4leggedit.com`.

πŸ“‹ What to do
  1. Go to DNS for your domain.
  2. Create a DNS record for the subdomain (example name: resources).
  3. Use the same target you use for your main site (example: `www` or your domain without www like `yourrescue.org`).
  4. Make sure the record is proxied (orange cloud), so Cloudflare can apply forwarding.
  5. Save the DNS record.
βœ… What should happen

`resources.yourdomain.org` exists in DNS and is proxied.

Cloudflare is now able to apply URL forwarding rules to it.

3

Step 3 β€” Add URL forwarding to your Resources page

➑ What this step does

This step makes Cloudflare redirect visitors to your main Resources page.

It is a clean, no-JavaScript redirect that works for browsers and search engines.

πŸ“‹ What to do
  1. In Cloudflare, open Rules (or Page Rules, depending on your account UI).
  2. Create a URL forwarding rule for the subdomain.
  3. Match URL: `resources.4leggedit.com/*` (replace the domain if needed).
  4. Forwarding type: 301 (permanent).
  5. Destination URL: `https://www.4leggedit.com/resources`.
  6. Save the rule.
βœ… What should happen

Cloudflare shows the forwarding rule as active.

Any visit to `resources.4leggedit.com` redirects to `/resources`.

4

Step 4 β€” Test the redirect

➑ What this step does

This step confirms it works for real visitors.

Testing in a private window avoids cached results.

πŸ“‹ What to do
  1. Open a private/incognito browser window.
  2. Go to `https://resources.4leggedit.com`.
  3. Confirm you land on `https://www.4leggedit.com/resources`.
  4. Refresh once to confirm it stays consistent.
βœ… What should happen

The redirect happens immediately.

The Resources page loads normally (including pre-rendered HTML).

Official References

Open these only if something doesn’t match your screen.

You do not need to read them to complete the guide.

Want 4leggedIT to Set This Up?

Send us the subdomain you want (example: resources.yourdomain.org) and the destination page, and we’ll configure the redirect safely.