1
00:00:00,350 --> 00:00:03,440
Okay, So now we want to add a custom domain.

2
00:00:03,440 --> 00:00:07,820
And you can see here, this is the documentation for adding a domain.

3
00:00:07,820 --> 00:00:09,590
And it's really pretty easy.

4
00:00:09,590 --> 00:00:14,000
But I just want to go over this with you guys real quick so you can read through this if you want,

5
00:00:14,000 --> 00:00:15,740
but I'm going to just show you how to do it.

6
00:00:15,740 --> 00:00:23,690
So if we go to Settings, make sure you're in the project you want to set the domain for, and we come

7
00:00:23,690 --> 00:00:26,060
down to custom domains.

8
00:00:26,090 --> 00:00:28,100
I'm going to click add custom domain.

9
00:00:28,100 --> 00:00:36,380
Now I have a domain registered at namecheap at pro shop demo.dev, so I just registered it.

10
00:00:36,470 --> 00:00:41,000
Obviously you have to have a different domain, but and it doesn't have to be from Namecheap.

11
00:00:41,000 --> 00:00:42,110
It can be from anywhere.

12
00:00:42,110 --> 00:00:46,910
They all basically work the same and you get the same type of options when it comes to adding records

13
00:00:46,910 --> 00:00:47,750
and so on.

14
00:00:47,750 --> 00:00:50,870
So I'm going to put the W-w-w version in here.

15
00:00:50,870 --> 00:00:57,680
So it's going to be pro shop demo.dev, and then I'm going to save.

16
00:00:58,650 --> 00:01:01,860
And then let's see, we're going to come down here.

17
00:01:01,860 --> 00:01:04,090
And now you should see something like this.

18
00:01:04,110 --> 00:01:06,450
So you need to add a couple records.

19
00:01:06,450 --> 00:01:10,680
You need to add one key name record and one a record.

20
00:01:10,680 --> 00:01:18,210
So for the W-w-w version, you want to add the key name that points to this so you can copy that yours

21
00:01:18,210 --> 00:01:19,200
will be different.

22
00:01:19,200 --> 00:01:25,860
And then we're going to go to Namecheap or wherever you have this registered and then to the area where

23
00:01:25,860 --> 00:01:32,070
you can you can mess with your DNS settings and I'm just going to delete the ones that are here.

24
00:01:34,010 --> 00:01:37,580
And we're going to add a new record and it's going to be a C name.

25
00:01:37,880 --> 00:01:39,350
So C name.

26
00:01:39,350 --> 00:01:45,230
And then for host, we're going to put W-w-w and then we're going to paste in whatever your domain is,

27
00:01:45,230 --> 00:01:47,510
whatever you copied from that page.

28
00:01:47,510 --> 00:01:48,860
And then I'm going to save.

29
00:01:49,740 --> 00:01:51,150
Okay now.

30
00:01:52,110 --> 00:01:53,760
I want to create here.

31
00:01:53,760 --> 00:01:56,640
I want to create add an A name or alias.

32
00:01:57,660 --> 00:01:59,730
Let's see if your DNS is not support.

33
00:01:59,730 --> 00:02:03,270
So I'm going to do this point an a record to this IP address.

34
00:02:03,270 --> 00:02:07,290
So I'm going to copy that and we're going to say.

35
00:02:09,080 --> 00:02:12,200
Um, see, we want to add a new record.

36
00:02:12,230 --> 00:02:13,310
A record.

37
00:02:13,310 --> 00:02:16,520
And for host, we're just going to leave that blank.

38
00:02:17,360 --> 00:02:18,830
And then paste in the IP.

39
00:02:18,860 --> 00:02:20,690
I believe we leave it blank.

40
00:02:21,970 --> 00:02:23,110
Using a record.

41
00:02:23,110 --> 00:02:27,340
Yeah, we should be able to do that and then click the check.

42
00:02:27,370 --> 00:02:29,080
Save changes.

43
00:02:29,110 --> 00:02:31,570
Okay, so maybe we do have to put in here.

44
00:02:32,230 --> 00:02:34,270
Let's just put the star.

45
00:02:34,270 --> 00:02:35,860
I believe we can do that.

46
00:02:36,280 --> 00:02:42,880
I always forget a couple small things when it comes to doing this, but I believe that should work.

47
00:02:44,320 --> 00:02:47,890
All right, So now we can come over here and we can click Verify.

48
00:02:47,920 --> 00:02:49,600
I'm going to first click this one.

49
00:02:50,790 --> 00:02:52,890
And scroll back down.

50
00:02:53,160 --> 00:02:54,870
Okay, so that says verified.

51
00:02:54,870 --> 00:02:56,130
And then this one.

52
00:02:57,010 --> 00:02:58,030
Verify.

53
00:03:00,220 --> 00:03:02,230
DNS updated needed.

54
00:03:02,710 --> 00:03:03,700
Oh, you know what?

55
00:03:03,700 --> 00:03:05,100
We don't want to put an asterisk.

56
00:03:05,110 --> 00:03:06,040
That's a wild card.

57
00:03:06,040 --> 00:03:07,510
We want that to be.

58
00:03:08,180 --> 00:03:09,590
The at symbol.

59
00:03:13,170 --> 00:03:14,070
That should work.

60
00:03:14,070 --> 00:03:16,770
So let's go back here and now verify.

61
00:03:17,980 --> 00:03:18,880
There we go.

62
00:03:19,870 --> 00:03:23,350
Now, this is probably going to take a little while to propagate.

63
00:03:23,350 --> 00:03:32,590
Also, the certificate render gives you a free SSL certificate, so that also takes a little while.

64
00:03:33,070 --> 00:03:38,260
We can try this now by just saying pro shop, demo.dev.

65
00:03:38,290 --> 00:03:41,840
But yeah, it's not it's not working yet, but it should work.

66
00:03:41,860 --> 00:03:49,840
You can see that the, the records are verified and the SSL certificate should kick in within a few

67
00:03:49,840 --> 00:03:50,510
hours.

68
00:03:50,530 --> 00:03:51,340
Scratch that.

69
00:03:51,340 --> 00:03:52,600
It didn't take a few hours.

70
00:03:52,600 --> 00:03:54,550
It only took about 5 to 10 minutes.

71
00:03:54,550 --> 00:03:58,970
You can see my domains working and the certificate is secure.

72
00:03:58,990 --> 00:03:59,370
Okay.

73
00:03:59,410 --> 00:04:04,240
And they they use letsencrypt, so you don't have to pay for an SSL.

74
00:04:04,420 --> 00:04:04,750
All right.

75
00:04:04,750 --> 00:04:09,580
But just go through and make sure everything works with the new domain, and we should be good.

76
00:04:09,580 --> 00:04:10,840
So that's it, guys.

77
00:04:10,870 --> 00:04:11,620
Thanks so much.

78
00:04:11,620 --> 00:04:17,050
I'm going to do one more video, just kind of wrapping everything up and letting you know where to go

79
00:04:17,050 --> 00:04:19,300
from here, or at least my opinion on that.

80
00:04:19,300 --> 00:04:21,230
So I'll see you in the next video.

