MYaseen208
MYaseen208

Reputation: 23898

Removing Custom Domain in Github

I want to remove custom Domain from Github. Any help, please.

enter image description here

Actually I want get https://myaseen208.github.io/DiallelAnalysisR/ rather than http://www.myaseen208.com/DiallelAnalysisR/ as given the following picture.

enter image description here

Upvotes: 8

Views: 5317

Answers (4)

Shoaib Khalil
Shoaib Khalil

Reputation: 2402

If you want your user name's GitHub domain back which automatically comes from your {username}.github.io repo then simply empty the custom domain input field and enter a space in the custom domain field in order to activate the save button as the save button will not let you save until the field is empty.

Hit save & your page will reload and you will see your static site live on your Github username domain.

enter image description here

Upvotes: 0

Khurram Shahrukh
Khurram Shahrukh

Reputation: 21

I was having the same issue. I resolved it by emptying the custom domain field, then entering a space in the same field so that you can activate the save button (Note: the save button will not let you save if the field is empty).

After you hit save, your page will reload and you will be able to see this again

Custom domain removed

Upvotes: 2

VonC
VonC

Reputation: 1323883

As illustrated in isaacs/github issue 1213 (which shows a similar problem), you should have a CNAME file

But not in: github.com/MYaseen208/DiallelAnalysisR

In the repo github.com/myaseen208/myaseen208.github.io (same as in the issue 1213): this CNAME file, which does include:

www.myaseen208.com

Apparently your user's GitHub domain automatically comes from your {username}.github.io repo

Start by removing that file, and see if that changes anything (wait a bit, and clear your browser local cache)

Upvotes: 8

user9719560
user9719560

Reputation:

Delete the content of the text box and press “Save”

Upvotes: 0

Related Questions