1
00:00:00,480 --> 00:00:02,610
So this is my Safana server.

2
00:00:02,760 --> 00:00:05,730
I've just set up this is my digital ocean version.

3
00:00:05,760 --> 00:00:08,810
That's the IP address the digital ocean gave me.

4
00:00:08,820 --> 00:00:13,620
You will probably have a different IP address depending on which cloud provider you used and doesn't

5
00:00:13,620 --> 00:00:13,770
matter.

6
00:00:13,770 --> 00:00:14,520
It's always different.

7
00:00:14,760 --> 00:00:18,900
Now that is the URL I'll use to access Mega-fauna server.

8
00:00:18,960 --> 00:00:21,870
And while that's OK, it doesn't look very professional.

9
00:00:21,930 --> 00:00:24,060
If I was to show this to a client.

10
00:00:24,150 --> 00:00:30,690
So in the next three sections being point to my name, reverse proxy griffon and at SSL order several

11
00:00:30,690 --> 00:00:37,500
changes to my setup so that rather than accessing Mega-fauna server using that address, I can access

12
00:00:37,500 --> 00:00:44,670
it using a more professional looking TPS profanity spec code name just any domain name that you want

13
00:00:44,670 --> 00:00:46,650
to use to represent your service.

14
00:00:46,690 --> 00:00:47,070
OK.

15
00:00:47,100 --> 00:00:50,370
So just looking at that for the moment, this is optional.

16
00:00:50,400 --> 00:00:56,460
You can continue to use your IP address column three thousand to access your and a server if you wish

17
00:00:56,460 --> 00:01:02,400
to, but I'm just showing you the steps in order to create a domain name and use hayseed TPS without

18
00:01:02,400 --> 00:01:04,739
the port number just so that you know how to do it.

19
00:01:04,830 --> 00:01:07,860
This is not Agraféna specific technique.

20
00:01:07,860 --> 00:01:11,970
It can be applied to all servers services that you run on the internet, regardless of whether that's

21
00:01:11,970 --> 00:01:12,720
Griffon or not.

22
00:01:12,750 --> 00:01:14,910
I'm just going to show it to the next three sections anyway.

23
00:01:14,940 --> 00:01:20,340
If you're not interested in that, you can just go straight down to the next section, create the first

24
00:01:20,340 --> 00:01:21,180
data source.

25
00:01:21,220 --> 00:01:27,000
Now, later on in the course, we will be doing email alerts and depending on which email provider you

26
00:01:27,000 --> 00:01:33,180
send an email to, the email will probably be rejected if the domain name of the sender doesn't match

27
00:01:33,180 --> 00:01:35,640
the IP address of the server that it's coming from.

28
00:01:35,670 --> 00:01:41,910
So that's one of the benefits of using domain name and SSL, but you can delay that process if you really

29
00:01:41,910 --> 00:01:45,370
want to and just move on to the events, get on with it pointing a domain name.

30
00:01:45,390 --> 00:01:49,320
Now, as I said, I'm going to use that URL Bafana ISP code on it.

31
00:01:49,360 --> 00:01:53,790
Now I already have a domain name and that is expected dot net so I can just create a subdomain for that

32
00:01:53,790 --> 00:01:56,010
being Gravano, which I'll demonstrate in a moment.

33
00:01:56,190 --> 00:02:01,770
If you don't have a domain name already or friend can't lend you one, I can recommend Namecheap, which

34
00:02:01,770 --> 00:02:03,630
is, as I say, is cheap domain names.

35
00:02:03,630 --> 00:02:05,220
Depending on which tale do you use.

36
00:02:05,250 --> 00:02:10,889
For example, those so visit that link and you get a search tool and you can type in any domain you

37
00:02:10,889 --> 00:02:11,610
think you want.

38
00:02:11,680 --> 00:02:17,730
Doesn't matter what you want can be my service, my Bafana service, for example.

39
00:02:17,730 --> 00:02:18,300
Search.

40
00:02:19,330 --> 00:02:22,790
And you can buy any of those domains for that price.

41
00:02:23,130 --> 00:02:27,940
Found a service to X-Y-Z is very, very cheap for the first to you, but I already have a domain name,

42
00:02:27,940 --> 00:02:29,680
so I'm not going to use that.

43
00:02:29,710 --> 00:02:32,280
I'm going to use my existing domain name ESP code dot net.

44
00:02:32,350 --> 00:02:37,450
OK, so I've logged on to Namecheap, where I can manage my spec code dot net domain and I've pressed

45
00:02:37,450 --> 00:02:38,770
the advanced DNS tab.

46
00:02:39,100 --> 00:02:42,880
And down here I can add what's called a new name record.

47
00:02:43,010 --> 00:02:47,230
Okay, so looking at this first section point domain name, I'm going to read an einem record for the

48
00:02:47,230 --> 00:02:49,660
final dress code dot net a name record.

49
00:02:49,720 --> 00:02:54,720
It points to that IP address there, and that's the IP address there that I got from Digital Ocean.

50
00:02:54,730 --> 00:02:58,210
Your IP address will be different and your domain name will be two.

51
00:02:58,240 --> 00:03:02,700
You can either point your main domain name that you bought or a subdomain of the main domain name.

52
00:03:02,710 --> 00:03:03,290
It's up to you.

53
00:03:03,320 --> 00:03:08,200
Okay, so I'm using the name user interface depending on where you buy your domain.

54
00:03:08,200 --> 00:03:12,220
Names from the user interfaces will be different, but they'll all have a similar concept where you

55
00:03:12,220 --> 00:03:15,010
can add a new record Bing and I record.

56
00:03:15,130 --> 00:03:20,980
OK, so here in this row here, I've got a record for the host, which I'm going to call Bafana the

57
00:03:20,980 --> 00:03:27,750
IP address being that copy the automatic, which is good and just press tic site changes.

58
00:03:27,760 --> 00:03:28,080
Okay?

59
00:03:28,090 --> 00:03:34,840
After some time that address Bafana Dot ESP code dot net, see, I'm modifying the My ESP code dot net

60
00:03:34,840 --> 00:03:35,500
domain here.

61
00:03:35,530 --> 00:03:40,480
You can also see that written here a name record alias that actually means ESP code dot net.

62
00:03:40,660 --> 00:03:44,320
So Safana today speak code dot net to that IP address.

63
00:03:44,490 --> 00:03:50,770
OK, so now if I try that address, I was sort of trying that where I'm using IP address.

64
00:03:50,770 --> 00:03:53,890
I replaced that with the domain name Griffon s code dot net.

65
00:03:53,890 --> 00:04:00,820
So so he's in code three thousand eighty TCP Bafana ISP code on it 3000 open a new browser hasn't propagated

66
00:04:00,820 --> 00:04:01,240
just yet.

67
00:04:02,020 --> 00:04:03,120
You can take some time.

68
00:04:03,130 --> 00:04:08,530
You can use online tools called DNS Checker Something else or a command following on your server to

69
00:04:08,530 --> 00:04:10,440
check the progress of propagation.

70
00:04:10,720 --> 00:04:11,530
Open up that one.

71
00:04:12,030 --> 00:04:13,810
I'm a type in just a domain name BenQ.

72
00:04:13,810 --> 00:04:19,149
Often I thought it'd be code dot net and search that the name record hasn't yet propagated throughout.

73
00:04:20,019 --> 00:04:24,190
OK, so let's check that again, and it looks like it's slowly propagating.

74
00:04:24,580 --> 00:04:25,690
It can take some time.

75
00:04:25,990 --> 00:04:28,960
It's taken two hours so far for me to get that far.

76
00:04:29,020 --> 00:04:31,600
Sometimes it's much faster and sometimes it's much slower.

77
00:04:31,840 --> 00:04:32,980
Let's try that again.

78
00:04:33,580 --> 00:04:33,890
OK.

79
00:04:33,910 --> 00:04:35,930
And that's working brilliant so far.

80
00:04:36,010 --> 00:04:39,880
Dress code dot net, the domain name call and three thousand works.

81
00:04:39,890 --> 00:04:41,740
OK, so I can move on to the next section.

82
00:04:41,740 --> 00:04:48,550
Now I'm going to reverse proxy Carafano using Engine X so that I'll create a server side redirect,

83
00:04:48,550 --> 00:04:53,560
which will host my domain on Port 80 and then internally redirect to port three thousand.

84
00:04:53,620 --> 00:04:56,140
So I won't need to use that column three thousand anymore.

85
00:04:56,170 --> 00:04:57,310
Anyway, that's in the next video.

86
00:04:57,310 --> 00:04:57,620
So.

87
00:04:57,640 --> 00:04:58,090
Excellent.

88
00:04:58,450 --> 00:04:59,110
Let's continue.

