Skip to content

Add subdomain-based portfolio preview URLs (<github-username>.foliox.site) #4

@sumukhj1219

Description

@sumukhj1219
  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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions