Customer portals reduce support calls and emails by letting customers help themselves: download invoices, track orders, upload documents, raise tickets. Because they expose business data to outsiders, they need to be secure, reliable and fast. This guide covers how to host one properly on your own server.
Typical Portal Features
- Account management and secure login.
- Orders, quotes and delivery status.
- Invoices, statements and payment links.
- Document sharing: contracts, reports, certificates.
- Support tickets and messages.
- Project or service status for agencies and consultancies.
Portals can be built with a framework (Laravel, Django, Rails, Node.js), from an open-source portal or helpdesk product, or as part of an ERP or CRM.
Architecture
customers ─HTTPS─▶ Nginx ─▶ portal app (several workers)
├─▶ database (accounts, records)
├─▶ private file storage (documents)
└─▶ queue + workers ─▶ ERP / CRM / email
Keep documents outside the web root and serve them through the application after an access check, never as public URLs that can be guessed.
Authentication
- Strong password rules with rate-limited login attempts.
- Optional or required two-factor authentication, especially for business customers.
- Single sign-on (SAML or OpenID Connect) for large clients who want it.
- Secure password reset flows with expiring tokens.
- Session cookies marked Secure and HttpOnly, with sensible expiry.
Access Control: the Most Important Part
The worst portal bug is one customer seeing another's invoices. Enforce access on every request: every record belongs to a customer account, every query filters by the logged-in user's account, and object IDs in URLs are checked against ownership rather than trusted. Test it explicitly with automated tests that try to access another customer's records. Support multiple users per customer account with roles (admin, finance, viewer) if your clients are businesses.
Documents and Files
- Store files in a private directory or object storage, referenced by the database.
- Serve downloads through the app after an access check; Nginx's
X-Accel-Redirectlets the app authorise and Nginx deliver efficiently. - Scan uploads for malware if customers can upload files.
- Limit upload sizes and types.
Integrations
Portals often display data from an ERP, accounting or CRM system. Sync it with background jobs on a schedule or via webhooks, rather than querying internal systems directly from customer requests. That keeps the portal fast and protects internal systems from load and exposure (see our workers guide).
Performance
- Cache dashboards and summaries per customer for short periods.
- Paginate long lists of orders and invoices.
- Generate large PDFs and exports in background jobs and notify the customer when ready.
- Host close to your customers; an Indian data centre for Indian clients.
Security Hardening
- HTTPS everywhere with HSTS (see our HTTPS guide).
- Firewall with only 80/443 public; SSH by key only.
- Rate limiting on login, password reset and search.
- Audit logs of logins, downloads and changes.
- Regular dependency updates and security testing before major releases.
Backups and Availability
Back up the database and document storage nightly to off-site storage, with point-in-time recovery if records change often. Monitor the portal with an external uptime check and alerts (see our monitoring guide). Communicate planned maintenance to customers in advance.
Sizing
| Portal | Suggested plan |
|---|---|
| Small B2B portal, hundreds of customers | 2 vCores / 8 GB |
| Busy portal with many documents and integrations | 4 vCores / 16 GB |
| Large portal with thousands of active users | 8 vCores / 32 GB or app + database split |
Common Mistakes
- Guessable document URLs that bypass access checks.
- Querying the ERP live on every page view.
- No two-factor option for business clients.
- No audit trail when a customer disputes a download or change.
In Short
A good portal is secure first: strict per-customer access control, private documents, strong authentication and audit logs, then fast through caching and background sync.
Example: A B2B Supplier Portal
A manufacturer gives dealers a portal to see orders, download invoices and delivery challans, and raise service requests. Orders and invoices sync from the ERP every fifteen minutes through a background job; documents are stored privately and served after an ownership check; each dealer company has an admin who manages its own users. Support calls about "where is my invoice" dropped sharply once dealers could download documents themselves.
Testing Before Launch
Before opening a portal to customers, test with real accounts from a few friendly clients: logins, password resets, downloads, uploads and every role. Run automated tests that attempt to access other customers' records, and fix anything that slips through. Check performance with realistic data volumes, not an empty database.
Next Steps
List the information customers ask your team for most often, put that in the portal first, and grow features from real usage. Keep the setup documented in a short runbook covering where data lives, how to deploy, how to restore from backup and whom to contact, so the system stays maintainable as people and requirements change. Review the setup every quarter with the people who use it, because needs change as the business grows, and small adjustments made early are far cheaper than large changes made under pressure.
SkyRainCloud Plans for This Workload
Most customer portals run comfortably on a 2 vCore / 8 GB server at launch; portals with many concurrent users, large document libraries or heavy integrations fit better on 4 vCores / 16 GB.
AMD EPYC 7C13 VPS
Dedicated KVM vCores on AMD EPYC 7C13 (up to 3.70 GHz) with DDR4 ECC memory, NVMe SSD and an unmetered 1 Gbps port.
| Plan | vCores | RAM | Storage | Network | Price | Good for | Buy |
|---|---|---|---|---|---|---|---|
| VPS 1 — AMD | 2 | 8 GB DDR4 ECC | 40 GB NVMe SSD | 1 Gbps, unmetered | ₹649/month | Websites, small APIs, bots, staging and VPN servers | Order |
| VPS 2 — AMD | 4 | 16 GB DDR4 ECC | 80 GB NVMe SSD | 1 Gbps, unmetered | ₹1,299/month | WooCommerce, Node.js/Python backends, Docker Compose stacks, CI runners | Order |
| VPS 3 — AMD | 8 | 32 GB DDR4 ECC | 150 GB NVMe SSD | 1 Gbps, unmetered | ₹2,499/month | Production databases, high-traffic sites, multi-container apps | Order |
| VPS 4 — AMD | 16 | 64 GB DDR4 ECC | 250 GB NVMe SSD | 1 Gbps, unmetered | ₹4,899/month | Large production workloads, SaaS platforms, analytics, in-memory caches | Order |
Intel Xeon Platinum 8269CY VPS
KVM VPS on Intel Xeon Platinum 8269CY (up to 3.80 GHz Turbo) with DDR4 ECC memory, NVMe SSD, full root access and an unmetered 1 Gbps port.
| Plan | vCores | RAM | Storage | Network | Price | Good for | Buy |
|---|---|---|---|---|---|---|---|
| VPS 1 — Intel | 2 | 8 GB DDR4 ECC | 40 GB NVMe SSD | 1 Gbps, unmetered | ₹649/month | Business websites, small apps, scheduled jobs and bots | Order |
| VPS 2 — Intel | 4 | 16 GB DDR4 ECC | 80 GB NVMe SSD | 1 Gbps, unmetered | ₹1,169/month | Business software, mid-size databases, several sites on one server | Check stock |
| VPS 3 — Intel | 8 | 32 GB DDR4 ECC | 150 GB NVMe SSD | 1 Gbps, unmetered | ₹2,249/month | ERP/CRM stacks, heavier databases, multiple production apps | Check stock |
| VPS 4 — Intel | 16 | 64 GB DDR4 ECC | 250 GB NVMe SSD | 1 Gbps, unmetered | ₹4,299/month | High-memory workloads and consolidated production servers | Check stock |
Prices are monthly in INR as listed on the SkyRainCloud store (verified 2026-11-14). Stock and final pricing are shown on the product page at checkout.