From ceb346fe8e8dfc553fff520de7864e96236e887a Mon Sep 17 00:00:00 2001 From: Brendan Golden Date: Tue, 2 Apr 2024 23:39:45 +0100 Subject: [PATCH] slides: completed slides --- src/slides/compsoc/1_domains-dns-oh-no.md | 168 ++++++++++++++++++++-- src/slides/compsoc/1_domains/img02.png | 3 + src/slides/compsoc/1_domains/img03.png | 3 + 3 files changed, 165 insertions(+), 9 deletions(-) create mode 100644 src/slides/compsoc/1_domains/img02.png create mode 100644 src/slides/compsoc/1_domains/img03.png diff --git a/src/slides/compsoc/1_domains-dns-oh-no.md b/src/slides/compsoc/1_domains-dns-oh-no.md index 2da8353..1ead71a 100644 --- a/src/slides/compsoc/1_domains-dns-oh-no.md +++ b/src/slides/compsoc/1_domains-dns-oh-no.md @@ -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 <> 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 +* <> +* <> + +------------------------------------------------------------------------- + +So anyone in CS4116 would love to point +<> +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 + +------------------------------------------------------------------------- + +<> + +------------------------------------------------------------------------- + +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. \ No newline at end of file diff --git a/src/slides/compsoc/1_domains/img02.png b/src/slides/compsoc/1_domains/img02.png new file mode 100644 index 0000000..c502203 --- /dev/null +++ b/src/slides/compsoc/1_domains/img02.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c357c457df54b1a7525cc94bfcd9fef0679f1c8691894ab996d62b37d2c9ebee +size 120106 diff --git a/src/slides/compsoc/1_domains/img03.png b/src/slides/compsoc/1_domains/img03.png new file mode 100644 index 0000000..60d28a8 --- /dev/null +++ b/src/slides/compsoc/1_domains/img03.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:133d149e7025b452d5640ad67cb04662c61126918f0ca5b1035ea45f6df261dd +size 1008