-
-
Notifications
You must be signed in to change notification settings - Fork 54
GitHub Pages
-
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.
-
Create a new repository named
username.github.io
ororganization.github.io
, whereusername
is your GitHub username andorganization
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 beexample.rweb.site/MyProject
.