1
00:00:00,258 --> 00:00:01,518
- [Narrator] Hi, and welcome back.

2
00:00:01,518 --> 00:00:05,135
In this video, I just like to make sure

3
00:00:05,135 --> 00:00:08,385
that you test your sites using Postman.

4
00:00:09,373 --> 00:00:11,935
Now that we've got our domain name

5
00:00:11,935 --> 00:00:14,369
registered against our IP address,

6
00:00:14,369 --> 00:00:17,004
make sure that you can use Postman

7
00:00:17,004 --> 00:00:19,846
to go to your domain name,

8
00:00:19,846 --> 00:00:21,025
which as you can see, in my case,

9
00:00:21,025 --> 00:00:23,865
is rest.api.course-trial.com.

10
00:00:23,865 --> 00:00:25,200
And verify that it works.

11
00:00:25,200 --> 00:00:27,231
So what I've done is I've
registered the new user

12
00:00:27,231 --> 00:00:29,182
and then I'm going to authenticate.

13
00:00:29,182 --> 00:00:31,653
And as you can see, things come back

14
00:00:31,653 --> 00:00:34,695
and you can create stores and so on.

15
00:00:34,695 --> 00:00:37,778
So make sure that your API is working

16
00:00:39,970 --> 00:00:43,720
before we move on to
the https configuration.

17
00:00:44,957 --> 00:00:47,719
Remember, if your API was working before

18
00:00:47,719 --> 00:00:49,503
with just an IP address,

19
00:00:49,503 --> 00:00:50,844
all we have done now

20
00:00:50,844 --> 00:00:54,496
is essentially given
the IP address an alias.

21
00:00:54,496 --> 00:00:56,525
Whenever you go to your domain,

22
00:00:56,525 --> 00:00:59,611
really, you're going to your IP address,

23
00:00:59,611 --> 00:01:00,827
so if it worked before,

24
00:01:00,827 --> 00:01:02,210
and it doesn't work now,

25
00:01:02,210 --> 00:01:04,668
the problem is in what we have done

26
00:01:04,668 --> 00:01:06,249
in terms of setting the domain up,

27
00:01:06,249 --> 00:01:09,295
so probably the DNS records.

28
00:01:09,295 --> 00:01:10,715
So just re-check them,

29
00:01:10,715 --> 00:01:13,484
or ask a question in the course
Q&A if anything goes wrong,

30
00:01:13,484 --> 00:01:16,282
and I'll be there to help, of course.

31
00:01:16,282 --> 00:01:18,269
Now, once you've verified
everything works,

32
00:01:18,269 --> 00:01:21,876
we are ready to move on to
setting our SSL certificate

33
00:01:21,876 --> 00:01:24,800
and serving out https traffic.

34
00:01:24,800 --> 00:01:26,423
So I'll see you in the next video.

