One Fathom
Get started
Deployment guide

Deploy with an AI assistant

How an assistant such as Claude, ChatGPT or Gemini can put your website live on One Fathom hosting. You stay in control: the assistant works with a key you create and can cancel at any time, never with your password.

This page is written for both people and AI assistants. Every command on it was tested on a new One Fathom account. Replace yourdomain.com with the domain on your plan.

What you do yourself: order a plan and pay, point your domain at us, and create the access key. The SSL certificate is installed automatically. What the assistant can do with the key: check your site, create and remove an upload account, upload your files, and confirm the site is live.

Facts an assistant needs

Control panel and APIhttps://plesk.onefathom.com:8443 (Plesk; REST API under /api/v2)
UploadFTP with explicit TLS, host plesk.onefathom.com, port 21. Unencrypted FTP is refused.
Website folderhttpdocs (files here are served at https://yourdomain.com/)
GitPush over HTTPS to https://yourdomain.com/plesk-git/NAME.git, set up in Plesk
SSH and SFTPFree add-on on every plan. A basic restricted shell and SFTP, reached over a private WireGuard connection that we email to the customer; see the knowledgebase. Not needed for the steps on this page.
PHP and databasePHP 8.2 or 8.3; MariaDB, database host localhost
Website address for DNS38.129.136.219

1. Get an account (you)

Choose a plan on the pricing page and order it. You enter the domain you already own, your details and payment. The account is created as soon as the payment goes through, and a welcome email gives you your Plesk username and password.

An assistant can hand you the right order link, but it cannot pay or create the account for you. This link opens the checkout page with the plan and your domain already filled in:

https://portal.onefathom.com/cart.php?a=add&pid=PID&billingcycle=annually&domainoption=owndomain&sld=NAME&tld=.TLD&skipconfig=1

pid is 84 for Standard, 68 for Harbor and 69 for Open Ocean. sld is the domain name without its ending and tld is the ending, so example.com is sld=example&tld=.com. Use billingcycle=monthly for monthly billing.

2. Create an access key for your assistant (you)

Run this on your own computer. It asks for your Plesk password and prints a key.

curl -u 'YOUR_PLESK_USERNAME' \
  -H 'Content-Type: application/json' \
  -X POST https://plesk.onefathom.com:8443/api/v2/auth/keys \
  -d '{"description":"AI assistant"}'

The reply looks like {"key":"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"}. Give that key to your assistant. Do not give it your password.

What the key can do: see your own websites and create or remove upload accounts for them. What it cannot do: see other customers, change server settings, or log in to the billing portal.

Cancel the key

When the work is finished, or at any time, delete the key. It stops working immediately.

curl -u 'YOUR_PLESK_USERNAME' \
  -X DELETE https://plesk.onefathom.com:8443/api/v2/auth/keys/THE_KEY

3. Point the domain at One Fathom (you)

Do one of these where your domain is registered or where its DNS is managed.

Option A: use our nameservers

Set the domain's nameservers to ns1.onefathom.com and ns2.onefathom.com. All records, including email, are then created for you.

Option B: keep your DNS elsewhere (for example Cloudflare)

TypeNameValueNote
A@38.129.136.219Your website
CNAMEwwwyourdomain.comThe www version
Amail38.129.136.238Mail server. On Cloudflare set this to "DNS only".
MX@mail.yourdomain.com (priority 10)Only if you use our email

The full list, including the email authentication records, is in the knowledgebase.

Check that it points here

dig +short yourdomain.com A

It should print 38.129.136.219, or Cloudflare addresses if the record is proxied there. Changes can take from a few minutes to 48 hours.

4. SSL certificate (automatic)

Once the domain points to us, a free Let's Encrypt certificate is installed automatically, usually within an hour, and it renews by itself. To install it straight away: in Plesk, open Websites & Domains. On your domain's Dashboard tab click SSL/TLS Certificates, then click Install next to "Install a free basic certificate provided by Let's Encrypt" and confirm. That takes about a minute. The access key cannot do this step.

5. Check the account (assistant)

List the websites the key can manage. It returns only your own.

curl -s -H "X-API-Key: $ONEFATHOM_KEY" \
  https://plesk.onefathom.com:8443/api/v2/domains

6. Upload the site (assistant)

Create an upload account limited to the website folder

This account can read and write inside httpdocs of this website and nowhere else. Choose a strong password.

curl -s -H "X-API-Key: $ONEFATHOM_KEY" \
  -H 'Content-Type: application/json' \
  -X POST https://plesk.onefathom.com:8443/api/v2/ftpusers \
  -d '{"name":"deploy_yourdomain","password":"A-STRONG-PASSWORD","home":"/httpdocs","parent_domain":{"name":"yourdomain.com"}}'

Upload one file

curl --ssl-reqd --user "$FTP_USER:$FTP_PASS" \
  -T index.html ftp://plesk.onefathom.com/index.html

Upload a whole folder

Run this inside the folder that holds the site. It keeps the folder structure and creates folders as needed.

find . -type f | while IFS= read -r f; do
  curl -sS --ssl-reqd --ftp-create-dirs --user "$FTP_USER:$FTP_PASS" \
    -T "$f" "ftp://plesk.onefathom.com/$(printf '%s' "${f#./}" | sed 's/ /%20/g')"
done

Use the host plesk.onefathom.com, not your own domain: the server's security certificate is issued for that name, and --ssl-reqd will refuse a name that does not match.

Remove the upload account when finished

curl -s -H "X-API-Key: $ONEFATHOM_KEY" \
  -X DELETE https://plesk.onefathom.com:8443/api/v2/ftpusers/deploy_yourdomain

7. Or deploy with Git

Git deployment is included on every plan. The repository is created once in Plesk, by you.

  1. In Plesk, open Websites & Domains. On your domain's Dashboard tab click Git, then Add Repository.
  2. Choose Local repository, give it a name (for example site.git), leave the deployment mode on Automatic and the deployment directory on /httpdocs, then click Create. Plesk then shows the repository's address.
  3. After the first push, go back to Git in Plesk and pick the branch to deploy under Branch (for example main). From then on every push goes live automatically.

Then, from the folder that holds the site, using the address Plesk shows for the repository:

git remote add onefathom https://yourdomain.com/plesk-git/site.git
git push onefathom main

Git asks for the website's system username and password, shown in Plesk on the Dashboard tab under Connection Info. The SSL certificate from step 4 must be installed first, because the push goes over HTTPS to your own domain.

8. Confirm the site is up (assistant)

curl -sS -o /dev/null -w '%{http_code} %{ssl_verify_result}\n' https://yourdomain.com/

A healthy site prints 200 0: the page loaded and the certificate is valid. To see the first line of the response:

curl -sI https://yourdomain.com/ | head -1
You seeLikely cause
Could not resolve hostThe domain does not point anywhere yet (step 3)
A certificate errorThe SSL certificate is not installed yet; wait up to an hour or install it now (step 4)
403No index.html or index.php in httpdocs
404The file was uploaded to a different folder or name
500An error in the site's code or its .htaccess; see Logs on the domain in Plesk

What needs a person

Stuck at any step? Contact support; a person will answer.