Pretty simple.
Find a static site hosting service GitHub Pages, Vercel, Netlify, or etc and create your site.
According to the existing GitHub Pages URL (for http://foo.github.io/bar, either "foo.merahputih.moe" or "bar.merahputih.moe" would be possible).
Add a file named "CNAME" to your root directory of your repository (or in the "gh-pages" branch, if you use that) with a single line matching the domain you have chosen (e.g. "foo.merahputih.moe" without quotes). For more info about this step you can follow the Custom URLs section at GitHub Pages Help.
+ foo.merahputih.moe
To finish the procedure, make a pull request in our [GitHub repository][https://github.com/ScathachGrip/merahputih.moe] that adds your subdomain to the list of existing merahputih.moe domains. Your new URL should go live within 24 hours (keep an eye on your pull request in case of a naming conflict or a question from our side).
import { ICnames } from "./interfaces";
export const data: ICnames = {
active: {
"bar": "scathachgrip.github.io/bar",
"foo": "scathachgrip.github.io/foo", // noProxied
// add here as alphabetical order
}
};
If your site throwing an error such as ERR_TOO_MANY_REDIRECTS
kindly disable proxied by marking your cnames with //noProxied
comment.
Our subdomain are CNAME
records which map one domain name to another. You can
actually point your merahputih.moe to many different services that allow custom domain.
As the owner of the repository, you keep complete control over your published content. That also means that all rights and duties that come along with publishing a GitHub Page (e.g. GDPR) remain in your responsibility.