You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Navigate to your GitHub project repository, and click "Settings" in the top bar.
Click "Pages" in the left sidebar.
Type the custom domain in the "Custom domain" area, for example, example.rweb.site, and click "Save".
After that, click "Code" in the top bar.
You'll see a CNAME file was just created in your repository code. This is how GitHub Pages knows which domain to serve your site on. DO NOT delete it.
For a user or an organization
Create a new repository named username.github.io or organization.github.io, where username is your GitHub username and organization is your GitHub organization name.
The rest of the steps are the same as For a single project. Follow the steps above.
Then you can create other repositories, for example, MyProject in your account, and the custom domain for this repository will automatically be example.rweb.site/MyProject.