Anvil: Web apps with nothing but Python Transcripts
Chapter: Hosting on a custom domain
Lecture: Hosting introduction
0:00 It's super fun to build a website
0:02 but if only you get to use it, how much fun is it really?
0:05 Obviously, we typically build websites
0:08 for a whole bunch of people.
0:10 In our wildest dreams, maybe millions of people.
0:12 But the first step in order to getting our app available
0:16 to anyone else is to give it a domain
0:18 make it available to people.
0:20 So there's a couple of options that we have.
0:23 We saw that we could already host our app
0:25 on that funky fresh fruit song
0:28 or something like that, domain, .anvil.app.
0:31 And that's fine, that's a pretty good public option.
0:34 But if you're really going to build a site
0:36 and make it professional
0:37 especially if you're going to do something like e-commerce
0:39 as we'll talk about soon
0:41 you definitely want it to be on its own domain.
0:44 So here's our app, but notice this time
0:47 there's a couple of really sweet things going on.
0:50 One, it has HTTPS, it's encrypted.
0:52 And two, it's on its own domain.
0:55 Now, I decided to make this a sub domain of talkpython.com
0:58 just so that I don't have to deal
1:00 with creating another domain and paying for it
1:03 year after year to keep it around.
1:05 It's easy to add it just as an extra sub domain
1:08 health, for talk python.
1:09 In our demo, we're actually going to use fitnessd
1:11 as in what you see right here, fitness, fitnessd
1:14 as the sub domain there.
1:16 But okay, so this is our goal of this chapter.
1:19 To get the Anvil app that we built up here
1:21 and running like this.
1:23 You'll see it's not too hard.
1:24 It does take a little bit of patience
1:26 because, well, DNS takes time.
1:28 There's some Let's Encrypt HTTPS certificates
1:31 that take a little bit of time, things like that.
1:33 But it's not hard and we'll do it right away.