Create a site

Create a WordPress site, save its admin password and sign in to wp-admin.

Last updated

You create sites inside a project of type WordPress. If you do not have one yet, create it first: see Create a project.

The first site of a project also starts the project's WordPress plan, so it must be created by an organization Owner or Admin, and the wallet needs enough cash for the plan's first period.

Create the site in the Dashboard

  1. Open the project and choose WordPress in the sidebar.
  2. Choose New site.
  3. Under Plan, pick a plan and choose Billing: Monthly or Annual. This card only appears while the project has no plan; after that it shows the plan you have and how many websites it still allows.
  4. Under What to install, choose WordPress or WooCommerce store.
  5. Enter the Site title (1 to 120 characters).
  6. Check the Site address name. It is filled in from the title: lowercase letters, digits and hyphens, 2 to 48 characters, starting with a letter. It must be unique in the project.
  7. Open Advanced settings if you want another Admin username (default wpmanager, 3 to 32 characters, not root) or Admin email (default: your own).
  8. Choose Create site.

Creating a site usually takes 20 to 40 seconds. DASTER charges the plan when the site is ready; if creation fails, nothing is charged.

Save the admin password

The site's page opens with a card titled WordPress admin password — shown once. Copy the password into your password manager, then choose I’ve saved it. DASTER does not show it again.

To sign in, choose WordPress admin on the site's page. It opens https://<site id>.apps.daster.io/wp-admin/. Sign in with the admin username and the password you saved. Visit site opens the public site.

Warning: Sites cannot send email yet, so WordPress's "Lost your password?" link does not deliver a reset email. Keep the admin password safe.

Manage the site

The site's page has tabs for Overview, Backups, Plugins & themes, WooCommerce (for stores), Logs and Settings. The Staging and Domains tabs are there too, but staging copies and own domains are not available yet. From the page you can start, stop, restart and delete the site. Stopping or deleting needs a sign-in within the last 10 minutes.

Plugins & themes installs from DASTER's verified catalog only. Under Settings you can change the site title and check an admin login with Verify login. After ten wrong passwords in 15 minutes, login checks for the site are refused until 15 minutes have passed.

With the API

HTTP
POST /v1/projects/{projectId}/wordpress/sites?organizationId={organizationId}
Content-Type: application/json
X-Daster-Csrf: <csrf>
Idempotency-Key: wp-site-northwind-news

{
  "slug": "northwind-news",
  "title": "Northwind News",
  "adminEmail": "you@example.com",
  "phpVersion": "8.3",
  "enableWooCommerce": false,
  "plan": { "plan": "starter", "interval": "month" }
}

plan is starter, pro, business or woo, and interval is month or year. Leave plan out once the project has a plan. adminUsername is optional.

The answer holds site and initialCredentials with adminUsername, adminPassword and adminUrl. The password is in this first answer only. A repeat with the same Idempotency-Key returns the site with an empty adminPassword.

Common refusals:

CodeStatusMeaning
plan_required402The project has no WordPress plan and the request named none
plan_owner_required403Only organization Owners and Admins can start a plan
plan_site_limit409The plan has no room for another website
insufficient_wallet_balance402The cash in the wallet does not cover the plan
duplicate_site_slug409Another site in the project uses this address name
runtime_memory409DASTER has no room for another site in the region right now

Read a site with GET /v1/projects/{projectId}/wordpress/sites/{siteId}?organizationId=…. Start, stop, restart or delete it with POST …/sites/{siteId}/lifecycle and { "action": "stop", "confirmed": true }.