 Hi guys, welcome back to Daniel's Tech World on YouTube, Medium, and DanielRosal.tech. So for today's video, I want to just quickly, this is not a five minute long plug for my book on Amazon, The Confused Freelancers Guide to Technology, but I have it up here because it is one of the topics I cover, and this is something that I see a lot whereby people will buy their domain, which is always good to buy your own domain name and not to be using something like a branded subdomain on Wix.com or one of these other, I keep calling them all you can eat, Click and Point DIY website builders that anyone who has bought this book and they haven't started marketing it yet, so it's just fresh on the market, but anybody who reads this will know very quickly that I'm not much of a fan of these all-in-one editors because if you want to build something with skill, now some people say do stuff that doesn't scale, but if you do want to take the opposite approach and do things that have a chance of scaling, you're much better off separating out your provider between your hosting company, your domain name company, and actually understanding what's going into making your website tick on the internet, including the DNS records. All of these things, if you're going to be moving around to different infrastructure providers, are going to matter some day. They may not matter now, but when you get to your world domination stage, they will. Okay, so basically if you've gone ahead and let's just do a real example here, it'll be easier to explain like this. I'm going to go back into this demo account that I use in all my videos and let me just sign in quickly. Okay, so I've just signed into my demonstration Gmail and there's really not much in here just used for these videos. So what I'm going to do is show you where you can add more email addresses. So if you click on the accounts and imports, that's the fourth tab across to the right at the time of writing. Now if you haven't set up any additional sending accounts, then you're just going to have the Gmail address itself as sent as. Now the Gmail UI has a habit of changing quite frequently. Used to be able to set up your signatures here. Now signatures are taken care of somewhere in the signature. So you don't want to generally do that as well. And let's firstly add the second our new email address. So I have just in the last week set up again for these videos this this domain called DanielRosal.Tech. So what I'm going to go ahead and do is log into my cPanel and I'm going to create an email at DanielRosal.Tech and then I'm going to add that as a sending address in Gmail. Okay so I've gone ahead and loaded up my cPanel for this domain name and if you scroll down a little I scroll down a bit from the top your cPanel might look a bit different. It varies a lot between hosts. This is actually part of a reseller hosting account so there's actually quite a lot. If you have a like a little cheap shared hosting thing they may restrict this but this is a quite decent array of cPanel options but irrespective of whether you have a lot or a little you should have the few things that I'm going to show in order to make this system work for you. So they're all email related. One is email accounts. The second is forwarders. The third is default address. Now you might see this described as catch all and the next thing is some kind of spam filtering. It depends what spam filter your web host uses but this one's called spam experts and I explained in the book why you want to basically take off spam filtering at the host level and that's because Gmail has its own spam filter. As you know if you just jump back to our inbox for a second we have the spam inbox here and Gmail will process whatever you send its way and apply spam filtering so it doesn't you might think it makes more sense to do spam filtering twice. It actually doesn't because you're just going to increase the risk of legitimate email being caught in one or the other spam filter and additionally in Gmail there is this nice feature. If I can for example use my own website here the email I sent you have this option that if I want to send an email to myself let's say what I'm putting in a wildcard here. Wildcard stands for any email address at dsrghostwriting.com and I can create a filter that never send it to spam. So basically the Gmail spam filter or the G Suite spam filter if you're using your own domain on G Suite is very good and it is disadvantageous to use spam filtering at both levels. So what I do is go into spam experts which is the one that my host has got running over here and you will want to basically disable. Now you can also if I go back up you can also just search for spam and you can see spam filters there might even be a couple of overlapping systems sometimes. So I'm just going to go to spam filters here and I've already actually disabled. You can see here process now when I got the account it looked like this. So I basically disabled process new emails I marked them as spam so that means that there's no spam filtering happening at my C panel it's just going to pass stuff on. So let's go and set up an email just to associate with this Gmail over here. So the first thing I'm going to do is jump up to email accounts and I'm going to go ahead you can see I've already set up demos and Daniel and Dero's little tech. I'm just going to create a new one from scratch over here and I'm going to click on the create button to do that. This is a screen and I'm just going to call this Gmail underscore demo because I'm going to be showing how to attach that to Gmail and I'm going to give myself a password as well. Now you can see that the storage space here is set to just a little bit over a gigabyte 1,024 megs. Now you this is one way of setting it up there is another way that I discussed in the book and that's just creating a forward rule. If you do it this way it's going to mean that you're going to have an inbox on C panel. To be honest if you have storage space in your C panel because emails are relatively light I would put this to a limited and just create the inbox in your C panel that means that but that does mean that it's going to be existing. The emails are going to live on the web server and they're going to be forwarded to your Gmail so that's one way to set it up. So I'm going to go ahead and create this and then when we're creating the forward I'll explain your second option. So I've just gone ahead and I have created a Gmail underscore demo and this in my C panel if you look at the connected devices this will give you the server information for the outbound server which is the SMTP server and for the inbound server which these days is IMAP. If you're still you don't use pop even if it's an option it's antiquated and unencrypted. So I'm just going to click on connect devices and I'll just show you what C panel tells me. This is a screen we get to and as you can see in my C panel I have two options one is for one set secure SSL TLS settings and the other one is not secure and you can see remember I mentioned the antiquated pop three that still exists and it's got port 995 here for the inbound. So basically you want to use these basically secure SSL TLS as to which it doesn't usually matter except that there's different ports. The ports for the outbound are typically port 465 is for SSL authentication over SSL and port 587 is typically for the one used for authentication over the TLS protocol but basically let's just stick for stick to SSL and 465 and the important information here is the outgoing server is this one mail.danielrosil.tech and username is the address itself password is a password we configured. Now you have a nice little option here just to point this out of you can actually send yourself the setup instructions. So this is nice if you're working with a couple of less technically savvy colleagues like let's say and you want to you know help them set up their their account so you can just put in there after setting up their accounts pop in their Gmail address and send them out some setup instructions. So I've just done that and the email is going to come through. So now let's go ahead and so we've created an email for us first off that's going to allow us to send through our Gmail and that's we need we also need to make sure that the email loops back to Gmail and that's going to be setting up a forward so let's go ahead and do that now. So I've just jumped back to my cPanel home and you can see where forward is it's the next option over so I'm just going to go and click on that. This is the main screen you'll get to when you're setting up forwards. Now remember remember what I said before that you can create an inbox on the server that's going to be living on your hosting and using up space on your hosting so if you have a certain storage allocation that's going to count against that. So what you can do instead I did set up the account so it's going to be a real outbound account but if you're only receiving mail now in order to send through Gmail you do need the real account if you only want to receive mail to your branded domain put that on through Gmail you can just go ahead and set up a forward but if you're going to be sending and receiving you need both. So let me now go ahead and create this forward. So I just clicked on add forwarder and Gmail underscore demo is what we want to forward address to forward. Ask and then the domain and then we're forwarding this to Daniel roseldemo at gmail.com. There are advanced options to let you do some more interesting things but that's basically what you need to do and click add for it and we get a confirmation message saying all email sent to Gmail ask will now be copied to Daniel Roseldemo why this matters is that when you are setting up the Gmail address Gmail will send a verification code you want that verification code to loop back so that you can get pick it up right there in your Gmail and allow you authentication to take place and just remember that we also disabled the spam protection just in case that got caught up in spam on the cPanel site. So I'm back in my Gmail here and now what I want to do is click on settings see all settings and jump across to the accounts accounts and import setting we were up before send mail as you have this we have this option under your default address called add another email address we're going to be clicking on it pretty self-explanatory from this point forward so we're just we're going to put in Gmail underscore demo ask Danielroseldottech now this treat is an alias button you can learn more here about what this does it's by default turn on Gmail's documentation will explain when you want to take it and when you don't want to take it basically for most use cases treating as an alias is is the option that's going to be useful so I'm going to I'm going to leave that turned on so then I'm just going to click on the next step option now you do have the option to specify different reply to address that's not recommended we could put in the Gmail address but you know for the sake of us the reply to is another kind of made a field header field in the email and by default that set to the sending address you can have a different reply to and just make sure that it goes to somewhere else it's not there aren't that many cases in which it's useful to do that so you don't need to specify that address you can just proceed to the next step here now you can see SMT SMTP server has been automatically populated and what you might notice here is that it is different than the server address that cPanel told us to now this is happening because I'm using cloudflare on this domain cloudflare which I've talked about a few times is this really amazing service that sits between your website your web hosting and the internet and creates proxies so what you're looking at here is the is actually the proxy SMTP server it's not the SMTP server it's the proxy that cloudflare has generated so that people that are doing stuff like scanning your network malicious maliciously and that's pretty easy to do you can just hackers people to try and break into your domain can literally just see all the infrastructure that you've set up including your SMTP server and your web server and everything you have on the internet so cloudflare has a few it's not just for proxying but one of the things it does is a proxy servers so this automatically detects and you can if this has happened you can go ahead and use this you may be unable to use the actual mail server if that does happen then what you need to do is go into cloudflare and you need to actually turn off the proxying for the MX records they're getting a bit complicated here the MX records are what tells the server where to go to for mail so you can just disable the proxy in cloudflare for that I just wanted to quickly show what that looks like so this is your cloud flare and this is your you'll see MX your mail records here if it's if it's orange that means the cloud flare proxy is running you click that it'll go back to gray and if you do that the mail servers the MX records will no longer be proxied and you will not run into this thing when you're trying to set up sending through Gmail so I've just gone ahead and added my username and password into the appropriate fields it's automatically detected as I said the cloud flare and it's detected the port 587 so I'm just gonna go ahead and click on add account for that okay so after going through this process I you will get add another email address you own and it'll set an email with a confirmation code was sent to the address now remember that we created a forward to the beauty of the system is that the code should loop back so I'm just gonna move this over now you could of course go into the webmail of your cPanel email and use the code that way but this is easier you may as well if you set it up take advantage all right so we did have about a 20 to 30 second time delay over there but it did it did make its way to us in the end so this is the email you get from Gmail it's got a link or you can just do the code so let's just do the code to the window open pop that in and then click on the verify button so that's been successfully verified and you can now see that if you go into all settings accounts and import and you have your branded email address connecting over SSL and port 465 so you can go ahead and make that default and that means that you'll basically your default sending email is gonna be that so this is where the signature comes in I would go ahead and I would just create a new signature for yourself whoops alright just gone ahead and made myself a very basic signature just dropped in little tucks guy and that line of texts now I'm gonna just save my signature and just make sure that that's associated they've changed this recently in Gmail that when I send email address the Daniel Rose low tech for new email and on reply for it it's now a bit more granular so I'm just gonna say for both new emails and for that reply I'm gonna use my Daniel Rose low tech signature I also typically do this insert the signature before the quota text and again save my changes so now if we click on compose in Gmail the tucks guy is broken let's not worry about that I'm sending from Gmail demo at Daniel Rose low tech as opposed to my Gmail address they can send to anyone in the world I always wonder who operates test-to-test.com because they've probably received quite a few emails from me over the years and this message that we're sending now is actually sending through the cPanel or the in other words the email that our host manages it's sending through that if we go send this test message to test-to-test.com and we can go into our webmail interface on the hosting email and we can find our message should be there as well if you're not sure that your email address is working to receive email we know it is because we just received the verification code you can go ahead and want to use use one of these online email diagnostic utilities but it shouldn't really be necessary it's pretty straightforward to set up and now we can use our we can use our branded email address or cPanel without ever having to go near our hosting dashboard or cPanel and just use everything from the convenience of Gmail this will inherit so if you're using your email from the app on your smartphone you will pick up the sending address and you don't need to worry about the receiving site because that's already configured on the host on the cPanel and it'll all come back to you so you can really use Gmail from wherever you typically use Gmail whether that's your laptop your desktop or your smartphone. Thanks for watching the video if you have enjoyed then please or you just want to get in touch you can reach out to me at danielrosil.co.io