Host static websites with Codeberg Pages!

It's quick, easy, free & fast - just put your open source project's homepage, personal blog or almost anything else into a Git repository at Codeberg, and we'll do the rest.

1 Set up your repository

Create a public repository named pages to make the site available at the main subdomain.


Create a branch pages in a repository:
git checkout --orphan pages
git rm --cached -r .

2 Upload your files

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

3 You're done!

Access your new website using this link:[/REPOSITORY][/@BRANCH]


To use a custom domain, create a file .domains in your repository with the domain name to use.

Then, add a DNS record to that domains:
CNAME [[branch.]repo.]

Or for zone roots where CNAME doesn't work:
TXT [[branch.]repo.]

If ALIAS isn't supported, use A & AAAA instead:
AAAA 2001:67c:1401:20f0::1
+ TXT as above