Project Name / ID
The name given to a project in Serverpod Cloud is its identifier and must adhere to these rules:
- Globally unique
- Between 6 and 32 characters long
- Contain only lowercase letters, numbers, and hyphens
When creating a new project (see also the
scloud launch
or
scloud project
commands) you will get an error message if the name is not valid.
Project identifier
The project name is the global identifier for your project in Serverpod Cloud.
Most scloud commands need to know which project to operate on, which can be
specified in multiple ways:
- The
scloud.yamlfile in your server package's root directory (see also thescloud project linkcommand) - The
-p/--projectcommand line option - The
SERVERPOD_CLOUD_PROJECT_IDenvironment variable
Default server domain
Your project is automatically set up with default server domain names which begin with the project id.
For example if your project id is 'my-app', then your server can be accessed at: