Introduction
To host websites and APIs on Square Cloud, it’s essential to follow proper configuration procedures and meet the necessary technical prerequisites. This comprehensive guide will present the entire professional implementation process.Technical Prerequisites
- Square Cloud Account: Create your account through the signup page, using your email address for registration.
- Active Paid Plan: It’s necessary to have a paid plan to ensure adequate resources and optimized performance. Check our available plans and choose the most suitable for your needs.
Square Cloud Configuration File
Learn about: how to create the configuration file for Square Cloud.
The squarecloud.app file is an essential configuration file that will be used to configure your application on Square Cloud. It defines name, description, version, main file, among other fundamental configurations.
Essential Parameters for Websites
The website port must be configured as 80. For static websites, it’s not necessary to define theSTART
parameter.
Main parameters of the squarecloud.app configuration file:
SUBDOMAIN
: For website hosting, define this parameter with your desired subdomain.START
: Custom startup command (when necessary).
The website URL will be:
my-subdomain-parameter
.squareweb.appConfiguration Examples
Example 1: Static website without custom startup commandSupport for Multiple Technologies
Square Cloud offers comprehensive support for various web development technologies, providing flexibility in choosing the most suitable tech stack for your project.React
Learn how to host your React website on Square Cloud.
Next.js
Learn how to host your Next.js website on Square Cloud.
NestJs
Learn how to host your NestJs application on Square Cloud.
Vite
Learn how to host your Vite website on Square Cloud.
Vue
Learn how to host your Vue website on Square Cloud.
Flask
Learn how to host your Flask application on Square Cloud.
Django
Learn how to host your Django application on Square Cloud.
Lavalink
Learn how to host your Lavalink server and stream high-quality music to your Discord bot.