Replies: 3 comments
-
This cannot be done I'm afraid, you will need to buy a custom domain. This is likely to prevent certain common addresses from being reserved, or to prevent users from creating too many websites under one account. |
Beta Was this translation helpful? Give feedback.
-
To change your GitHub Pages site from username.github.io/repo-name to repo-name.github.io, you need to create a new repository named exactly repo-name.github.io. Here’s how to make the switch:
Go to your GitHub account and create a new repository with the name repo-name.github.io. 2 . Move Your Project Files: Move all the files from your old repository (username.github.io/repo-name) to the new one (repo-name.github.io).
Go to the Settings tab in the new repository (repo-name.github.io).
|
Beta Was this translation helpful? Give feedback.
-
To change your GitHub Pages website URL from username.github.io/repo-name to repo-name.github.io, you need to follow these steps: Steps to Set Up repo-name.github.io: Go to your GitHub account and create a new repository named repo-name.github.io. If your website's files are currently in username.github.io/repo-name, you’ll need to move the content to the new repository. After copying the files, push them to the newly created repo-name.github.io repository. Go to the Settings of your new repo-name.github.io repository. Once the changes are pushed and settings updated, your site will be live at https://repo-name.github.io. |
Beta Was this translation helpful? Give feedback.
-
Select Topic Area
Question
Body
At the moment my webiste is called username.github.io/repo-name and i want to know how to change it to repo-name.github.io
Any Help Is Appreciated
Beta Was this translation helpful? Give feedback.
All reactions