Overview
Flint hosts Flint pages on Flint servers. There are two options for integration:
- 1.Subdomain (e.g. assistant.yelp.com)
- 2.Folder on Main Domain (e.g. yelp.com/assistant/*)
Subdomain:
- •Pro: Simple to setup with DNS record
- •Con: Significantly less optimized for SEO
Folder on Main Domain:
- •Pro: Usable for SEO, better branding
- •Con: More difficult infrastructure and security configuration
Option 1: Subdomain (lp.your-company.com)
The simpler setup. Just add a CNAME record to your DNS and you're ready to go.
Option 2: Folder on Main Domain (your-company.com/lp)
Can be done via Cloudflare Worker or Vercel rewrite, depending on your setup.
Example: Vercel Configuration
To set up folder-on-main-domain routing for a Vercel hosted site, configure this within the vercel.json file:
json
{
"rewrites": [
{
"source": "/lp",
"destination": "https://yoursite.tryflint.com/lp"
},
{
"source": "/lp/:match*",
"destination": "https://yoursite.tryflint.com/lp/:match*"
}
]
}