1

I recently set up a small site with GitHub pages. I registered it on google search console and it was going well. I registered for a free domain ".tk" but that wasn't what I wanted so I cancelled it. Now when you search for my website you find the .tk domain(even though I cancelled it) and it doesn't bring you to my website.

How can I get the domain to point to my site?

2 Answers 2

0

.tk domains are very nasty, and often carry bad reputation for themselves. It would be better to ask your domain for cancellation to your host or redirecting it somewhere else.

As for the github, you need to make clone your repo with the name 'gh-pages' and add a text file 'CNAME' with your domain name on it, github will set the rest itself. Though you need to configure the domain seeing at your domain provide.

1
  • While not prohibited, it's considered bad form to ask someone to accept your answer. It's best to let the OP decide for themselves.
    – jonsca
    Commented Aug 13, 2016 at 21:42
-3

To setup custom domain there is a one more option to add domain in the Github setting.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.