Okay, So now we want to add a custom domain.
And you can see here, this is the documentation for adding a domain.
And it's really pretty easy.
But I just want to go over this with you guys real quick so you can read through this if you want,
but I'm going to just show you how to do it.
So if we go to Settings, make sure you're in the project you want to set the domain for, and we come
down to custom domains.
I'm going to click add custom domain.
Now I have a domain registered at namecheap at pro shop demo.dev, so I just registered it.
Obviously you have to have a different domain, but and it doesn't have to be from Namecheap.
It can be from anywhere.
They all basically work the same and you get the same type of options when it comes to adding records
and so on.
So I'm going to put the W-w-w version in here.
So it's going to be pro shop demo.dev, and then I'm going to save.
And then let's see, we're going to come down here.
And now you should see something like this.
So you need to add a couple records.
You need to add one key name record and one a record.
So for the W-w-w version, you want to add the key name that points to this so you can copy that yours
will be different.
And then we're going to go to Namecheap or wherever you have this registered and then to the area where
you can you can mess with your DNS settings and I'm just going to delete the ones that are here.
And we're going to add a new record and it's going to be a C name.
So C name.
And then for host, we're going to put W-w-w and then we're going to paste in whatever your domain is,
whatever you copied from that page.
And then I'm going to save.
Okay now.
I want to create here.
I want to create add an A name or alias.
Let's see if your DNS is not support.
So I'm going to do this point an a record to this IP address.
So I'm going to copy that and we're going to say.
Um, see, we want to add a new record.
A record.
And for host, we're just going to leave that blank.
And then paste in the IP.
I believe we leave it blank.
Using a record.
Yeah, we should be able to do that and then click the check.
Save changes.
Okay, so maybe we do have to put in here.
Let's just put the star.
I believe we can do that.
I always forget a couple small things when it comes to doing this, but I believe that should work.
All right, So now we can come over here and we can click Verify.
I'm going to first click this one.
And scroll back down.
Okay, so that says verified.
And then this one.
Verify.
DNS updated needed.
Oh, you know what?
We don't want to put an asterisk.
That's a wild card.
We want that to be.
The at symbol.
That should work.
So let's go back here and now verify.
There we go.
Now, this is probably going to take a little while to propagate.
Also, the certificate render gives you a free SSL certificate, so that also takes a little while.
We can try this now by just saying pro shop, demo.dev.
But yeah, it's not it's not working yet, but it should work.
You can see that the, the records are verified and the SSL certificate should kick in within a few
hours.
Scratch that.
It didn't take a few hours.
It only took about 5 to 10 minutes.
You can see my domains working and the certificate is secure.
Okay.
And they they use letsencrypt, so you don't have to pay for an SSL.
All right.
But just go through and make sure everything works with the new domain, and we should be good.
So that's it, guys.
Thanks so much.
I'm going to do one more video, just kind of wrapping everything up and letting you know where to go
from here, or at least my opinion on that.
So I'll see you in the next video.