Leon Welicki: Hello there and thank you very much for
joining us today in this new Azure Portal How To video.
Last week, we learned how to create an App Service
custom domain. This week, we learn how to add and
secure an App Service custom domain to your App
Service web app, and for that we have again Yutang
Lin, who’s going to show us how to do that. So, thank
you very much for joining us, Yutang.
Yutang Lin: Hello, Leon. Thank you so much for having
me, again. I love being here and I can’t way to show
all of our viewers our
there—hello, all the viewers—I hope
you’re all excited to learn how to add and secure custom
domain on App Service, as all of this is going to be very
simple and easy. And let me go ahead and how to do it.
So, right now we are on the web app that I have just
created and for this tutorial, I have assumed that you
have already started creating a web app, but if you haven’t,
don’t worry. We have a lot of different documentations
online to show you how to get started in creating a web
app, so just go ahead and follow that. And then once
you’re ready, you can come back to this video and start
learning how to add a custom domain to your web app.
So, right now within this
resource, let’s go scroll down to
these settings and let’s click on the custom domain’s part
of the web app. So, right here all you have to do is click
on add custom domain and then enter your custom domain.
So for this example in this tutorial, I’m going to show you
how to add a custom domain using an App Service domain
which was previously show in the last video and as you
can see, a lot of domains that I have previously created
So, let’s go ahead and add the amightybreakfast domain
right here. So, let’s go click www.amightybreakfast.com.
So, right now for example if you have a custom domain
that is from another domain provider, don’t worry, as you
can also still add that custom domain to your web app
on App Service, so make sure also to just follow the
instruction in updating your DNS records as for App
Service domains, we have everything taken care of for
you, so it’s just very easy and simple to add it. So, right
now, you want to add this custom domain. Let’s go ahead
and say add custom domain. So while this is adding, what
happens is that you would see this pop up within the list.
And now that it’s here, let’s go ahead and check this
custom domain app. So, let’s go ahead and say let’s view
this website. So, right now as you can see, we have added
a custom domain to this web app. So, a lot of you who
are out there who probably have a web app right now or
are thinking about having a web app but wanting to add
that personal touch of having your own domain to your
web app, this now possible with your App Service web apps.
But one more thing to note. You probably see a not
secure that’s right here
saying that this connection’s not
secure. How are we able to fix this? Don’t worry. We also
got you covered when it comes to securing your web apps.
So, all we have to do is go down to the TLS SSL settings
and click on private key certificates. And then the one
thing you want to look for is creating an App Service
managed certification. So, what is an App Service
Managed Certificate? This is a free certificate offering
from Azure App Service, whereas users can use this to
secure their custom domains. And also, we have auto
renewals taking care for you. So, all we have to do is
just create it, find it, and then you can just kind of forget
it and we’ll just take care of everything for you. So, let’s
go ahead and amightybreakfast is a domain that I want to
secure. And will go and say create. But given that this
will probably take just a little bit of time, but to show you
and keep the ball rolling, I already have another certificate
created, which is called the onedomainwonder certificate,
and that’s the domain I want to secure. So, let’s go ahead
click on custom domains. And one thing you want to make
sure is you always have to add a binding to your custom
domain in the sense that what we do here is that you
tell us what domain and what certificate you want to use,
and then we will take care of the rest for you. So as you
can see, I click on this domain and I want the certificate to
be used and I just go ahead and say add binding.
So, as well right now the binding is done. So as you can
see right here, it says that the domain is now secured.
So, as a way, let’s go and check it out, but before that,
don’t forget to just turn on your HTTPS only, as what
this does is that it makes sure it routes and redirects
all the traffic to an HTTPS secure endpoint so that your
users probably feel more safe accessing it. So, let’s go
ahead and click on
onedomainwonder and let’s browse it.
And now that we browse it, you can see this security log
right here and it tells you that your connection is secure.
So, these are just a very easy ways for you to be able to
add a custom domain and to secure your custom domain
on web apps in App Service.
Leon Welicki: Thank you
very much, Yutang, this is great.
Thanks, every one of you, for watching. Please try this out
[00:04:53.06]and let us know what you think. Leave us a comment in
the comments section, follow us on Twitter, and look
forward to seeing you in the next video. Thanks a lot
for watching.