Yes, including a custom domain on the free plan
Yes. Write the pages in a GitHub repository from your phone’s browser, then publish them from the iOS app or the Android app as a static site. The site gets an HTTPS address right away. You can attach your own domain on every plan, including free Spark, by adding two DNS records at your domain provider.
Publish the first page
- On github.com, create a repository, public or private, with an
index.htmlfile. - In the Bothosting app, tap New deployment, choose Website and pick Static site.
- Open Deploy and connect the repository and branch.
- Tap Start, then open Domains and copy the HTTPS address. Open it in your browser.
<!doctype html>
<html lang="en">
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Riverside Chess Club</title>
<h1>Riverside Chess Club</h1>
<p>We meet every Thursday at 7 pm.</p>
</html>The viewport line makes the page readable on phones. To change a page later, edit it on GitHub. With the push webhook added on the website, each commit republishes the site. Without it, tap Pull latest and redeploy. For small fixes, edit the published file in the app’s Files screen and save.
Attach your domain
In the app, open Domains and add a hostname you control, such as www.example.com. Add the TXT record and the CNAME shown there at your DNS provider. Most providers have a mobile site or app. When both records are visible, check DNS again in the app. Your email records don’t need to change. Connecting a domain without moving email and custom domain setup.
Built sites and PHP
A React or Vite site needs a build step, and that is easier on a computer. The Built frontend profile serves dist/index.html once the build output is in place. A PHP site uses the PHP site profile. See deploying a Vite build and PHP or static hosting.