It redirects, so... yeah.
-
After forking the repository, go to Settings > Pages.
-
Select the following settings:
- Source: Deploy from a branch
- Branch:
main, with/(root)directory.
-
Hit 'Save'. The 'Custom domain' section should automatically pick up the subdomain from the
CNAMEfile. -
Now, add a DNS record for your domain with the following:
- Type: CNAME
- Name:
YOUR_SUBDOMAIN(ex:redirectforredirect.mitblr.club) - Value:
mitblr-club.github.io
Now, after saving the record and waiting for changes to kick in, GitHub Pages should redirect to your required page.