Saas

Hey, can anyone point me in the right direction? I have a web builder and I want to give my users their own subdomain within my domain (using their username). I also want to allow them to connect their own domain (should display what is visible in my web's subdomain)
4 Replies
marve
marve14mo ago
Thanks This works great for the custom domains but does anyone know how I would handle subdomains for my users within my own domain? So like username.mydomain.com. Nodejs backend, routing front is react router
zegevlier
zegevlier14mo ago
You could set up a wildcard subdomain that points at your server, and then on the server look at the subdomain to determine which user the request is for
marve
marve14mo ago
Thank you again Ill add a reverse proxy as well for all this