Github pages URL keeps redirecting to old, deleted custom domain - github

i host my jekyll blog on github and used to use a custom apex domain for it and that worked just fine.
Yesterday i wanted to discontinue the domain and go back to the standard .github.io adress, so i deleted the DNS Entrys on Namecheap and the custom domain entry in the github repo settings under "Pages" (also made sure the CNAME file is gone, i even deleted the whole repo and set it up from scratch) but still the .github.io Adress redirects to my old custom domain and shows a 404.
Is there a way to solve this?
I can think of trying to assign a new custom domain, but i dont have one right now and just want to use the standard domain for now.

Related

Custom domain on GitHub Pages not working properly

I purchased a domain on NameCheap, and followed a step-by-step guide to configure it with GitHub Pages (I'm pretty new to all of this).
But my GitHub page is not using the custom domain even after configured
The first step was to configure the 4 A records and the CNAME with my username in github:
After that I went to the repository that has my username and set up GitHub Pages, and then added my custom domain:
So far, everything worked perfectly, he re-deployed and added a CNAME file to the master branch
But when I try to use GitHub Pages in other repositories, it still gets the old domain (username.github.io)
What I really wanted was for this project to be in custom.domain/project-name
Any light on what I'm doing wrong?
I didn't find anything different from what I did looking at the official documentation
**Of course I didn't use these names from the images, I just removed the original name.

After setting up my own domain on Github Pages, I get an InvalidDNSError

Phenomena
After setting up my own domain on Github Pages, I get an InvalidDNSError.
The following message will appear
"Both www.example.work and its alternate name are improperly configured
Domain's DNS record could not be retrieved. For more information, see Learn more (InvalidDNSError). We recommend you change this to a CNAME record pointing to username.github.io."
Expected value
I want to publish a website using github pages on my own domain.
From your question, I assume that you are added www.example.work as custom domain in the github pages section and you might be missed the DNS settings part.
After adding custom domain in github pages, you need to setup a CNAME and 4 A record under the DNS settings of you custom domain.
you can find the detailed steps here in the official documentation of github.
You need to change your domain DNS to CNAME and try again.
as a Name you type www and in the target URL form, GitHub link.
I ran into this as well. After double checking the DNS with dig and continuing to get the same error, I removed the custom DNS on the GitHub Pages Settings form (using the "Remove" button) and then re-added it. That cleared the error for me.

How to remove custom domain from github pages

I integrated a custom domain from namecheap.com but now when I am trying to do default github pages hosting this domain name is coming (anuragportfolio.me) in between the full domain name. Previously it was coming as https://anurag30112003.github.io/Portfolio.github.io/. How to remove it or restore to default?
You need remove anuragportfolio/anuragportfolio.github.io repo that include the cname.

I am getting a warning for the website deployed via Github pages that uses a custom domain. how do i get around it?

Problem:
I am getting below warning on github pages. However, my custom domain http://www.dilipagheda.com still works.
I am curious why i am getting this warning and do i need to address it? if yes, how?
Error:
The custom domain for your GitHub Pages site is pointed at an outdated IP address. You must update your site's DNS records if you'd like it to be available via your custom domain
I'm not 100% sure why it still works (maybe they're phasing people out to the new addresses?) but here's how to fix it.
Go to your domain registrar, where you have previously set up your DNS records. You need to update your A records to the new ones provided by github. Right now they are:
185.199.108.153
185.199.109.153
185.199.110.153
185.199.111.153
After that, you need to delete and re-add your custom domain in the repo settings. I got these IP addresses and instructions here in the github documentation.

Github page redirects to custom domain

I have Github Pages Site setup at doshisid.github.io. But it gets redirected to sid.sh. I have one another domain which points to the same GitHub page and it works fine (doshisid.com). But the default domain provided by GitHub doesn't. I can't figure out how is the default domain getting redirected to a custom domain.
whatever domain you want in there; inside the repo create a new file CNAME and then add the domain name like www.xyz.com .This will solve your problem probably.