-
Notifications
You must be signed in to change notification settings - Fork 129
Cannot remove custom domain #1213
Comments
Remove the |
@coliff I can't locate any CNAME in the repo. Pretty sure this was set in settings. Perhaps making a new CNAME of |
Hmm, maybe turn turning GitHub Pages setting off in Settings.. and then turning it back on. it should then show a 'Your site is published at: |
And make sure in the Settings the 'Custom domain' entry box is empty! |
@coliff The box is empty, and when I click the drop down to select a branch for the Pages, the "none" option is disabled. I don't see another way to disable it. Sorry if I'm missing something obvious. |
Strange.. If you have control over the domain name I guess you could set it to NOT point at GitHub then it'd be impossible for it to resolve. Can you tell us the domain name so we can take a look? Is the GitHub repo public? |
@coliff The domain name expired and is currently being squatted by the domain name registrar (perhaps I can buy it back). Also the repo is oknoah/slipstream on the, and data in the www branch. |
ugh, I'm running out of ideas... How about changing the repo name so the URL changes - maybe: |
No joy I’m afraid, simply forwards to myolddomain.com/sliptream_app
… On Apr 16, 2018, at 11:25 PM, Christian Oliff ***@***.***> wrote:
ugh, I'm running out of ideas... How about changing the repo name so the URL changes - maybe:
https://oknoah.github.io/slipstream_app <https://oknoah.github.io/slipstream_app> or whatever.... worth trying.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub <#1213 (comment)>, or mute the thread <https://github.com/notifications/unsubscribe-auth/ADkOjfjXKim_sM5KMsQrv-JimodrqURNks5tpYrwgaJpZM4TH_1f>.
|
Ah! Your user page us: |
Wow, thanks so much for your help, would not have thought of that. Owe you one.
… On Apr 16, 2018, at 11:35 PM, Christian Oliff ***@***.***> wrote:
Ah! Your user page us: oknoah.github.io and there's a repo for that
I found this!
https://github.com/OKNoah/oknoah.github.io/blob/master/CNAME - is has the expired domain name in that.
Can you try removing that?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub <#1213 (comment)>, or mute the thread <https://github.com/notifications/unsubscribe-auth/ADkOjSwiLj-rhM_POxvxdTKA_WBsVEttks5tpY05gaJpZM4TH_1f>.
|
I had the same problem and even when I removed everything that seemed to be connected to the Github Page, redirecting to incorrect website persisted. Turned out that it was due to Chrome cache - after deleting browsing data, the redirection vanished. I just thought it might help someone. |
I was lost without this! Apparently your user's GitHub domain automatically comes from your |
Same issue. |
@KarelWintersky - the CNAME is still on your repo: Delete the CNAME and it'll stop redirecting. |
now it works correct. |
@KarelWintersky you can set the CNAME for a project repo isnside an organization - I've done it before myself for https://caniuse.email at: https://github.com/caniuse-email/caniuse.email/tree/master/docs |
@coliff |
I use (and recommend) https://Cloudflare.com for this. A-records are pointing to GitHub. |
@coliff |
Yes |
@coliff, thank you. I'll try/. |
No way !! I really got fed up with this stupid issue and even thought of migrating to Gitlab lmao Thanks !! |
I have same problem. |
I have deleted the CNAME but it still redirects from the previous domain that I don't have |
worked for me |
I have the same problem. CNAME was deleted. But still my domain https://kons.dev still redirects to Github |
and now I face same problem... still redirecting to expired domain |
Have any of y'all contacted GitHub support (support@github.com, ifF memory serves, or definitely the Support link at bottom of any GitHub page), pointing @ this issue, & then gotten any response? |
tbh.. I already solve my problem. there is a problem with cache in the browser, so the browser keeps redirect domain. but if cache cleared or open in incognito mode it's work fine. And there is a time delay from remove custom domain to become default github pages again. |
Was facing the exact same issue! I had no CNAME file at my repo. Using the above suggestions, what worked for me was that I deleted my cache and it worked like magic. |
Try to remove cache. I disabled cache and re-enabled it and it did the trick. |
if I delete a entire repo with CNAME and everything will it stop redirect too? |
it worked for me I removed the CNAME and it worked. Thanks. |
This is still busted. I added my custom domain name with intention of using it, but then found out Cloudflare charge for resolving using page rules. Now I want to remove it and I just can't. The custom domain box is empty and there is no CNAME file on any of my branches. |
@Gibbo3771 -it might take a little while for the DNS settings to propagate. Double-check the DNS settings in Cloudflare (make sure they aren't pointing to GitHub). |
@coliff I never even got to adding it to Cloudflare. When I go to my pages link, it's redirecting me to my domain. So this is Githubs DNS that is either not propogating properly, or the setting is never removed. |
@coliff |
@coderpranay delete the CNAME from the project if you don't want it there. if you need more help provide more details (maybe repo of your project) |
I had to clear browser cache after I deleted the CNAME file for it to work. |
Interesting. Same issue. I can view the page in incognito, but clearing cache doesn't not seem to do anything, nor does there appear to be any cache data to begin with. |
^ I think I fixed my own issue. Initially, I tried clearing my cache from the developer tools: F12 -> application -> storage -> check cache boxes -> clear site data. This did not work for me. Then, I tried the following method: Chrome -> Clear browsing data... -> Select cached images and files -> clear data. That did the trick for me. |
Wait, is there a way if you have the {name}.github.io set up to not have a project be under that subdomain? I explicitly don't want that for one of my projects, I would much rather prefer the default github page. |
I configured a custom domain on my project and my
github.io
address redirects to it.However, I now need to remove it and return to
github.io
, if possible.How do I prevent github.io from redirecting?
The text was updated successfully, but these errors were encountered: