Can my users setup custom DNS for their page?

I’m working on a SaaS, and i want all my users to be able to setup

sub.myclientwebsite.com

I’ve tried:

  • Setup Vercel wildcard *.myapp.com

So going to myclientwebsite.myapp.com (vercel deployed) show the correct page.

But putting a CNAME on sub.myclientwebsite.com to myclientwebsite.myapp.com isn’t working and is going 404.

I understand that Vercel proxy don’t “know” how to handle a request from myclientwebsite.myapp.com.

Does anyone have an idea ? I was thinking maybe using cloudflare ?!

I see the solutions to use vercel API to dynamically add in the DNS / Router list all my clients redirections. But i might get limitions in the future…

Any help is appreciated :folded_hands:

There’s another community post with 404 debugging tips that might be helpful. Please give these solutions a try and let us know how it goes.

A human should be around soon to offer more advice. But you can also get helpful information quickly by asking v0.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.