1
00:00:00,233 --> 00:00:01,825
- [Instructor] Hi and
welcome back to the course.

2
00:00:01,825 --> 00:00:06,199
In this video, we're going to
be setting up our domain name.

3
00:00:06,199 --> 00:00:10,183
A domain name is
essentially just a string.

4
00:00:10,183 --> 00:00:13,224
For example, digitalocean.com

5
00:00:13,224 --> 00:00:14,807
or schoolofcode.me,

6
00:00:15,958 --> 00:00:18,458
they are two separate strings.

7
00:00:19,650 --> 00:00:21,916
The way that domain name system works

8
00:00:21,916 --> 00:00:23,908
is in such a way that it enables us

9
00:00:23,908 --> 00:00:28,075
to map those strings to
locations on the internet.

10
00:00:29,717 --> 00:00:33,892
What that means is once
we've performed this mapping,

11
00:00:33,892 --> 00:00:38,083
our browser will be
able to use that string

12
00:00:38,083 --> 00:00:41,066
to access a particular location,

13
00:00:41,066 --> 00:00:43,283
and that location is the server

14
00:00:43,283 --> 00:00:46,116
in which we have deployed our app.

15
00:00:46,966 --> 00:00:48,458
Now, the location of the server

16
00:00:48,458 --> 00:00:51,125
is determined by its IP address.

17
00:00:52,233 --> 00:00:55,892
So what we're gonna do is
we're going to map a string,

18
00:00:55,892 --> 00:00:58,809
our domain name, to the IP address.

19
00:00:59,667 --> 00:01:01,067
The way we're gonna do that

20
00:01:01,067 --> 00:01:03,891
is by using the domain name system.

21
00:01:03,891 --> 00:01:06,657
The first step in setting up our domain

22
00:01:06,657 --> 00:01:09,240
is we must know our IP address.

23
00:01:11,025 --> 00:01:11,966
Keep note of that.

24
00:01:11,966 --> 00:01:13,441
I'm just gonna copy that.

25
00:01:13,441 --> 00:01:15,558
And then we're going to go over

26
00:01:15,558 --> 00:01:18,725
to a website called www.namecheap.com.

27
00:01:20,900 --> 00:01:23,716
There are many of these
websites on the internet.

28
00:01:23,716 --> 00:01:26,250
I like Namecheap just because of the way

29
00:01:26,250 --> 00:01:28,758
they conduct their
business and their pricing,

30
00:01:28,758 --> 00:01:33,650
and what these people do is
let you register domains.

31
00:01:33,650 --> 00:01:36,920
Now, two different people
cannot register the same domain

32
00:01:36,920 --> 00:01:39,932
because once they are set up,
it would be very confusing

33
00:01:39,932 --> 00:01:41,650
which IP address to go to,

34
00:01:41,650 --> 00:01:45,567
person A's IP address or
person B's IP address.

35
00:01:46,542 --> 00:01:49,866
Because only a single person
can register a domain,

36
00:01:49,866 --> 00:01:52,212
we have to select our unique domain

37
00:01:52,212 --> 00:01:54,357
and we have to actually register it,

38
00:01:54,357 --> 00:01:56,991
and that's what Namecheap does.

39
00:01:56,991 --> 00:01:58,207
The first thing we wanna do

40
00:01:58,207 --> 00:02:01,183
is just go ahead and search
for the domain you want.

41
00:02:01,183 --> 00:02:03,434
So this is what people
are going to be typing in

42
00:02:03,434 --> 00:02:05,507
to their URL bars there,

43
00:02:05,507 --> 00:02:08,590
their address bars in their browsers.

44
00:02:09,749 --> 00:02:11,483
In my case, I'm going to go with something

45
00:02:11,483 --> 00:02:14,066
like rest-api-course-trial.com.

46
00:02:18,916 --> 00:02:22,215
So just put the domain
that you want in there

47
00:02:22,215 --> 00:02:25,725
and then press Enter or
press the Search icon

48
00:02:25,725 --> 00:02:29,483
and then Namecheap starts
looking at the domains

49
00:02:29,483 --> 00:02:31,299
that we've got available.

50
00:02:31,299 --> 00:02:34,683
As you can see, rest-api-course-trial.com

51
00:02:34,683 --> 00:02:35,624
seems to be available

52
00:02:35,624 --> 00:02:38,767
because we get some
pricing information there.

53
00:02:38,767 --> 00:02:41,908
So this domain costs 8.51 pounds a year,

54
00:02:41,908 --> 00:02:45,132
but you can also go for
other sort of domains

55
00:02:45,132 --> 00:02:47,549
like .code, .club, and so on.

56
00:02:49,649 --> 00:02:51,007
So what we're gonna do

57
00:02:51,007 --> 00:02:55,525
is once you have identified the
domain that you really want,

58
00:02:55,525 --> 00:02:58,525
we are going to add it to the basket

59
00:03:00,581 --> 00:03:03,095
and then we're going to buy it.

60
00:03:03,095 --> 00:03:04,141
So as you can see here,

61
00:03:04,141 --> 00:03:06,382
we're paying for the first
year of registration,

62
00:03:06,382 --> 00:03:08,983
so that's 8.51 pounds per year

63
00:03:08,983 --> 00:03:11,416
and the ICANN fee, which is 14 P.

64
00:03:11,416 --> 00:03:15,083
The ICANN is essentially
what holds the fact

65
00:03:16,282 --> 00:03:20,692
that you did register this
domain and it is yours.

66
00:03:20,692 --> 00:03:22,792
So then we're gonna view the cart

67
00:03:22,792 --> 00:03:25,235
and this is the more
interesting data here.

68
00:03:25,235 --> 00:03:27,459
As we can see, we've got
the domain registration,

69
00:03:27,459 --> 00:03:29,975
which is a year, and we can set it

70
00:03:29,975 --> 00:03:33,042
to auto renew at the end of the year.

71
00:03:33,042 --> 00:03:35,370
Because I'm doing this just for the course

72
00:03:35,370 --> 00:03:37,175
and we're not gonna be
keeping this domain,

73
00:03:37,175 --> 00:03:39,450
we're gonna set the auto renew to false

74
00:03:39,450 --> 00:03:41,407
but you can keep it as true

75
00:03:41,407 --> 00:03:45,574
if you want to keep the domain
name rolling year-on-year.

76
00:03:46,774 --> 00:03:49,667
Next, the ICANN fee as we've identified,

77
00:03:49,667 --> 00:03:52,875
and finally, something that I
consider to be quite important

78
00:03:52,875 --> 00:03:54,375
is the WhoisGuard.

79
00:03:55,332 --> 00:03:57,816
So that also is in a subscription basis,

80
00:03:57,816 --> 00:04:00,808
so for every year that
your domain is live,

81
00:04:00,808 --> 00:04:03,725
you'll want a WhoisGuard live as well

82
00:04:03,725 --> 00:04:06,275
and as you can see, that's
normally 2.29 pounds

83
00:04:06,275 --> 00:04:08,499
but the first year is free.

84
00:04:08,499 --> 00:04:11,600
So the WhoisGuard, what does it do?

85
00:04:11,600 --> 00:04:14,474
Well, when you register a domain,

86
00:04:14,474 --> 00:04:17,383
you have to give away your details

87
00:04:17,383 --> 00:04:20,000
and that is your name, your email address,

88
00:04:20,000 --> 00:04:23,209
phone number, stuff like that.

89
00:04:23,209 --> 00:04:24,042
You have to give them

90
00:04:24,042 --> 00:04:27,017
to the domain name
registrar, so Namecheap.

91
00:04:27,017 --> 00:04:29,783
And then they are going
to use those details

92
00:04:29,783 --> 00:04:32,358
to register the domain.

93
00:04:32,358 --> 00:04:35,116
But that does mean that whoever asks

94
00:04:35,116 --> 00:04:38,882
for the domain details which are public

95
00:04:38,882 --> 00:04:41,025
will be able to see your
name, email address,

96
00:04:41,025 --> 00:04:43,357
phone number, and so on,

97
00:04:43,357 --> 00:04:46,167
which for me, I'm not a big fan of that,

98
00:04:46,167 --> 00:04:48,416
so that's what the WhoisGuard does.

99
00:04:48,416 --> 00:04:51,833
It redirects some details to your details

100
00:04:52,933 --> 00:04:55,149
and prevents your details
from becoming public,

101
00:04:55,149 --> 00:04:56,953
so the domain will be registered

102
00:04:56,953 --> 00:05:01,120
with seemingly random email
address and phone number

103
00:05:02,266 --> 00:05:06,414
but if anything does go that
way, it will go back to you.

104
00:05:06,414 --> 00:05:07,775
So it prevents the public

105
00:05:07,775 --> 00:05:11,358
from being able to know
your email address.

106
00:05:12,216 --> 00:05:14,866
Finally, PremiumDNS, we're
not gonna worry about that.

107
00:05:14,866 --> 00:05:17,866
It is essentially just a thing that,

108
00:05:18,990 --> 00:05:20,183
I'm trying to simplify,

109
00:05:20,183 --> 00:05:24,350
a thing that allows us better
uptime, better reliability,

110
00:05:24,350 --> 00:05:27,557
when your domain is searched for,

111
00:05:27,557 --> 00:05:29,395
but we're gonna use a
different service for that,

112
00:05:29,395 --> 00:05:32,645
which is free, so let's say no to that.

113
00:05:34,650 --> 00:05:38,250
And then we've got a
subtotal of 8.66 pounds,

114
00:05:38,250 --> 00:05:39,525
and we don't have a promo code

115
00:05:39,525 --> 00:05:41,057
but you can look on the internet.

116
00:05:41,057 --> 00:05:43,517
There are quite a few
promo codes for Namecheap,

117
00:05:43,517 --> 00:05:45,832
so you can have a look around.

118
00:05:45,832 --> 00:05:47,916
And once we are ready, and
we're just gonna ignore

119
00:05:47,916 --> 00:05:49,557
all the rest of this stuff by the way,

120
00:05:49,557 --> 00:05:52,057
we can just confirm the order.

121
00:05:54,392 --> 00:05:55,791
Once you've confirmed the order,

122
00:05:55,791 --> 00:05:59,650
it will ask you to enter
your payment details

123
00:05:59,650 --> 00:06:01,208
and that's it.

124
00:06:01,208 --> 00:06:03,208
So we can pay and so on.

125
00:06:04,117 --> 00:06:06,191
And once we've paid,

126
00:06:06,191 --> 00:06:09,100
we will have the domain ready for us.

127
00:06:09,100 --> 00:06:10,907
So let's do that just now

128
00:06:10,907 --> 00:06:13,906
and I'll see you in the very next section.

