1. DNS Configuration *.foliox.site → CNAME → cname.vercel-dns.com 2. Add wildcard domain in Vercel dashboard *.foliox.site 3. Route requests using Vercel middleware middleware.js So the resulting behaviour would be both foliox.site/github-username & github-username.foliox.site NOTE : But we need to explicitly exclude or handle www.foliox.site, otherwise the middleware will mistakenly treat www as a username.