So this is my Safana server.
I've just set up this is my digital ocean version.
That's the IP address the digital ocean gave me.
You will probably have a different IP address depending on which cloud provider you used and doesn't
matter.
It's always different.
Now that is the URL I'll use to access Mega-fauna server.
And while that's OK, it doesn't look very professional.
If I was to show this to a client.
So in the next three sections being point to my name, reverse proxy griffon and at SSL order several
changes to my setup so that rather than accessing Mega-fauna server using that address, I can access
it using a more professional looking TPS profanity spec code name just any domain name that you want
to use to represent your service.
OK.
So just looking at that for the moment, this is optional.
You can continue to use your IP address column three thousand to access your and a server if you wish
to, but I'm just showing you the steps in order to create a domain name and use hayseed TPS without
the port number just so that you know how to do it.
This is not Agraféna specific technique.
It can be applied to all servers services that you run on the internet, regardless of whether that's
Griffon or not.
I'm just going to show it to the next three sections anyway.
If you're not interested in that, you can just go straight down to the next section, create the first
data source.
Now, later on in the course, we will be doing email alerts and depending on which email provider you
send an email to, the email will probably be rejected if the domain name of the sender doesn't match
the IP address of the server that it's coming from.
So that's one of the benefits of using domain name and SSL, but you can delay that process if you really
want to and just move on to the events, get on with it pointing a domain name.
Now, as I said, I'm going to use that URL Bafana ISP code on it.
Now I already have a domain name and that is expected dot net so I can just create a subdomain for that
being Gravano, which I'll demonstrate in a moment.
If you don't have a domain name already or friend can't lend you one, I can recommend Namecheap, which
is, as I say, is cheap domain names.
Depending on which tale do you use.
For example, those so visit that link and you get a search tool and you can type in any domain you
think you want.
Doesn't matter what you want can be my service, my Bafana service, for example.
Search.
And you can buy any of those domains for that price.
Found a service to X-Y-Z is very, very cheap for the first to you, but I already have a domain name,
so I'm not going to use that.
I'm going to use my existing domain name ESP code dot net.
OK, so I've logged on to Namecheap, where I can manage my spec code dot net domain and I've pressed
the advanced DNS tab.
And down here I can add what's called a new name record.
Okay, so looking at this first section point domain name, I'm going to read an einem record for the
final dress code dot net a name record.
It points to that IP address there, and that's the IP address there that I got from Digital Ocean.
Your IP address will be different and your domain name will be two.
You can either point your main domain name that you bought or a subdomain of the main domain name.
It's up to you.
Okay, so I'm using the name user interface depending on where you buy your domain.
Names from the user interfaces will be different, but they'll all have a similar concept where you
can add a new record Bing and I record.
OK, so here in this row here, I've got a record for the host, which I'm going to call Bafana the
IP address being that copy the automatic, which is good and just press tic site changes.
Okay?
After some time that address Bafana Dot ESP code dot net, see, I'm modifying the My ESP code dot net
domain here.
You can also see that written here a name record alias that actually means ESP code dot net.
So Safana today speak code dot net to that IP address.
OK, so now if I try that address, I was sort of trying that where I'm using IP address.
I replaced that with the domain name Griffon s code dot net.
So so he's in code three thousand eighty TCP Bafana ISP code on it 3000 open a new browser hasn't propagated
just yet.
You can take some time.
You can use online tools called DNS Checker Something else or a command following on your server to
check the progress of propagation.
Open up that one.
I'm a type in just a domain name BenQ.
Often I thought it'd be code dot net and search that the name record hasn't yet propagated throughout.
OK, so let's check that again, and it looks like it's slowly propagating.
It can take some time.
It's taken two hours so far for me to get that far.
Sometimes it's much faster and sometimes it's much slower.
Let's try that again.
OK.
And that's working brilliant so far.
Dress code dot net, the domain name call and three thousand works.
OK, so I can move on to the next section.
Now I'm going to reverse proxy Carafano using Engine X so that I'll create a server side redirect,
which will host my domain on Port 80 and then internally redirect to port three thousand.
So I won't need to use that column three thousand anymore.
Anyway, that's in the next video.
So.
Excellent.
Let's continue.