Setting up Codeberg Pages with an ill.my.id subdomain
This guide will walk you through the process of setting up a Codeberg Pages website and pointing your ill.my.id subdomain to it.
Create a Codeberg Pages Website
First, you’ll need to create a website on Codeberg Pages. Follow the instructions in the Codeberg Pages Guide.
Create the Domain File
Create a JSON file inside domains directory (domains/subdomain.json) with the following content and submit a pull request:
{
"owner": {
"username": "your-codeberg-username",
"email": "your-email@example.com"
},
"records": {
"CNAME": "pages.your-codeberg-username.codeberg.page"
}
}Add .domains file
Once your PR is merged, Make a .domains file to point your website to your new .ill.my.id domain and add your subdomain (your-subdomain.ill.my.id) to it.
Done!
If you’ve followed everything correctly your website should be live :)