π Custom Subdomain Forwarding with Cloudflare
A simple guide to forward custom subdomains to free Bento and Linktree pages using Cloudflare.

π― What We're Building
| Subdomain | Forwards To |
| iam.nikhilmishra.live | bento.me/kaalpanikh |
| links.nikhilmishra.live | linktr.ee/kaalpanikh |
π How It Works
Note: This setup uses Cloudflare as a workaround since free Bento and Linktree plans don't support custom domains.
π Step-by-Step Guide
1οΈβ£ Create DNS Records
Log in to your Cloudflare Dashboard
Select your domain:
nikhilmishra.liveGo to DNS β Records
Add the following records:
For Bento Profile
Type: CNAME
Name: iam
Target: @
Proxy: β
Enabled (Orange Cloud)
For Linktree Profile
Type: CNAME
Name: links
Target: @
Proxy: β
Enabled (Orange Cloud)
2οΈβ£ Set Up Page Rules
Navigate to Rules β Page Rules
Create two page rules:
Bento Redirect
URL Pattern: https://iam.nikhilmishra.live/*
Forward to: https://bento.me/kaalpanikh
Status: 301 (Permanent Redirect)
Linktree Redirect
URL Pattern: https://links.nikhilmishra.live/*
Forward to: https://linktr.ee/kaalpanikh
Status: 301 (Permanent Redirect)
3οΈβ£ Verify Setup
After DNS propagation (usually 5-10 minutes):
Visit iam.nikhilmishra.live
- Should redirect to your Bento profile.
Visit links.nikhilmishra.live
- Should redirect to your Linktree profile.
β οΈ Troubleshooting
If redirects aren't working:
Check if Cloudflare proxy is enabled (orange cloud).
Verify page rules are in the correct order.
Clear your browser cache.
Wait a few more minutes for DNS propagation.
π Useful Links
About the author
I am a student studying in Mumbai University, learning DevOps, looking for opportunities to learn more things by gaining experience at prestigious institutions
Comments
Join the discussionNo comments yet. Be the first to comment.






