Create a Site from Scratch

Who this is for

Users who want to provision a new website or web application on a server managed by CloudAIPilot.


Prerequisites

  • At least one server is running, has management mode Full, and is running Linux.
  • For application types other than static, the server must have a stack installed (e.g., LAMP, LEMP, Node stack). See KB-02-04: Bare vs Stack Servers.

How to Create a Site

  1. Go to Servers and open the server where you want to create the site.
  2. Click the Sites tab.
  3. Click + Create Site.
  4. Fill in the site creation form:
FieldDescription
Site nameAn internal label for this site in CloudAIPilot (e.g., my-blog)
DomainOptional — your domain name (e.g., myblog.com). Leave blank to set it later.
App typeType of application to create. See KB-03-02: App Types.
EnvironmentDefaults to production. Use staging for non-production copies.
  1. Click Create Site.

What Happens Next

CloudAIPilot generates a plan — a set of steps that will be executed on the server to provision your site (directory creation, nginx vhost, database creation, etc.).

  • If autoConfirm is enabled in your settings (or you click Confirm and Deploy), the plan runs immediately.
  • If you are in draft mode, you will see a plan summary. Review the steps and click Confirm to proceed.

Progress is shown in the Activity Center (bell icon). The plan typically completes in 1–3 minutes.


After the Site Is Created

Once the plan completes:

  • The site appears in the Sites tab on the server.
  • If you entered a domain, the Nginx vhost is configured. Point your domain's DNS A record to the server's IP address to make it live.
  • For WordPress sites, the installer runs automatically.
  • SSL can be provisioned immediately if the domain is already pointing to the server — see KB-03-04: SSL Certificates.

What Success Looks Like

The site appears in the Sites list with status running. If a domain was set, visiting the domain in a browser shows the default page (or WordPress installer) served over HTTP.


Common Issues and Fixes

IssueLikely causeFix
"MISSING_STACK" errorServer has no stack installedInstall a stack via Server Settings → Stack.
"DOMAIN_CONFLICT" errorDomain already used by another siteUse a different domain or remove it from the conflicting site first.
"UNSUPPORTED_OS" errorServer OS is Windows or unsupportedCloudAIPilot sites only support Linux servers.
Plan fails mid-waySSH error, disk full, or package install failedCheck the Activity Center for the specific failed step. Try creating the site again after fixing the root cause.

Related Articles