Sub-domain redirects setup

Hey!

Little help on sub-domain redirect setup.

I did setup a simple static html site to test the things with redirects…but it is leads to 404.

I pointed all the nameservers to netlfiy, so that netlfiy handle the DNS too.

Domain: communitypoint.org (It redirect well)
sub-domain : http://for.communitypoint.org (geting 404)

How can I redirect the sub-domain to the target site for Junk Car removal Service Zenia Ca without Tittle too, Free Towing For Tax Deduction Receipt.

Here is the CName setup too.

communitypoint.org Netlify ... (screenshot)

And I have setup the redirects file too.

Junk Car removal Service Zenia Ca without Tittle too, Free Towing For Tax Deduction Receipt. https://donateers.org/ca/sitemap/:splat 301!
Junk Car removal Service Zenia Ca without Tittle too, Free Towing For Tax Deduction Receipt. https://donateers.org/ca/sitemap/:splat 301!

Thanks in advance.
Suresh

Hey @sureshkumarg

As you are using Netlify DNS, there is no need for a CNAME record for for.communitypoint.org. Remove the CNAME record and add for.communitypoint.org as a custom domain to your site.

Hey @coelmay Yes, I’m using the netlify DNS.

I will make changes as you suggested.

Thanks for the fastest reply.

I did it and it works.

But if I added extra URL, it’s not force redirecting the URL.

https://for.communitypoint.org/1 it’s redirecting to https://donateers.org/ca/sitemap/1

I assume it’s about the splat?

I figured out, it’s the usage of splat :slight_smile:

1 Like

Thanks for coming back and letting us know! Happy building :rocket:

1 Like