![]() |
| Host Site on GitHub with Custom Domain | IndianTechnoEra |
Create subdomain
How to create subdomain of godaddy?
Go to godaddy and login
Go to your registered domain
Select Domain Edit Options next to your domain and
then select Edit DNS scroll down to see the Edit DNS option.
Click on Add to add new record
Select A for sub domain (CNAME for github)
Enter details as follow
Name: mynewcustomdomain.mydomain.in
Value: IP address (profile.github.io)
TTL: Keep default or change
Host custom domain on github
How to host project with custom domain on github server?
Goto github
Create repo
Add index.html or your project
Add new file with name CNAME and paste full subdomain (mynewcustomdomain.mydomain.in) and commit
Change branch with gh-pages
Goto Settings > pages > get your project hosted link
If not then scroll down and check your sub domain
