Github pages - moving from one account to another

Hi,

I have been hosting my website from an account (say “account1”) with repo (say “repo1.github.io”). The website was hosted on a custom domain (say “www.example.com”).
Now I moved copied my repo1 to a new account (say “account2”) with a new name (say repo2.github.io). I now want to host my website from account2 and repo2.github.io. I followed all the steps as mentioned in the documentation as follows:

  1. Added repo2.github.io for “www.example.com” in the DNS.
  2. Added a CNAME file in repo2.github.io with “www.example.com
  3. deleted CNAME file from “repo1.github.io
  4. verified domain “example.com” in account2.
  5. deleted domain “example.com” from account1.

Even with the above steps, www.example.com was not working and throwing a 404 error from Github pages.
Also, on pages in settings for “repo2.github.io”, when I try to add the domain “www.example.com”, it’s throwing an error saying the domain needs to be verified. But as you can see in step 4, the domain was already verified.

Would really appreciate any help with the above as we are having trouble hosting our website from the new account.

Thanks and Regards.

how long is it when you unlink the domain from account1 ?