My github page resends me to a non existing website #181283
-
Select Topic AreaQuestion BodyWhen I go on cribest7890.github.io/ball-clicker/ it resends me to cribestgames.com, but that website does not exist and I'm not using custom domain |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
|
Your GitHub Pages site is redirecting because there's likely a CNAME file in your repository that contains the domain cribestgames.com. This causes GitHub Pages to automatically redirect all visitors to that custom domain. How to Fix This Look for a file named Delete this file - it likely contains the text cribestgames.com Commit the deletion Step 2: Remove Custom Domain from Settings Navigate to Pages (in the left sidebar) Under Custom domain, if there's anything entered, clear the field and click Save Wait 1-2 minutes for the changes to propagate Step 3: Clear Browser Cache Chrome/Edge: Press Firefox: Or try accessing the site in Incognito/Private mode Why This Happened Even if the custom domain doesn't exist or isn't configured properly, GitHub Pages will still attempt the redirect. Verify the Fix Wait 2-3 minutes Visit You should now see your site without any redirect If you still see the redirect after these steps, check if there's any client-side redirect code in your HTML files (look for The CNAME file deletion should resolve your issue immediately ! |
Beta Was this translation helpful? Give feedback.
-
|
It was he browser chace |
Beta Was this translation helpful? Give feedback.
Your GitHub Pages site is redirecting because there's likely a CNAME file in your repository that contains the domain cribestgames.com. This causes GitHub Pages to automatically redirect all visitors to that custom domain.
How to Fix This
Step 1: Delete the
CNAMEFileGo to your repository:
cribest7890/ball-clickerLook for a file named
CNAMEin the root directory (or in your gh-pages branch if that's where your site is hosted)Delete this file - it likely contains the text cribestgames.com
Commit the deletion
Step 2: Remove Custom Domain from Settings
Go to your repository Settings
Navigate to Pages (in the left sidebar)
Under Custom domain, if there's anything entered, clear the field…