WEBVTT

00:00.480 --> 00:02.610
So this is my Safana server.

00:02.760 --> 00:05.730
I've just set up this is my digital ocean version.

00:05.760 --> 00:08.810
That's the IP address the digital ocean gave me.

00:08.820 --> 00:13.620
You will probably have a different IP address depending on which cloud provider you used and doesn't

00:13.620 --> 00:13.770
matter.

00:13.770 --> 00:14.520
It's always different.

00:14.760 --> 00:18.900
Now that is the URL I'll use to access Mega-fauna server.

00:18.960 --> 00:21.870
And while that's OK, it doesn't look very professional.

00:21.930 --> 00:24.060
If I was to show this to a client.

00:24.150 --> 00:30.690
So in the next three sections being point to my name, reverse proxy griffon and at SSL order several

00:30.690 --> 00:37.500
changes to my setup so that rather than accessing Mega-fauna server using that address, I can access

00:37.500 --> 00:44.670
it using a more professional looking TPS profanity spec code name just any domain name that you want

00:44.670 --> 00:46.650
to use to represent your service.

00:46.690 --> 00:47.070
OK.

00:47.100 --> 00:50.370
So just looking at that for the moment, this is optional.

00:50.400 --> 00:56.460
You can continue to use your IP address column three thousand to access your and a server if you wish

00:56.460 --> 01:02.400
to, but I'm just showing you the steps in order to create a domain name and use hayseed TPS without

01:02.400 --> 01:04.740
the port number just so that you know how to do it.

01:04.830 --> 01:07.860
This is not Agraféna specific technique.

01:07.860 --> 01:11.970
It can be applied to all servers services that you run on the internet, regardless of whether that's

01:11.970 --> 01:12.720
Griffon or not.

01:12.750 --> 01:14.910
I'm just going to show it to the next three sections anyway.

01:14.940 --> 01:20.340
If you're not interested in that, you can just go straight down to the next section, create the first

01:20.340 --> 01:21.180
data source.

01:21.220 --> 01:27.000
Now, later on in the course, we will be doing email alerts and depending on which email provider you

01:27.000 --> 01:33.180
send an email to, the email will probably be rejected if the domain name of the sender doesn't match

01:33.180 --> 01:35.640
the IP address of the server that it's coming from.

01:35.670 --> 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

01:41.910 --> 01:45.370
want to and just move on to the events, get on with it pointing a domain name.

01:45.390 --> 01:49.320
Now, as I said, I'm going to use that URL Bafana ISP code on it.

01:49.360 --> 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

01:53.790 --> 01:56.010
being Gravano, which I'll demonstrate in a moment.

01:56.190 --> 02:01.770
If you don't have a domain name already or friend can't lend you one, I can recommend Namecheap, which

02:01.770 --> 02:03.630
is, as I say, is cheap domain names.

02:03.630 --> 02:05.220
Depending on which tale do you use.

02:05.250 --> 02:10.890
For example, those so visit that link and you get a search tool and you can type in any domain you

02:10.890 --> 02:11.610
think you want.

02:11.680 --> 02:17.730
Doesn't matter what you want can be my service, my Bafana service, for example.

02:17.730 --> 02:18.300
Search.

02:19.330 --> 02:22.790
And you can buy any of those domains for that price.

02:23.130 --> 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,

02:27.940 --> 02:29.680
so I'm not going to use that.

02:29.710 --> 02:32.280
I'm going to use my existing domain name ESP code dot net.

02:32.350 --> 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

02:37.450 --> 02:38.770
the advanced DNS tab.

02:39.100 --> 02:42.880
And down here I can add what's called a new name record.

02:43.010 --> 02:47.230
Okay, so looking at this first section point domain name, I'm going to read an einem record for the

02:47.230 --> 02:49.660
final dress code dot net a name record.

02:49.720 --> 02:54.720
It points to that IP address there, and that's the IP address there that I got from Digital Ocean.

02:54.730 --> 02:58.210
Your IP address will be different and your domain name will be two.

02:58.240 --> 03:02.700
You can either point your main domain name that you bought or a subdomain of the main domain name.

03:02.710 --> 03:03.290
It's up to you.

03:03.320 --> 03:08.200
Okay, so I'm using the name user interface depending on where you buy your domain.

03:08.200 --> 03:12.220
Names from the user interfaces will be different, but they'll all have a similar concept where you

03:12.220 --> 03:15.010
can add a new record Bing and I record.

03:15.130 --> 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

03:20.980 --> 03:27.750
IP address being that copy the automatic, which is good and just press tic site changes.

03:27.760 --> 03:28.080
Okay?

03:28.090 --> 03:34.840
After some time that address Bafana Dot ESP code dot net, see, I'm modifying the My ESP code dot net

03:34.840 --> 03:35.500
domain here.

03:35.530 --> 03:40.480
You can also see that written here a name record alias that actually means ESP code dot net.

03:40.660 --> 03:44.320
So Safana today speak code dot net to that IP address.

03:44.490 --> 03:50.770
OK, so now if I try that address, I was sort of trying that where I'm using IP address.

03:50.770 --> 03:53.890
I replaced that with the domain name Griffon s code dot net.

03:53.890 --> 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

04:00.820 --> 04:01.240
just yet.

04:02.020 --> 04:03.120
You can take some time.

04:03.130 --> 04:08.530
You can use online tools called DNS Checker Something else or a command following on your server to

04:08.530 --> 04:10.440
check the progress of propagation.

04:10.720 --> 04:11.530
Open up that one.

04:12.030 --> 04:13.810
I'm a type in just a domain name BenQ.

04:13.810 --> 04:19.150
Often I thought it'd be code dot net and search that the name record hasn't yet propagated throughout.

04:20.020 --> 04:24.190
OK, so let's check that again, and it looks like it's slowly propagating.

04:24.580 --> 04:25.690
It can take some time.

04:25.990 --> 04:28.960
It's taken two hours so far for me to get that far.

04:29.020 --> 04:31.600
Sometimes it's much faster and sometimes it's much slower.

04:31.840 --> 04:32.980
Let's try that again.

04:33.580 --> 04:33.890
OK.

04:33.910 --> 04:35.930
And that's working brilliant so far.

04:36.010 --> 04:39.880
Dress code dot net, the domain name call and three thousand works.

04:39.890 --> 04:41.740
OK, so I can move on to the next section.

04:41.740 --> 04:48.550
Now I'm going to reverse proxy Carafano using Engine X so that I'll create a server side redirect,

04:48.550 --> 04:53.560
which will host my domain on Port 80 and then internally redirect to port three thousand.

04:53.620 --> 04:56.140
So I won't need to use that column three thousand anymore.

04:56.170 --> 04:57.310
Anyway, that's in the next video.

04:57.310 --> 04:57.620
So.

04:57.640 --> 04:58.090
Excellent.

04:58.450 --> 04:59.110
Let's continue.
