Knowledgebase

Articles

How to Configure CORS Headers Properly in Nginx Allow your frontend domain to communicate securely with your API subdomain.Step-by-Step... How to Configure Cloudflare SSL (Full Strict Mode) with Your VPS Prevent redirect loops and guarantee end-to-end encryption with Cloudflare.Step-by-Step... How to Configure Custom Hostname and rDNS (PTR Record) Set a clean FQDN hostname on Linux (important for mail deliverability):sudo hostnamectl... How to Create Custom 404 and 500 Error Pages in Nginx Display branded error pages instead of default Nginx server error text.Step-by-Step... How to Enable Browser Caching for Static Assets in Nginx Boost Google PageSpeed and Core Web Vitals by caching images, CSS, and JS.Step-by-Step... How to Enable HTTP/2 and Gzip Compression in Nginx Dramatically speed up page delivery by compressing text assets and multiplexing... How to Fix Common 502 Bad Gateway & 504 Gateway Timeout Errors 502 Bad Gateway usually means your backend app (PHP-FPM, Node.js, Gunicorn) is stopped or... How to Force HTTPS (HTTP to HTTPS 301 Redirect) in Nginx and Apache Ensure all visitors and search engines always use your encrypted HTTPS URL.Step-by-Step... How to Host Multiple Websites on a Single VPS with Nginx Server Blocks Run dozens of independent domains cleanly on one BlueStack Cloud VPS.Step-by-Step... How to Increase File Upload Size Limit in Nginx and PHP Fix 413 Request Entity Too Large errors when uploading themes, backups, or media.Step-by-Step... How to Install Apache Web Server on Ubuntu & AlmaLinux Ubuntu / Debiansudo apt update && sudo apt install -y apache2 sudo systemctl enable --now... How to Install Free Let's Encrypt SSL Certificates with Certbot Enable free auto-renewing HTTPS SSL on Nginx in under 60 seconds:sudo apt install -y certbot... How to Install Nginx Web Server on Ubuntu 24.04 LTS Nginx is a lightweight, high-performance web server ideal for modern websites and APIs.sudo apt... How to Install PHP 8.2 / 8.3 & PHP-FPM on Ubuntu VPS sudo apt install -y software-properties-common sudo add-apt-repository ppa:ondrej/php -y sudo apt... How to Issue a Wildcard SSL Certificate (*.yourdomain.pk) with Certbot Secure unlimited subdomains under a single free Let's Encrypt certificate.Step-by-Step... How to Point a Domain Name (A Record) to Your VPS IP Address To connect your domain (e.g. yourdomain.pk) to your BlueStack Cloud VPS:Open your domain DNS Zone... How to Proxy WebSockets (Socket.io / Live Chat) Through Nginx Keep persistent real-time WebSocket connections open behind Nginx.Step-by-Step InstructionsPass... How to Set Up Reverse Proxy in Nginx for Node.js or Python Apps To proxy traffic from port 80/443 to an app running on 127.0.0.1:3000, add this to your Nginx...
« Back