Blogs

Ever wanted your documentation site to be open only to the people you choose?
With DocStar + Cloudflare, you can let in just your team, certain clients, or even a single IP—while keeping everyone else out.

Here’s how to do it, step by step

Step 1: Hook Up Your Custom Domain in DocStar

1️⃣ Go to Custom Domain in your DocStar dashboard.

Example: You own viasocket.com and want docs.viasocket.com to show your beautiful DocStar-powered docs.

2️⃣ Add your domain or subdomain:

CopyEdit

docs.viasocket.com

3️⃣ In Cloudflare, add a CNAME record:

  • Type: CNAME

  • Name: docs

  • Target: project123.platform.com (provided by us)

  • Proxy Status: ☁️ Proxied (Orange cloud ON)

💡 Pro tip: This keeps your domain polished, fast, and secure.


Step 2: Give Access Only to the Chosen Few

Once your docs are live on your custom domain, it’s time to add the velvet rope.

1️⃣ Log into Cloudflare.

2️⃣ Go to Security → WAF → Firewall Rules → Create Rule.

3️⃣ Add this expression in the editor:

arduino

CopyEdit

(http.host eq "docs.viasocket.com" and not ip.src in {103.25.59.0/24 192.168.5.10})

Here’s the magic behind it:

  • http.host eq "docs.viasocket.com" → Targets only your docs subdomain.

  • ip.src in {…} → The VIP guest list (allowed IPs).

  • not ip.src in {…} → Everyone else hits the bouncer.

4️⃣ Choose Block or Challenge (CAPTCHA).
5️⃣ Click Deploy.


Step 3: Test Like a Pro

  • From an allowed IP → ✅ Opens flawlessly.

  • From another IP (try mobile data) → ❌ Cloudflare block page.


Why This Rocks for DocStar Users

  • Keep your public site open to everyone.

  • Protect your internal docs for specific teams.

  • Add multiple IPs for multiple clients.

💡

Final Tip:
If your IP changes often, you’ll need to update it in Cloudflare. But for stable office networks, this setup is a "set-and-forget" win.

Lock the Gates: How to Give VIP Access to Your Docs
Aug 18, 2025

When it comes to documentation, small details like URLs and redirects can make a huge difference. Clean links aren’t just nice to look at—they’re essential for developer experience, SEO, and long-term maintainability. At DocStar, we’ve made managing redirections and custom slugs simple, so your team can stay focused on building instead of worrying about broken links.


Why Clean URLs Matter

  • Readability → A URL like /api/authentication is instantly more useful than /page?id=123.

  • Shareability → Developers can easily copy and share links that make sense.

  • SEO-Friendly → Search engines prefer clear, descriptive slugs.

  • Longevity → Documentation evolves. Redirects ensure old links still work when things change.


Custom Slugs: Total Control Over Your URLs

Every doc page on DocStar can have its own custom slug.

  • Use short, memorable paths like /auth instead of /authentication-guide.

  • Create friendly slugs for FAQs (e.g., /faq/errors instead of /faq?id=45).

  • Standardize naming across your docs so your team speaks the same language.

This gives you complete flexibility while keeping your docs neat and predictable.


Redirections: No More Broken Links

Docs are living documents. APIs evolve, endpoints change, and sometimes entire sections get restructured. With DocStar’s redirection support, you can:

  • Point old URLs to their new location instantly.

  • Set up permanent redirects (301) for SEO benefits.

  • Handle temporary redirects when testing or reorganizing.

That means no more “Page Not Found” frustrations for your users.


How It Works in DocStar

  1. Assign Custom Slugs → When creating or editing a page, simply define your preferred URL.

  2. Add Redirects → Map old URLs to new ones directly from the dashboard.

  3. Test Instantly → Preview and confirm redirects so nothing slips through the cracks.

No messy .htaccess rules. No server headaches. Just clean, reliable control from within your documentation workspace.


Final Thoughts

Great documentation is about more than just content—it’s also about accessibility and usability. By giving your team easy tools for managing redirections and custom slugs, DocStar helps ensure that your docs stay clean, future-proof, and user-friendly.

👉 Ready to tidy up your docs?

Get started with DocStar

today.

Redirections & Custom Slugs Made Easy
Aug 22, 2025

FAQs have always been part of documentation. They’re quick, useful, and often the first place users look for answers. But traditional FAQs have one problem: they’re static.

Users scan through a list, click on what looks right, and hope the answer is there. If not, frustration follows.

With DocStar, we’re moving beyond static lists. We’re turning FAQs into AI-powered conversations.


The Problem with Old-School FAQs

  • Too rigid → Users have to guess the right question.

  • Hard to scale → As products grow, FAQs get cluttered.

  • Not personalized → Everyone sees the same generic list.

The result? FAQs become less helpful over time.


Enter Smart FAQs

DocStar uses AI to make FAQs dynamic and conversational:

  • Natural Language Search → Users can ask questions in their own words, not just exact matches.

  • Instant Answers → AI finds the best response, even if it’s buried inside a doc page.

  • Context-Aware Suggestions → Related FAQs surface automatically, guiding users deeper.

  • Continuous Learning → AI analyzes patterns to suggest new FAQs your docs may need.


From “List of Questions” to “Ask Me Anything”

Instead of scrolling through a giant FAQ section, your users can simply type:

  • “Why is my token invalid?”

  • “How do I reset my API key?”

  • “What error codes should I watch for?”

And they’ll get direct, relevant, conversational answers—instantly.


Why Smart FAQs Matter

  • Better user experience → Answers feel personal, not generic.

  • Less support load → Fewer tickets for repetitive questions.

  • Faster onboarding → New developers find answers right away.

In other words, FAQs stop being a fallback and become a core part of your support strategy.


The DocStar Difference

Traditional FAQs are static. DocStar’s AI-driven FAQs are alive. They grow smarter with every interaction, helping you build a knowledge base that’s as dynamic as your product.

👉 Ready to make your FAQs smarter?

Try DocStar

today and turn “Frequently Asked Questions” into Smart Conversations.

Ask AI Anything: Turning FAQs into Smart Conversations
Aug 22, 2025