Choose how you’ll host your website

Cloudflare Workers

You’ll need a computer with Node.js 22.13 or newer and npm, a Cloudflare account you control, and a password manager. A custom domain is optional.

Run the installer on your computer, sign in to Cloudflare, and deploy. Connect your custom domain when you’re ready.

Cloudflare installation steps

PHP hosting

You’ll need PHP 8.1 or newer with uploads enabled, HTTPS, file upload access, and hosting that honors the package’s .htaccess rules. PHP support alone doesn’t guarantee compatibility.

Upload the package to the public folder for your domain and complete setup in your browser.

PHP installation steps

Install on Cloudflare Workers

  1. Prepare your computer and account. Install Node.js with npm. In a terminal, check node --version and npm --version. Have access to the Cloudflare account that will own the site. You can test the new site before changing your domain or email settings.
  2. Extract and start the installer. Extract the whole ZIP and open the folder containing START HERE.md. On Windows, double-click Install Your Alt Site.cmd and leave the launcher window open. On macOS or Linux, open a terminal in that folder and run node scripts/install-customer-gui.mjs. In the installer tab, choose Start setup.
  3. Sign in and choose an account. Approve Wrangler access in the Cloudflare browser tab, then return to the installer. Choose Use this account if the displayed account is correct. If several are available, select the account you want and choose Continue. Follow Cloudflare’s prompt if you need to set up a workers.dev subdomain.
  4. Choose the site and Worker names. Enter your Business or site name. Review the suggested Worker name and choose an unused name for a new site. Use lowercase letters, numbers, and hyphens. Verify the account and destination, then select Continue to setup key.
  5. Save the key and deploy. Save the installer’s setup key, also called the owner key, in your password manager. Choose I saved the key. Install my site. Wait for the install to finish and keep the HTTPS address it shows.
  6. Verify the editor. Choose Open my editor or add /admin to the new address. Use your key to sign in and set your own editor password when prompted. Keep the key for password recovery. Save and preview your first draft. The homepage may show a 404 until you publish.
Cloudflare installer troubleshooting

If the launcher can’t find Node or npm, reopen your terminal after installation and recheck their versions. If sign-in stalls, finish authorization in the browser and return to the installer tab. If a Worker name is taken, pick an unused name. Keep the exact error message if deployment fails.

Connect a custom domain to Cloudflare

  1. Pick the exact hostname. Decide whether to use your root domain, www, or a subdomain. If an existing site is live, test on a spare subdomain or plan the switch before replacing its DNS entry.
  2. Check where DNS is managed. If the domain is already active in the right Cloudflare account, skip the nameserver change. If you’re moving DNS to Cloudflare using its full setup, add the domain first and switch to Cloudflare’s assigned nameservers at your registrar after reviewing the imported DNS records.
  3. Preserve email and other services. Save a copy of the existing DNS records. Verify that the new zone has the mail provider’s MX records and email-related TXT or CNAME records, including SPF, DKIM and DMARC where used. Check records for other services, too. Follow Cloudflare’s migration guidance if DNSSEC is enabled. Wait for the zone to show Active.
  4. Attach the hostname. In Workers & Pages, select your Worker. Under Settings → Domains & Routes → Add → Custom Domain, enter the exact hostname and confirm. Cloudflare creates the record and provisions HTTPS. Configure or redirect www separately if you want both addresses to work.
  5. Verify HTTPS. Once the certificate is ready, use a private browser window to open the new HTTPS address. Check the published homepage, images, navigation and contact links. Visit /admin on the new hostname and sign in again. Test both hostnames if you advertise both.
DNS conflicts and certificate troubleshooting

If there’s a conflicting record, check what it serves before replacing it. If the Worker address works but the custom address doesn’t, confirm the zone is active, the exact hostname is attached to the right Worker, and the certificate has finished provisioning. If the browser shows a security warning, check the DNS and certificate status before signing in.

Cloudflare nameserver setup and Cloudflare Worker custom domains

Install on PHP hosting

  1. Check the plan with your host. Confirm PHP 8.1 or newer, uploads enabled, HTTPS, a file manager or secure file transfer, and support for the package’s routing and access protection rules in both .htaccess files. Apache or Apache-compatible hosting is a starting point. PHP alone is insufficient. The package stores site data in files, so a separate database is unnecessary.
  2. Find the document root. Add your domain or subdomain in the hosting panel and find the public website folder assigned to that exact hostname. It might be named public_html, htdocs, or something specific to the site. Back up old files before replacing anything.
  3. Connect the domain and enable HTTPS. Use the DNS records your host provides and change them wherever your DNS is managed. Preserve email and unrelated records. Test on a spare subdomain if you already have a live site. Wait for a valid HTTPS certificate before using the setup page.
  4. Extract the ZIP and prepare a private setup key. If you have a unique setup key, use it. If the ZIP contains a default key, open yas-private/setup-key.php in a plain text editor before uploading, replace only the value after code: with 24 random letters or numbers, and keep it in your password manager. Leave the rest of the file intact.
  5. Upload the contents to the website root. Upload the files and folders inside the extracted package, so setup.php is directly in the document root. An extra enclosing ZIP folder will put it at the wrong address. Turn on Show hidden files in your upload tool. Check for setup.php, index.php, assets/, src/, and yas-private/. Keep both .htaccess and yas-private/.htaccess.
  6. Open setup and let it check storage. Visit https://example.com/setup.php using your own hostname. Enter the Setup key and choose Continue. Setup tries to store private data outside the document root. If it must use a directory inside the site, it verifies that the host blocks direct access. Keep JavaScript enabled and wait for any checks to finish. If protection can’t be verified, ask your host before continuing.
  7. Create the editor password and verify the site. Use a unique admin password of at least 12 characters, distinct from the setup key. Choose Create admin account, sign in at /admin, and save and preview your first draft. Publish when ready. If you tested on a temporary hostname, verify that the final hostname has HTTPS, points to the intended website folder, and opens both the public site and /admin.
PHP 404 and storage troubleshooting

/setup.php returns 404. Verify the hostname points to the right host, the file sits directly in that hostname’s document root, and the spelling and case match.

Setup opens but /admin returns 404. Verify the root .htaccess uploaded and ask the host whether the plan supports the package’s rewrite rules.

Setup reports a write or protection error. Restore the original hidden files and use the PHP error log if available. Ask the host to check write access for the required storage location and whether the protection rules are applied. Ask about a private storage path if the automatic choice is unavailable.

Backups before upgrades or moves

Back up the website files and the private data directory, including images and published revisions. Store the backup outside the public folder. Ask your host how to include a private directory that sits outside the document root.

How you’ll edit your site

  1. Sign in. Add /admin to your site address and sign in with your editor password. Bookmark that address.
  2. Update your business and photos. Open Business details for your business name, logo, contact information, hours, and service area. To replace a photo, open its section, choose a new image in the upload field, and add alt text if the field is available. Check the crop in preview.
  3. Update services or products. Open Services and use Showcase type to choose which list to display. Both lists stay saved when you switch. A product can have a photo, description, optional price, and optional button link. If an entry doesn’t appear, check the display count in Layouts.
  4. Save, preview, and publish. Save draft keeps the edits private. Preview saved draft opens a private preview and saves pending edits when needed. Publish makes the saved draft live. Use View published or a private browser window to check the public result.
  5. Restore an earlier published version. Open Published revisions, find the version by date, and choose Restore revision. Confirm when you’re ready for that version’s text and images to go live. Your current saved draft stays available.

Example. To change Saturday hours, open Business details, edit Opening hours, and select Save draft. In Preview saved draft, check where the hours appear. Then select Publish and confirm the change with View published.

Before your first publish

Replace sample content, check the site on a phone, and try the navigation and contact button. If you embedded a contact form, test where the submission goes. A preview can send a real form response.

Want help choosing?

Contact us about hosting compatibility. Tell us your provider and plan, and include the exact error if you’ve started setup. Keep passwords and setup keys private.

Prefer to have us handle setup? See Installed for You.