Custom Domain already taken error in Github - github-pages

I am trying to add my custom domain for github pages but it is continuously giving error that the Domain is already taken. I have already verified my custom domain on github with TXT DNS entry. But as soon as I add github IPs in A DNS entry, it starts pointing to some other project that is not mine. I also tried adding CNAME entry.

I also faced the same issue. As pointed out by GitHub Support:
This error generally occurs when a custom domain has previously been owned by another GitHub user, or the domain has been added to a GitHub repository in error.
After domain verification, it takes almost 7 days to remove it from its current repository.
If you want to get it released before that, you can contact
GitHub Support

Related

How to remove repository name from a custom domain hosted in Github Pages?

I have made a NameCheap domain and linked it to GitHub pages properly.
If the site is live at a.me/resume, how can I make it just a.me and remove the repository's name from the url?
Open the repository and go to settings - pages - scroll down to the custom domain section and enter your custom domain and click save. You'll want to delete the old CNAME because when you save the custom domain it should create a new CNAME automatically.
I would also recommend verifying the custom domain you want to use with GitHub if you haven't already done so as a preventative measure to discourage domain squatters from using it. For that you'll just need to go to your account settings - pages - add a domain.
In order to verify the custom domain with GitHub, you'll need to add the verification code they give you to your DNS configuration as a TXT file.
https://docs.github.com/en/pages/configuring-a-custom-domain-for-your-github-pages-site/verifying-your-custom-domain-for-github-pages

cannot publish my github page at the correct address

I am trying to set up my personal page on Github.
However, my page is only published at: https://xuxy09.github.io/xuxy09/, while the desired address is https://xuxy09.github.io.
Could you please let me know how to fix this?
Issue addressed. The repository name should be "xuxy09.github.io" instead of "xuxy09".
That is described in "Types of GitHub Pages sites"
To publish a user site, you must create a repository owned by your user account that's named <username>.github.io.
Unless you're using a custom domain, project sites are available at http(s)://<username>.github.io/<repository>
In your case, a repo named xuxy09 is a Project site.
While xuxy09.github.io would be, indeed, a User site.

Why is my github pages not displaying for all users?

I made a portfolio website using a Jekyll template in Github Pages. 16 hours or so ago, I connected the Github pages site to a personal domain I purchased. I did so by creating a CNAME folder in the Pages repository and adding this CNAME as well as a few A variables to the DNS records with my domain provider (Domain.com) An hour or so after making these DNS changes, Github pages said my site was published on the new domain.
I shared the link to my new website with a few people. Several of them were able to access it without any issue; however, some reported that they received an empty white page when arriving to the site or a generic page with messaging along the lines of 'this domain hasn't been set up.' The failure to see the site seems to have no pattern across browser or device.
For me personally, I was able to see the site last night but this morning after deploying some new changes, I couldn't see the site for 30 minutes or so, until it suddenly worked again. During the time I couldn't see it, other friends reported that they were able to view it.
Any idea why this might be happening? I'm brand new to this stuff and I can't figure it out.
You could use dnsmap.io and check if the CNAME propagation is complete or still in progress.
You can see more at "Why are my CNAME Records not propagating?": that would explain the empty white page.
That being said, this could also be affected by an GitHub incident currently pending.

How to test my website on PythonAnywhere before setting up my CNAME?

I've gotten part way through deploying my new webapp on PythonAnywhere, and currently it's got the 'Coming Soon' place holder.
When I refresh the app from the web tab it tells me I need to set the CNAME,and from what I remember that involves redirecting from my Domain Service (Gandi in this case).
There is a problem with your domain name configuration. Take a look at the DNS setup section below for details. Be aware that DNS changes can take some time to propagate across the internet. The exact time they take will depend on your domain configuration, but it could be as long as a day.
You domain's current CNAME is webredir.vip.gandi.net. Check this help page for more information about how to set it up correctly.
I don't want to do that yet.
What I want is to 'preview' my page at webapp-XXXXXX.pythonanywhere.com before it goes live.
This suggests that I:
add a line with the IP address you got from the previous step, then a tab, then the host name you've set up the web app with in PythonAnywhere.
But I've not found that to work, and besides, how would that let me see what's hosted online? It would just let me access it via a different URL.
Here what I added to my hosts file:
50.19.109.98 webapp-206115.pythonanywhere.com/
How can I test my website on PythonAnywhere before setting up my CNAME?
The easiest solution i found for this is to rename the webapp to <username>.pythonanywhere.com. Thats the default for the free subscription and it still works for me after i change to a payed plan. But i dont know if this is because i already had registered a webapp under this name or if this always works.

package domain, role and user on sitecore

I am new to sitecore.
I have a question regarding packaging Domain and Roles on sitecore (we are using sitecore 6.3.1).
I am packaging content from our dev box to stage and I would like to transfer the Domain, Roles and user created on dev to stage.
The package designer shows a button called 'Security Accounts'. I added the specific user \ who belong to the specific domain and role.
On installing the package to stage site, it throws an error 'blah domain not found, cannot create user'.
So the question is, do i have to create a domain manually on the stage server before I install the user? or is there a way where I can copy the domain and roles to create the user?
Help much appreciated.
I have discovered that the domains are stored in /App_Config/Security/Domains.config and you can migrate between installations simply by copying or editing this file.
Or you can create the domains manually via the Security Domain tool.
Either way the domain must exist before you can install a package with users or roles.
If your target solution doesn't have the domain the user lives in, you'll have to create it manually. However, the roles can be transferred via package the same way as users. If the user A is in role B, and you don't add role B to the package, there should not be any error - simply the user A won't be a member of the role B on target environment.
I would think the answer Yan comes with would work with domains.
But you might need to have the Domain(s) in a package which you install first, or have it as the first "part" of your package, so it gets installed first.