slides: completed slides

This commit is contained in:
silver 2024-04-02 23:39:45 +01:00
parent ed866b74e3
commit ceb346fe8e
3 changed files with 165 additions and 9 deletions

View file

@ -1,7 +1,7 @@
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
title = "Domains, DNS, oh no"
date = 2024-04-03
slides = false
slides = true
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
# Domains, DNS, oh no
@ -48,6 +48,10 @@ There are many domain hosts to go for
-------------------------------------------------------------------------
And prices range from €1/year to €infinity/year
-------------------------------------------------------------------------
* .ie
* .com
* .tk
@ -75,6 +79,14 @@ I am going to focus on .ie
-------------------------------------------------------------------------
These will set ye back ~€7 for the first year.
-------------------------------------------------------------------------
Then €30 for every year afterwards
-------------------------------------------------------------------------
Enter your perfect domain name into the big box
-------------------------------------------------------------------------
@ -82,14 +94,152 @@ Enter your perfect domain name into the big box
![img.png](1_domains/img01.png)
-------------------------------------------------------------------------
-------------------------------------------------------------------------
-------------------------------------------------------------------------
-------------------------------------------------------------------------
-------------------------------------------------------------------------
-------------------------------------------------------------------------
-------------------------------------------------------------------------
-------------------------------------------------------------------------
-------------------------------------------------------------------------
It will then show ye a list of options
-------------------------------------------------------------------------
![img.png](1_domains/img02.png)
-------------------------------------------------------------------------
Select one, add it to the cart
-------------------------------------------------------------------------
In the config select ``I'm hosting my website somewhere else``
-------------------------------------------------------------------------
Then add these two as nameservers:
* ``nadia.ns.cloudflare.com``
* ``neil.ns.cloudflare.com``
Press ``Update`` then ``Checkout`` for payment
-------------------------------------------------------------------------
You will verify that ye have a connection to Ireland
-------------------------------------------------------------------------
Your Student ID will work for this
-------------------------------------------------------------------------
Couldnt find a name that suited you in ASCII text?
-------------------------------------------------------------------------
Have no fear!
-------------------------------------------------------------------------
## Punycode to the rescue!
-------------------------------------------------------------------------
Say you want ``brendán.ie``
-------------------------------------------------------------------------
But because of the ``á`` it is not a "normal" domain.
-------------------------------------------------------------------------
Go to <<https://www.punycoder.com/>> and enter in your special domain
-------------------------------------------------------------------------
Boom: ``xn--brendn-tta.ie``
-------------------------------------------------------------------------
Or say ye wanted to go wild and have an Ogham domain name?
-------------------------------------------------------------------------
``ᚁᚏᚓᚅᚇᚐᚅ.com`` for example (brendan in Ogham)
(if corrupted see source document [here][0])
[0]: https://gitlab.skynet.ie/compsoc1/compsoc/presentations/presentations/-/blob/main/src/slides/compsoc/1_domains-dns-oh-no.md?ref_type=heads&plain=1#L154
-------------------------------------------------------------------------
``ᚁᚏᚓᚅᚇᚐᚅ.com`` becomes ``xn--7ueiah2bis.com``
-------------------------------------------------------------------------
Magic!
-------------------------------------------------------------------------
And congrats! You now have a domain.
-------------------------------------------------------------------------
As we saw in the earlier slides a domain points to an IP address.
-------------------------------------------------------------------------
Ye can point your domain to another domain.
-------------------------------------------------------------------------
These go to the same location
* <<https://brendan.ie>>
* <<https://brendan.coffee>>
-------------------------------------------------------------------------
So anyone in CS4116 would love to point
<<https://hi-conor-ryan-give-me-a1.ie>>
To their InfinityFree instance
-------------------------------------------------------------------------
## For that we need DNS
InfinityFree has their own [(good) docs][1] for this.
But I prefer to use [CNAME for this][2]
[1]: https://forum.infinityfree.com/docs?topic=49232
[2]: https://forum.infinityfree.com/docs?topic=87420
-------------------------------------------------------------------------
Cloudflare is one of teh best DNS providers
-------------------------------------------------------------------------
<<https://cloudflare.com>>
-------------------------------------------------------------------------
Signup, you should know how to do this.....
-------------------------------------------------------------------------
On teh homepage select ``Add a site``
![img.png](1_domains/img03.png)
-------------------------------------------------------------------------
Enter in your domain (``hi-conor-ryan-give-me-a1.ie``)
-------------------------------------------------------------------------
Will take little while for it to be activated.
-------------------------------------------------------------------------
So go make a cuppa.
-------------------------------------------------------------------------
If ye are using InfinityFree checkout their [CNAME docs][2]
-------------------------------------------------------------------------
Thats kinda the end of this, it is targeted to CS4116.

BIN
src/slides/compsoc/1_domains/img02.png (Stored with Git LFS) Normal file

Binary file not shown.

BIN
src/slides/compsoc/1_domains/img03.png (Stored with Git LFS) Normal file

Binary file not shown.