Documentation

Getting Started

Account setup, initial configuration, and your first deployment — in the order that avoids having to redo work later.

What this page is

This page describes the general shape of the process and the concepts behind each step. The specifics for your account — hostnames, credentials, control panel access, and the exact deploy target — are provided during onboarding and available through support. Anywhere a value is specific to you, it appears below as a marked placeholder for you to fill in.

Before you begin

Most of the friction in a first setup comes from missing information rather than from a hard technical step. Collect the following before you start:

  • The domain name you intend to use, and access to the account at the registrar where it is currently registered. Changing nameservers requires registrar login, not just DNS access.
  • The application itself — a repository URL, or the built files if you are uploading a static site.
  • How the application is built and started: the build command, the start command, the runtime version it needs, and the port it listens on.
  • Its configuration: environment variables, API keys, and database connection details. Keep these in a password manager, not in the repository.
  • An SSH public key, if you will be connecting to a server directly. Generate one if you do not already have it.

Generating an SSH key

If you do not already have a key, create one. Ed25519 is the current default recommendation; use a passphrase.

ssh-keygen -t ed25519 -C "[email protected]"
cat ~/.ssh/id_ed25519.pub

Send the public key — the .pub file, the one-line output of the second command. The private key never leaves your machine and is never sent to anyone, including support.

Account and access setup

  1. Confirm your account and the environment you have been given. Before configuring anything, be clear on which plan and which environment you are working in, and whether you have a separate staging target. Environment: shared / dedicated / custom — confirm during onboarding.
  2. Sign in and enable multi-factor authentication everywhere it is offered — the control panel, the registrar, the git host, and any database console. Account takeover at the registrar or the git host is the most common way a well-configured server gets compromised.
  3. Register your SSH key for any shell or SFTP access, and confirm you can connect before you need to. Test with a harmless command:
    ssh user@your-server-hostname "hostname; uptime"
  4. Create named accounts for each person who needs access, rather than sharing one login. This makes access reviews and offboarding possible later. See Security Practices.
  5. Record where things live. A short internal note listing the registrar, the DNS host, the git repository, the deploy target, and who holds which credential will save you an hour the first time something breaks.

Initial configuration

Do these in order. Each step depends on the one before it, and doing DNS last is the usual cause of a failed certificate issuance.

1. Point the domain at the server

Either delegate the domain's nameservers to the DNS host you are using, or, if you keep DNS where it is, add the records that point the hostname at the server's IP address. Full detail is in DNS & Domains.

# the record you will most often need for a single host
www.example.com.  A     203.0.113.10
example.com.      A     203.0.113.10

Nameservers or target IP address for your account: provided during onboarding.

2. Issue a certificate and turn on HTTPS

Certificate issuance validates that you control the domain, so it can only succeed once DNS resolves correctly. Once the certificate is in place, redirect HTTP to HTTPS rather than serving both. See SSL / TLS Setup.

3. Set the application's configuration

Put secrets in the environment or in the platform's secret storage — never in the repository, and never in a file that is served by the web server. A practical checklist:

  • Set the runtime version explicitly rather than relying on whatever default is installed.
  • Set the environment marker your app expects (NODE_ENV=production, FLASK_ENV, RAILS_ENV, or the equivalent) so the framework disables debug output and verbose error pages.
  • Give the app a database user with only the privileges it actually needs.
  • Confirm the app binds to the port and interface the platform expects, and reads that port from the environment rather than hard-coding it.

4. Set up backups before you have data worth losing

It is much easier to confirm backups work on an empty database than on a live one. See Backups & Restore.

Your first deployment

Two patterns cover almost everything. Pick the one that matches how the project is managed, and be consistent — mixing them is how a manual hotfix gets silently overwritten by the next git deploy.

Git-based

The repository is the source of truth. A push to a designated branch triggers a fetch, a build, and a restart. This is the recommended default because every deployed state corresponds to a commit you can identify and return to.

git remote -v                 # confirm you are pushing where you think
git status                    # nothing uncommitted that the build needs
git push origin main

Manual upload

For static output or a build produced on your own machine. rsync is preferable to dragging files over SFTP because it transfers only what changed and can report exactly what it would do first.

# dry run first — review the list before removing --dry-run
rsync -avz --dry-run --delete ./dist/ user@your-server-hostname:/path/to/webroot/

--delete removes files on the server that are no longer in your local directory. That is usually what you want for a build output directory and emphatically not what you want if user uploads live in the same tree.

Both patterns, including rollback, are covered in Deployments.

Verifying it worked

Do not rely on loading the page in a browser you have already visited the site in — caching and an old certificate in the local store will both lie to you. Check from the command line.

# Does the name resolve, and to the address you expect?
dig +short www.example.com

# Does the server answer, with the status and redirect you expect?
curl -sSI https://www.example.com

# Does plain HTTP redirect to HTTPS?
curl -sSI http://www.example.com | grep -i -E "^(HTTP|location)"

# Is the certificate valid, and for the right name?
openssl s_client -connect www.example.com:443 -servername www.example.com </dev/null 2>/dev/null \
  | openssl x509 -noout -subject -issuer -dates

A first deployment is finished when all four of those return what you expect, not when the deploy command exits zero.

If something does not resolve yet

DNS changes are not instantaneous. If a record you just created does not appear, it is usually the previous record's TTL still being served from a cache rather than a mistake. See propagation timing before changing anything else.

Where to go next