Setup Custom Domain On Netlify

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
[Music] hey everybody Chris state here and the previous video I showed you guys how to get your website up and running on net Liffey today I'm going to actually show you guys how to set up your custom domain that we purchased in a previous episode if you haven't seen that it's on my channel I'll try to post a link somewhere on this video I don't not really sure how to put it on the video but we'll put it on there what we're going to do today setting up that custom domain so the first thing I'm gonna do is open up net Liffey here that's not net Lafite that was some lower development I was doing but net LIF he's right here I'm gonna go ahead and log in on this alright now that I'm logged in here this is not the exact same website that we were working on before this is one of my client websites I I went ahead and did this one just because it's more of a complete product and I'm actually setting up this custom domain so that way they can actually use it now it's a it's a live project that my client wants and I want to get it up and running so you guys can check it out when it's done I'll show you guys real quick what it looks like there's just some kind of test data on here but this is their podcast website you can see here they're there beautiful cat and they're there nice logo for their brunch and it's called brunch and brew podcast now what I'm going to be doing is I'm going to be actually linking the Google domains purchased a domain to this net Liffey so let's go ahead and do that you can see down here and the getting started on that Liffey that our site is deployed the next thing to do is to set up a custom domain so I'm gonna click on that what its gonna want here is you to actually add the custom domain but before we do that we actually need to set up our DNS records to point to this server I'm gonna go ahead and go to Google and I'm going to type in net Liffey and i'm i type in custom domain this first link here I'm gonna click on it and you can read through this and kind of understand everything's going on but what we're gonna do is we're actually gonna scroll down here to DNS configuration and down here at the bottom there's a there's a point right here and here's their recommended and here's the alternative I'm going to explain what this means now a DNS provider a DNS system is designed to help you as a user and also you as a developer make your life so much when you go to a website you don't type in you know 192.168 you type in google.com or you type in Chris state comm or whatever it is calm alright what we really want to stay away from is memorizing all those IP addresses because whether or not you know it every time you do type in google.com is that it's actually going to an IP address what actually tells it what that IP address is is called a DNS service or a domain name resolver right so basically when you send it a request it says Google calm before it goes to this before it goes to the web and picks it up it stops at the DNS server and the DNS server says hey I have that IP I'm gonna go ahead and send you where that is and then when it returns it even knows where to turn it from right now what they what net Liffey wants you to do here and this is just my personal preference they want you to give over the rights of a DNS service to them now is that bad are you handing over abilities not technically but I like to keep my DNS settings inside of my domain register like Google domains I like to keep that control in there so that way everything's in one area all my settings are in one spot because I'm not actually just using only net Liffey I might later on want to set up an email hosting service or a sub domain right and I want to have all those settings there in Google Google domains now that doesn't restrict you from not using that life either or not like if you don't use us you can't use anybody what they're saying is saying that's are recommended but there's also not turn on the alternative and that's actually using something called an a record to point your domain to their IP address and you can see that right here 104 198 1452 I'm gonna go ahead and copy that and I'm gonna go to Google domains you can see now here I have our domain settings and down here at the bottom you can see that there is actually a custom resource records this is where you're going to set up your domain settings right here you're gonna leave that at the @ symbol and that's fine but over here you're going to type in an ipv4 address which is an address for net Liffey after you click Add there it is your linked up but what do we do now we actually need to add another record and that's a cname record a cname record I'm not really sure all the ins and outs of it but essentially this allows you to point resolutions or for example a website is www.seannal.com and you can see right there oh I'm sorry brunch brew com and you can see right there when I click Add it's gonna add that in there see that now if I go back to custom domains I get everything set up I'm gonna go to domain management I'm gonna hit add a custom domain and I'm gonna type in brunch brew comm and click Save now what this is gonna do is it's gonna ping the server and it's gonna say hey check your DNS configuration now why isn't this just an automatic fix why isn't this just automatically working well domain name resolvers don't happen and aren't working right away they don't just happen instantly they actually take time to sync it to their servers because there's a lot of servers that are resolving these DNS records so it might take some time so what I typically do is I kind of go away for 10 minutes and come back and then when I click on the domain management eventually that will be fixed so let me go ahead and I want to pause the video and we're gonna come back here in a second all right so we're back it's only been about 4 to 5 minutes and I really just refresh the browser kind of browse some websites but you can see here that there's no longer the DNS configuration error setting we're good to go if you actually click on this link you can see that it actually does load the website at brunch brew com which is awesome and it's set up by default to not only load the ww.topdentistsonline.com even just setting up a custom domain and that's making your site secure typically when your website is transferred or your your server sends a signal or data over a wire or a connection it typically uses the HTTP protocol the hypertext translate translate protocol or basically the transfer protocol how it actually sends the data over the line and typically over four years it's been secure just because we haven't really had the need or the people that were malicious enough to mess with this but we've come to a time where this data needs to be encrypted and be safe and secure and so they added something called the HTTPS protocol which basically adds security to this now typically most most places that you're going to be hosting your website through don't do this for you for free and not automatically most website hosts is something you know I used to go through GoDaddy would charge me eighty dollars a year to host this and have just to have security on my website which really really sucks because it's 80 bucks for every website I have that's ridiculous now there is a there is a community or kind of a consortium that is called let's encrypt and let's encrypt is essentially I'll read it here it's a free automated and open certificate authority in order to get a security or make your website secure you have to have a certificate and that naturally needs to be authorized by an official Authority or you know certificate author and let's encrypt is actually a free one now you know I think in yourself I think I've heard of this before but doesn't it require a lot of extensive knowledge and having to create your own SSH keys and don't those don't those you know aren't they expired after 90 days so I have to keep up changing it and it's just a hassle isn't it I don't want to write a custom script to do all that what you don't have to with nut Liffey that lifia is so amazing that it has built let's encrypt into its system you can see on here if I scroll down you have the the HTTP settings and right here you can verify your DNS configuration now you see that it's actually saying that hey we have access to your website and your point to us now you can enable let's encrypt you could I'll be real quick back up you can't provide your own certificate if you do want a different one but let's encrypt is awesome now I'm gonna hit provision certificate and now it's done right so if you type in if you type in brunch brew com it's gonna be encrypted well no because you can see right here it's not secure until we add the HTTPS we won't be secured now you can see that we're secure but how do we force that how do we cause every user that comes to our site to have that connection right here at the bottom is you can actually write force it you must have in the certificate installed to force it so I'm gonna go ahead and refresh it's that way oh actually it just did it for me you can see right here it says force HTTP I click on that and now it's gonna force it so on this website where it doesn't have it enabled I click refresh and now it's secure now now that our website secured what does that mean for us what is that well first of all you get that nice beautiful green connection but here's something that's even crazier domain are we would you call it the web crawlers you know the search engines like Google and Yahoo and Bing and all those right DuckDuckGo that one's a good one they actually are starting to prioritize sites that are secure over ones that aren't because you don't want users going to your site and you don't wanna be promoting sites that are getting your users credit cards stolen and their information hacked and so these and I think it's just that these search engines are actually promoting sites that are secure anyway we think here self well that's not fair why why do they get it why do I have to pay well you don't have to pay with net Liffey it sets it up automatically it's super safe secure and free and it will renew it every 90 days for you all right well hey everybody that's it for this video yeah I just wanted to show you guys real quick how to set up a custom domain on that Liffey if you like this video please leave it it comes up coms up a thumbs up I'm going to say leave a comment but leave a comment leave a thumbs up and just tell me in the comments really what you guys want to learn what you guys want to know next even if it's something that I don't know I'll learn it and teach it to you guys because that's what I love doing just put it down in the comments below please check out my website blog Christy comm Christy comm is also a website but I typically am posting on my blog more often check out my Instagram Instagram comm slash Chris State and I'll see you guys on the next video [Music]
Info
Channel: Chris Stayte
Views: 38,335
Rating: 4.9531775 out of 5
Keywords: domain, netlify, google, chris, stayte, code
Id: Q9giWrfIJKk
Channel Id: undefined
Length: 11min 7sec (667 seconds)
Published: Mon Jun 18 2018
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.