balloon_head
balloon_head
balloon_head
balloon_head

Host static websites on lunar.page

from public repositories on git.pub.solar

Set up your repository

Create a public repository named pages to make the site available as a subdomain: USERNAME.lunar.page.

Note: Using dots . in usernames, repository or branch names is not supported. Please use a dash - instead.


or branch

Create a branch pages in a public repository:

git switch --orphan pages
git rm --cached -r .
Upload your static files

Push your static content, HTML, style, fonts, images or anything else.

You're done!

Access your new website using this link:

https://USERNAME.lunar.page[/REPOSITORY][/@BRANCH]

or custom domain

To use a custom domain, create a file .domains with the domain name you wish to use and commit it to your repository.

echo 'bar.example.com' > .domains

For subdomains, add a DNS CNAME record for that domain:

NAME              TYPE   VALUE
--------------------------------------------------
bar.example.com.  CNAME  [[branch.]repo.]user.lunar.page.

For apex domains where CNAME does not work:

echo 'example.com' > .domains
NAME              TYPE   VALUE
--------------------------------------------------
example.com.      ALIAS  lunar.page.
example.com.      TXT    [[branch.]repo.]user.lunar.page

If ALIAS isn’t supported, use add the TXT record as described above, and use A + AAAA records as following:

NAME              TYPE   VALUE
--------------------------------------------------
example.com.      A      85.215.152.22
example.com.      AAAA   2a01:239:35d:f500::1

Hosted with ❤️ by pub.solar, with Codeberg Pages