0

I have a GitHub pages website and I want redirect it to custom domain. I have added Custom domain in the GitHub pages and A records in the Domain provider and am trying to add CNAME it is not accepting the CNAME: which is https://org-name.github.io/website/

If its a simple repository then I can simply customize the domain by simply pointing it to the CNAME. But Repository Should in the Organization.it is a repository in the GitHub Org and I don't want to create a separate repository.

ImranShaik
  • 33
  • 1
  • 9
  • I don't get what exactly the problem is, but I can tell: you can't point a CNAME into a path. See this Stack Overflow post for more details: https://stackoverflow.com/questions/9444055/using-dns-to-redirect-to-another-url-with-a-path – Omar El Hussein Jun 24 '22 at 14:36

1 Answers1

0

I got the solution If we point CNAME with org-github.io it will worked.

ImranShaik
  • 33
  • 1
  • 9
  • Your answer could be improved with additional supporting information. Please [edit] to add further details, such as citations or documentation, so that others can confirm that your answer is correct. You can find more information on how to write good answers [in the help center](/help/how-to-answer). – Community Jun 28 '22 at 16:19