isaacs / github

Just a place to track issues and feature requests that I have for github
2.21k stars 129 forks source link

[Bug] Renaming an organization breaks custom GitHub Pages domains #473

Open strugee opened 9 years ago

strugee commented 9 years ago

Steps to reproduce:

  1. Have a working $organization.github.io repository
  2. Have a working apex custom domain, with both @ and www records set in the DNS with A records, with the CNAME file containing the non-www version of the domain
  3. Rename the organization
  4. $organization.github.io will redirect to the custom domain, but at that point the Pages server returns HTTP 404.

Note that forcing a Pages rebuild fixed this issue.

strugee commented 9 years ago

From GitHub Support:

Hi Alex,

Sorry about this. It's a known issue and the only currently solution is to trigger a new page build by pushing another commit to the appropriate branch of the repository. We have an issue open and are working on a fix.

Thanks, James