Domain¶
Buying a domain¶
- free
- https://my.freenom.com
- tested, muy bueno
- https://my.freenom.com
- Google Domain
Changing nameserver¶
Assuming your domain is Google domain and you want to use Cloudfare's nameserver
- Add your domain in Cloudfare
- Make sure the DNS records are correct
- Go to your domain in Google domain
- Disable DNSSEC and wait for a few days until it's truly disabled
- Change the nameservers following Cloudfare's prompt
- See Change your nameservers
- May need to go to your site hosts and reconfigure their custom domains
- Unlock domain in "Registration settings
- Go to Cloudfare
- Enable DNSSEC
Transferring a domain to another registrar¶
Google -> Cloudfare in this example
See Transfer your domain to Cloudflare
- Follow the steps in #Changing nameserver
- Wait for a few hours until it allows you to transfer
Checking domain information¶
All info¶
Some web tools
Propagation¶
See the propagation status of your A, CNAME, TXT, MX, etc. records
Note that if you're using Cloudfare's DNS and has proxy enabled in your CNAME records, they're actually A records pointing to Cloudfare's proxy server IP under the hood, so no CNAME records published and it will be all red on the web tool.
Related threads
- CNAME showing all red Xs on whatsmydns.new | Cloudfare community
- CNAME not being seen by tests, but site working | Cloudfare community
Only DNS info¶
Nameserver info¶
Note that it will not return anything if you dig <subdomain>.<domain>
.
Check TXT record¶
DNS¶
Set up DNS record¶
- for ip
- add a record ->
Type
=A
,Target
=<your target ip>
Name
= whatever, it's your subdomain name
e.g.Name
=www
->www.<domain name>
points toTarget
- can leave it blank
- e.g.
- add a record ->
It may need a couple of hours to fully take effect, and you may see some weird erros in the process, so please be patient. (took about 3 hours for my Google domain to fully work)
Some common errors before it fully takes effect
- can dig & open in Chrome but not ping or open in FIrefox
Setting up a custom domain in Github Page¶
Follow the documentation to set up custom domain to your github page. Here's the high level steps:
- Make sure you own the domain
- Go to Github account settings and verify the domain
- Go to your repo and add the your custom domain
xxx.domain
- Go to your DNS settings and add a CNAME record pointing
xxx.domain
toxxx.github.io
- Wait and be patient
Note that after you add the custom domain for xxx.github.io
, xxx.github.io/repo
will also be redirected to xxx.domain/repo
.
Set different subdomains for different repo
Follow the same steps, and point everything to xxx.github.io
instead of xxx.github.io/repo
Here's mine
Reference