React hosting.
Built for virtual machines.
Automated Nginx single-page app configuration, static assets build processing, Let's Encrypt SSL, and multi-cloud CDN options. Run on AWS, GCP, Azure, or Linode.
High performance React SPA serving
Host your React apps on flat-rate, high-performance web servers with sensible cache controls, automatic SSL, and standard fallback redirects.
Custom Nginx Serving
Pre-configured Nginx web server containing SPA router fallbacks, gzip compression, and cache headers optimized for static bundles.
Let's Encrypt HTTPS
ACME automated Let's Encrypt provisioning and background auto-renewals. Fully secure frontends without third-party proxy tools.
AWS S3 Static Hosting option
Rather host without VM compute? Use the static hosting module to push builds straight to S3 Buckets / CloudFront CDNs with the same toolset.
Build Argument Injection
Compile environment parameters like API URLs or Auth keys into the bundle at build time using custom deploy parameters.
Unified CI/CD Rollouts
Deploy frontend updates as part of your Git pipeline. Push React builds alongside APIs for synchronized multi-service version changes.
No Seat or Traffic Markups
Run on your own infrastructure. You only pay the raw VPS provider rates for network traffic and VM resources.
Quickstart — React live with HTTPS in 2 commands
vxcli vm create \
--name react-web-vm --cloud aws --region us-east-1 \
--instance-type t3.micro --key-pair-name AWSPRODKEY2
# Save the public IP address for deployment
export VM_IP=<public-ip-from-output>vxcli deploy react \
--source-dir ./ \
--app-name frontend-app \
--http-port 80 \
--build-env VITE_API_URL=https://api.example.com \
--build-env VITE_AUTH_DOMAIN=auth.example.com \
--enable-ssl \
--domain www.example.com \
--ssl-email [email protected] \
--host $VM_IP --ssh-user ubuntu --key-pair-name AWSPRODKEY2
# www.example.com is now live. Build steps compile resources, output folders, and serve through Nginx.React production checklist
- Configure your bundler (Vite, Webpack) to separate vendors into chunks, keeping entry files small for fast initial LCP scores.
- Verify Nginx cache headers: static resources (JS, CSS, images) should have long cache TTLs, while index.html must be set to `no-cache`.
- Inject all required environment parameters using build variables so client requests resolve against correct production endpoints.
- Place a global CDN like Cloudflare or AWS CloudFront in front of the VM to cache static assets close to regional clients.
- Keep API URLs flexible or use relative routing when running API and Web apps under same domains behind a unified proxy.
React hosting FAQ
Run your React apps on your own cloud
Configure custom Nginx servers, build-time variables, and automatic Let's Encrypt SSL with a single command.
Related pages
- Next.js hostingServer-side React framework guide.
- FastAPI hostingDeploy python backends for React.
- SSH Deploy AutomationHow deployment works under the hood.
- Multi-Cloud ProvisioningProvision servers across clouds.
- vxcloud vs VercelVercel compared as a React static host.
- Migrate from HerokuMove frontend apps over.