Users create a site to share, and they create a subdomain as the link.
User creates “Cool Site”, and give it subdomain: cool-site.myawesome.app
Currently, I have a domain in Netlify bought through Netlify. Which I think supports wildcard subdomains.
I would like to know how to do this, and then how to do redirects based on this.
I tried:
redirect:
from = “https://*.myawesome.app”
to = “Awesome System”
status = 200
The app is a SPA app, and user sites will be rendered from a path called user-site.
So ideally the redirect can mask that path, and it looks like its just cool-site.myawesome.app but its actually running: myawesome.app/user-site/cool-site
If you are on the pro plan or above a Netlify Engineer can enable wildcard subdomain for you, if that’s what you’d like and you’re a paying netlify user then I’d recommend confirming that here, then when Netlify staff are able to view this they can act quickly
Heya @nodoio - super sorry to miss this! We can absolutely configure that for you - please feel free to email support@netlify.com for faster attention in the future.
What site ID is it you’d like configured for wildcard domains? There are some prerequisites so I’ll check out your config and let you know what if anything is missing and we can go from there (sooner than a week from now!)