title
Python Django Tutorial: How to Use a Custom Domain Name for Our Application

description
In this Python Django Tutorial, we will be learning how to set up a custom domain name for our application. We will use NameCheap as our domain registrar and Linode to host our server. Let's get started... If you would like $20 of free credit towards a Linode account, then you can use my link here to sign up: https://linode.com/coreyschafer Buy a domain at NameCheap: https://namecheap.pxf.io/c/1358746/408749/5618 Linode DNS Documentation: https://linode.com/docs/platform/manager/dns-manager-new-manager/ ✅ Support My Channel Through Patreon: https://www.patreon.com/coreyms ✅ Become a Channel Member: https://www.youtube.com/channel/UCCezIgC97PvUuR4_gbFUs5g/join ✅ One-Time Contribution Through PayPal: https://goo.gl/649HFY ✅ Cryptocurrency Donations: Bitcoin Wallet - 3MPH8oY2EAgbLVy7RBMinwcBntggi7qeG3 Ethereum Wallet - 0x151649418616068fB46C3598083817101d3bCD33 Litecoin Wallet - MPvEBY5fxGkmPQgocfJbxP6EmTo5UUXMot ✅ Corey's Public Amazon Wishlist http://a.co/inIyro1 ✅ Equipment I Use and Books I Recommend: https://www.amazon.com/shop/coreyschafer ▶️ You Can Find Me On: My Website - http://coreyms.com/ My Second Channel - https://www.youtube.com/c/coreymschafer Facebook - https://www.facebook.com/CoreyMSchafer Twitter - https://twitter.com/CoreyMSchafer Instagram - https://www.instagram.com/coreymschafer/ #Python #Django

detail
{'title': 'Python Django Tutorial: How to Use a Custom Domain Name for Our Application', 'heatmap': [{'end': 278.542, 'start': 259.772, 'weight': 1}, {'end': 1281.723, 'start': 1261.294, 'weight': 0.743}, {'end': 1461.979, 'start': 1443.704, 'weight': 0.702}], 'summary': "This tutorial series covers adding, registering, and setting up a custom domain for a django application, including the cost of domain registration, protecting privacy using whoisguard, purchasing and setting up the domain with linode and namecheap, configuring dns records, verifying dns changes, troubleshooting django deployment, and testing application functionality, providing practical insights and emphasizing the benefits of using linode's cloud manager and worldwide data centers.", 'chapters': [{'end': 193.922, 'segs': [{'end': 43.419, 'src': 'embed', 'start': 15.961, 'weight': 0, 'content': [{'end': 22.887, 'text': "In this video, we'll be walking through the complete process of buying a domain name and setting this up so that when we navigate to that domain,", 'start': 15.961, 'duration': 6.926}, {'end': 24.308, 'text': 'it takes us to our application.', 'start': 22.887, 'duration': 1.421}, {'end': 26.149, 'text': "So let's go ahead and get started.", 'start': 24.708, 'duration': 1.441}, {'end': 28.51, 'text': 'So first we need to register a domain name.', 'start': 26.469, 'duration': 2.041}, {'end': 32.192, 'text': 'So registering a domain name does cost money, but it is pretty cheap.', 'start': 28.85, 'duration': 3.342}, {'end': 34.974, 'text': 'They usually run about $10 to $12 a year.', 'start': 32.692, 'duration': 2.282}, {'end': 37.395, 'text': 'So that runs about a dollar a month.', 'start': 35.354, 'duration': 2.041}, {'end': 43.419, 'text': "Now in order to register a domain, you're going to have to do that through something called a domain registrar.", 'start': 37.796, 'duration': 5.623}], 'summary': 'The process of buying a domain costs about $10 to $12 a year and requires a domain registrar.', 'duration': 27.458, 'max_score': 15.961, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/D2lwk1Ukgz0/pics/D2lwk1Ukgz015961.jpg'}, {'end': 106.01, 'src': 'embed', 'start': 74.692, 'weight': 1, 'content': [{'end': 76.373, 'text': "And if you'd like to use Namecheap as well,", 'start': 74.692, 'duration': 1.681}, {'end': 82.036, 'text': "then I'll put an affiliate link in the description section below where you can go and create an account if you would like to use them.", 'start': 76.373, 'duration': 5.663}, {'end': 87.639, 'text': "But once you've created an account with your registrar, then we can search for domain names by going to their website.", 'start': 82.457, 'duration': 5.182}, {'end': 91.241, 'text': 'And usually they have a search bar where you can search for domains.', 'start': 88.02, 'duration': 3.221}, {'end': 94.123, 'text': 'So this one here is right front and center.', 'start': 91.582, 'duration': 2.541}, {'end': 99.366, 'text': "Now, if you've never bought a domain name before, then it's actually pretty difficult to find one that isn't taken.", 'start': 94.503, 'duration': 4.863}, {'end': 106.01, 'text': "So if you want a domain with four or five letters, then you're pretty much going to be out of luck because those are likely all taken.", 'start': 99.886, 'duration': 6.124}], 'summary': 'Instructions on using namecheap affiliate link to create an account, search for domain names, and the difficulty in finding available domain names.', 'duration': 31.318, 'max_score': 74.692, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/D2lwk1Ukgz0/pics/D2lwk1Ukgz074692.jpg'}, {'end': 171.907, 'src': 'embed', 'start': 147.773, 'weight': 3, 'content': [{'end': 156.557, 'text': 'So I searched earlier and I think if I wanted my domain to be like myawesomeapp.com, then I think that this is still available.', 'start': 147.773, 'duration': 8.784}, {'end': 165.903, 'text': "So if I search the registrar for that, then we can see that myawesomeapp.com is available and that it's available for $8.88 a year,", 'start': 157.038, 'duration': 8.865}, {'end': 167.404, 'text': 'which is less than a dollar a month.', 'start': 165.903, 'duration': 1.501}, {'end': 168.084, 'text': "so that's pretty good.", 'start': 167.404, 'duration': 0.68}, {'end': 171.907, 'text': 'Now, some registrars will also offer you other top-level domains as well.', 'start': 168.425, 'duration': 3.482}], 'summary': 'The domain myawesomeapp.com is available for $8.88 a year, less than a dollar a month.', 'duration': 24.134, 'max_score': 147.773, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/D2lwk1Ukgz0/pics/D2lwk1Ukgz0147773.jpg'}], 'start': 0.249, 'title': 'Adding and buying custom domain names', 'summary': 'Covers the process of adding a custom domain to a private linux server, including the cost of domain registration which typically ranges from $8.88 to $12 a year. it also discusses the challenges of finding available domain names and highlights the process of searching for and purchasing a domain.', 'chapters': [{'end': 91.241, 'start': 0.249, 'title': 'Adding custom domain to website', 'summary': 'Covers the process of adding a custom domain to a website deployed on a private linux server, including the cost of domain registration, choice of domain registrar, and a walkthrough of the process, with domain registration typically costing $10 to $12 a year.', 'duration': 90.992, 'highlights': ['Registering a domain name costs about $10 to $12 a year, making it a relatively inexpensive investment.', 'The chapter walks through the process of choosing a domain registrar, with Namecheap being the preferred choice due to its ease of use.', 'The process includes a walkthrough of domain registration and setting up the domain to navigate to the application, providing practical guidance for viewers.', 'Information about alternative domain registrars such as Google Domains and GoDaddy is shared, offering viewers a range of options for domain registration.', 'The chapter emphasizes the ease of use of Namecheap for domain registration and provides an affiliate link for viewers interested in using the same service.']}, {'end': 193.922, 'start': 91.582, 'title': 'Finding and buying domain names', 'summary': 'Discusses the challenges of finding available domain names, emphasizes the difficulty of securing short domain names, and highlights the process of searching for and purchasing a domain, citing an example of myawesomeapp.com being available for $8.88 a year.', 'duration': 102.34, 'highlights': ["It's difficult to find available domain names, especially short ones with four or five letters, as they are likely already taken.", "Short, desirable domain names like myawesomeblog.com may be taken, and there's no guarantee that making an offer will be successful.", 'The domain myawesomeapp.com is available for $8.88 a year, less than a dollar a month, making it a good option for purchase.', 'Registrars may offer additional top-level domains such as .net, .org, and .io, providing options for securing multiple domain names for a single application or project.']}], 'duration': 193.673, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/D2lwk1Ukgz0/pics/D2lwk1Ukgz0249.jpg', 'highlights': ['Registering a domain name costs about $10 to $12 a year, making it a relatively inexpensive investment.', 'The chapter emphasizes the ease of use of Namecheap for domain registration and provides an affiliate link for viewers interested in using the same service.', 'The process includes a walkthrough of domain registration and setting up the domain to navigate to the application, providing practical guidance for viewers.', 'The domain myawesomeapp.com is available for $8.88 a year, less than a dollar a month, making it a good option for purchase.', 'Registrars may offer additional top-level domains such as .net, .org, and .io, providing options for securing multiple domain names for a single application or project.']}, {'end': 324.669, 'segs': [{'end': 256.011, 'src': 'embed', 'start': 193.922, 'weight': 0, 'content': [{'end': 200.788, 'text': "we're going to see that it's going to offer us some other add-ons, which is pretty common whenever you check out on sites like this.", 'start': 193.922, 'duration': 6.866}, {'end': 203.09, 'text': "I usually don't take the add-ons.", 'start': 201.388, 'duration': 1.702}, {'end': 205.632, 'text': "So we're going to register for this domain.", 'start': 203.71, 'duration': 1.922}, {'end': 207.513, 'text': 'You can choose, you know, one year, two years.', 'start': 205.732, 'duration': 1.781}, {'end': 210.536, 'text': "I'm just going to do one year since this is probably just a throwaway domain.", 'start': 207.613, 'duration': 2.923}, {'end': 217.621, 'text': "Um, it says that there's also a fee associated that is, uh, this, I can fee, uh, that's going to be through any of those.", 'start': 211.176, 'duration': 6.445}, {'end': 224.907, 'text': 'Um, now this who is guard, we can see that it is enabled and set up to auto renew, and that is $0.', 'start': 218.142, 'duration': 6.765}, {'end': 225.927, 'text': 'That is free forever.', 'start': 224.907, 'duration': 1.02}, {'end': 232.532, 'text': 'Uh, now I actually do recommend, uh, checking this because, uh, who is guard, uh, what that does is it.', 'start': 226.388, 'duration': 6.144}, {'end': 236.335, 'text': 'protects your privacy with buying this domain.', 'start': 233.673, 'duration': 2.662}, {'end': 244.242, 'text': "So a lot of people don't know this, but whenever you register a domain, you actually have to put in a lot of information like your name, your address,", 'start': 236.676, 'duration': 7.566}, {'end': 245.903, 'text': 'how to get a hold of you and things like that.', 'start': 244.242, 'duration': 1.661}, {'end': 256.011, 'text': "Now, if you don't use some type of protection in this case it's something called WhoisGuard then that information is going to be available to people who look up that information.", 'start': 246.363, 'duration': 9.648}], 'summary': 'Registering domain, choosing one year, enabling whoisguard for privacy.', 'duration': 62.089, 'max_score': 193.922, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/D2lwk1Ukgz0/pics/D2lwk1Ukgz0193922.jpg'}, {'end': 289.91, 'src': 'heatmap', 'start': 259.772, 'weight': 1, 'content': [{'end': 263.174, 'text': 'So if I pull up my terminal here, there is a Linux command called whois.', 'start': 259.772, 'duration': 3.402}, {'end': 268.536, 'text': 'And if I say whois and go to coreyms.com, that is my main website.', 'start': 263.194, 'duration': 5.342}, {'end': 278.542, 'text': 'If I type that in, then we can see if I scroll up here a little bit, We can see that the registrar for this is it blocks all my private information.', 'start': 269.116, 'duration': 9.426}, {'end': 282.344, 'text': 'So the who is server is at whois.namecheap.com.', 'start': 278.602, 'duration': 3.742}, {'end': 289.91, 'text': 'If I go up here, things like the address, this is through a whois guard.', 'start': 283.085, 'duration': 6.825}], 'summary': "Using the linux command 'whois' for coreyms.com reveals registrar and server details.", 'duration': 30.138, 'max_score': 259.772, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/D2lwk1Ukgz0/pics/D2lwk1Ukgz0259772.jpg'}], 'start': 193.922, 'title': 'Registering a domain and protecting privacy', 'summary': 'Discusses the process of registering a domain for one year and the importance of using whoisguard to protect personal information, highlighting the free whoisguard service and its role in safeguarding privacy.', 'chapters': [{'end': 324.669, 'start': 193.922, 'title': 'Registering a domain and protecting privacy', 'summary': 'Discusses the process of registering a domain for one year and the importance of using whoisguard to protect personal information, highlighting the free whoisguard service and its role in safeguarding privacy.', 'duration': 130.747, 'highlights': ['The WhoisGuard service is enabled and set up to auto renew for $0, providing free privacy protection for domain registration.', 'Without using a protection service like WhoisGuard, personal information such as name, address, phone number, and email address would be available to anyone who looks up the domain information.', 'Registering a domain for one year is chosen, with the mention of optional add-ons like premium DNS and private email, which the speaker does not require.']}], 'duration': 130.747, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/D2lwk1Ukgz0/pics/D2lwk1Ukgz0193922.jpg', 'highlights': ['The WhoisGuard service is enabled and set up to auto renew for $0, providing free privacy protection for domain registration.', 'Without using a protection service like WhoisGuard, personal information such as name, address, phone number, and email address would be available to anyone who looks up the domain information.', 'Registering a domain for one year is chosen, with the mention of optional add-ons like premium DNS and private email, which the speaker does not require.']}, {'end': 609.531, 'segs': [{'end': 355.599, 'src': 'embed', 'start': 324.729, 'weight': 3, 'content': [{'end': 325.79, 'text': "I'm just going to use the domain.", 'start': 324.729, 'duration': 1.061}, {'end': 327.692, 'text': "So I'm going to go to confirm order here.", 'start': 326.07, 'duration': 1.622}, {'end': 331.393, 'text': "And now we're taken to the page where we can pay for that order.", 'start': 328.472, 'duration': 2.921}, {'end': 334.394, 'text': "So I've already got a credit card set up on here.", 'start': 331.973, 'duration': 2.421}, {'end': 341.376, 'text': "But if you haven't set that up, then you're going to have to use like a credit card or PayPal or something like that in order to buy your domain.", 'start': 334.874, 'duration': 6.502}, {'end': 344.617, 'text': "So I'm going to go to pay now and actually pay for this.", 'start': 341.676, 'duration': 2.941}, {'end': 348.378, 'text': 'Okay, so my payment was completed.', 'start': 346.797, 'duration': 1.581}, {'end': 350.958, 'text': 'So now that domain name should be mine.', 'start': 348.698, 'duration': 2.26}, {'end': 355.599, 'text': "So now I'm going to go down here and click on manage beside this domain name.", 'start': 351.358, 'duration': 4.241}], 'summary': 'Purchased domain using existing credit card, payment completed, now managing domain.', 'duration': 30.87, 'max_score': 324.729, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/D2lwk1Ukgz0/pics/D2lwk1Ukgz0324729.jpg'}, {'end': 463.912, 'src': 'embed', 'start': 430.256, 'weight': 1, 'content': [{'end': 436.597, 'text': 'So if we go down here to our DNS setup checklist, then we can see that it walks through the process.', 'start': 430.256, 'duration': 6.341}, {'end': 439.978, 'text': "So register, purchase a domain name if you haven't already.", 'start': 436.897, 'duration': 3.081}, {'end': 442.299, 'text': "So that's what we just now did using Namecheap.", 'start': 440.118, 'duration': 2.181}, {'end': 446.72, 'text': "And now it says, set your domain name to use Linode's name servers.", 'start': 442.719, 'duration': 4.001}, {'end': 453.101, 'text': "You'll need to do this on your domain registrar's website, then wait up to 24 hours for the change to take effect.", 'start': 447.04, 'duration': 6.061}, {'end': 463.912, 'text': "So what they mean here, if I click on this, use Linode's name servers, these are Linode's name servers here, ns1.linode.com, ns2.linode.com.", 'start': 453.641, 'duration': 10.271}], 'summary': "Dns setup checklist: register domain with namecheap, use linode's name servers.", 'duration': 33.656, 'max_score': 430.256, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/D2lwk1Ukgz0/pics/D2lwk1Ukgz0430256.jpg'}, {'end': 503.01, 'src': 'embed', 'start': 475.165, 'weight': 2, 'content': [{'end': 481.012, 'text': "So we're going to go back to Namecheap and we're going to set those equal to these Linode name servers here.", 'start': 475.165, 'duration': 5.847}, {'end': 486.578, 'text': "So I'm going to go to my domain list and you're going to see a option over here for manage.", 'start': 481.412, 'duration': 5.166}, {'end': 488.04, 'text': "I'm going to click on manage.", 'start': 486.598, 'duration': 1.442}, {'end': 492.943, 'text': 'And now we can see that we have a lot of different options for managing our domain name.', 'start': 489.321, 'duration': 3.622}, {'end': 498.907, 'text': 'So we can add years to our registration, we can add years to our WhoisGuard, buy some other services.', 'start': 493.304, 'duration': 5.603}, {'end': 503.01, 'text': "Now what I'm interested in is the name servers here.", 'start': 499.328, 'duration': 3.682}], 'summary': 'Setting linode name servers on namecheap domain.', 'duration': 27.845, 'max_score': 475.165, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/D2lwk1Ukgz0/pics/D2lwk1Ukgz0475165.jpg'}, {'end': 588.957, 'src': 'embed', 'start': 561.562, 'weight': 0, 'content': [{'end': 569.446, 'text': 'So that was NS1, NS2, NS3, NS4, and NS5.lenoad.com.', 'start': 561.562, 'duration': 7.884}, {'end': 571.366, 'text': 'So I will save that.', 'start': 569.806, 'duration': 1.56}, {'end': 577.989, 'text': 'Okay, and once that is updated, we can see up here it says DNS name servers usually take 48 hours to switch over.', 'start': 572.107, 'duration': 5.882}, {'end': 581.772, 'text': 'So this could take some time.', 'start': 579.85, 'duration': 1.922}, {'end': 586.796, 'text': "I've actually never seen it take 48 hours on Linode's documentation.", 'start': 582.252, 'duration': 4.544}, {'end': 588.957, 'text': 'They say it can be 24 hours.', 'start': 586.856, 'duration': 2.101}], 'summary': "Updating dns name servers may take up to 48 hours, but linode's documentation suggests it can be 24 hours.", 'duration': 27.395, 'max_score': 561.562, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/D2lwk1Ukgz0/pics/D2lwk1Ukgz0561562.jpg'}], 'start': 324.729, 'title': 'Domain purchase and setup', 'summary': 'Covers purchasing a domain through namecheap, including payment methods, and setting up the domain with linode, involving name server setup and dns settings, with a waiting period of up to 48 hours for changes to take effect.', 'chapters': [{'end': 367.31, 'start': 324.729, 'title': 'Domain purchase and management', 'summary': 'Details the process of purchasing a domain through namecheap, including using a credit card or paypal for payment and managing registered domains, with emphasis on the completion of payment and accessing the domain management page.', 'duration': 42.581, 'highlights': ['The chapter emphasizes the completion of payment for the domain, indicating the finalization of the purchase.', 'The process of purchasing a domain through Namecheap involves using a credit card or PayPal for payment, highlighting the available payment options.', 'Accessing the domain management page is demonstrated, showcasing the ability to manage registered domains through Namecheap.']}, {'end': 609.531, 'start': 367.31, 'title': 'Setting up domain name with linode', 'summary': "Details the process of setting up a domain name using linode, including registering the domain, setting up linode's name servers, and updating the dns settings, with a waiting period of up to 48 hours for the changes to take effect.", 'duration': 242.221, 'highlights': ["Linode's name servers, ns1.linode.com, ns2.linode.com, need to be set as the domain's name servers, and it may take up to 24-48 hours for the changes to take effect.", "The process involves registering the domain, setting the domain to use Linode's name servers, and updating the DNS settings to let Linode handle the traffic instead of Namecheap.", "The waiting period for DNS name servers to switch over can take up to 48 hours, but Linode's documentation suggests it can be as quick as 24 hours."]}], 'duration': 284.802, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/D2lwk1Ukgz0/pics/D2lwk1Ukgz0324729.jpg', 'highlights': ["The waiting period for DNS name servers to switch over can take up to 48 hours, but Linode's documentation suggests it can be as quick as 24 hours.", "The process involves registering the domain, setting the domain to use Linode's name servers, and updating the DNS settings to let Linode handle the traffic instead of Namecheap.", 'Accessing the domain management page is demonstrated, showcasing the ability to manage registered domains through Namecheap.', 'The process of purchasing a domain through Namecheap involves using a credit card or PayPal for payment, highlighting the available payment options.', "Linode's name servers, ns1.linode.com, ns2.linode.com, need to be set as the domain's name servers, and it may take up to 24-48 hours for the changes to take effect.", 'The chapter emphasizes the completion of payment for the domain, indicating the finalization of the purchase.']}, {'end': 989.357, 'segs': [{'end': 659.99, 'src': 'embed', 'start': 609.531, 'weight': 0, 'content': [{'end': 612.412, 'text': 'so we can see here if we scroll back up to the checklist.', 'start': 609.531, 'duration': 2.881}, {'end': 614.192, 'text': 'so we have now done number two.', 'start': 612.412, 'duration': 1.78}, {'end': 617.773, 'text': "here we've set our domain name to use the Linode's name servers.", 'start': 614.192, 'duration': 3.581}, {'end': 618.753, 'text': "so that's done.", 'start': 617.773, 'duration': 0.98}, {'end': 626.875, 'text': 'so, moving on to number three, use the DNS manager to add a domain zone and then start adding some basic DNS records.', 'start': 618.753, 'duration': 8.122}, {'end': 632.917, 'text': 'so at that point we can go back to our domains here and what it means by adding a domain zone.', 'start': 626.875, 'duration': 6.042}, {'end': 636.399, 'text': "If we click on our domains, then I'm going to go to add a domain.", 'start': 633.377, 'duration': 3.022}, {'end': 640.721, 'text': "And on the domain here, it's going to ask us what domain we want to add.", 'start': 637.059, 'duration': 3.662}, {'end': 652.707, 'text': "So I'm going to say myawesomeapp.com and the email address, I'm just going to say admin at myawesomeapp.com.", 'start': 641.441, 'duration': 11.266}, {'end': 656.549, 'text': "That's not actually set up yet, but I'm just going to add that in for now.", 'start': 652.827, 'duration': 3.722}, {'end': 659.99, 'text': 'and we can add some tags if we want to add some tags to this domain.', 'start': 656.989, 'duration': 3.001}], 'summary': "Configured domain name to use linode's name servers, added domain zone and basic dns records.", 'duration': 50.459, 'max_score': 609.531, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/D2lwk1Ukgz0/pics/D2lwk1Ukgz0609531.jpg'}, {'end': 756.46, 'src': 'embed', 'start': 726.165, 'weight': 1, 'content': [{'end': 730.871, 'text': 'Locate the section for the type of DNS record that you want to add, then click Add a DNS record.', 'start': 726.165, 'duration': 4.706}, {'end': 734.836, 'text': "So what we're going to add is an A record here.", 'start': 731.432, 'duration': 3.404}, {'end': 741.224, 'text': "So I'm going to go back to our section here, and I'm going to say Add an A record.", 'start': 735.236, 'duration': 5.988}, {'end': 747.17, 'text': 'and when we add an A record, we need a host name and we need an IP address.', 'start': 741.704, 'duration': 5.466}, {'end': 756.46, 'text': 'so the host name if I look at the documentation here, so this will be something like www and then the IP address is the IP address of our application.', 'start': 747.17, 'duration': 9.29}], 'summary': 'Adding an a record requires a hostname and ip address.', 'duration': 30.295, 'max_score': 726.165, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/D2lwk1Ukgz0/pics/D2lwk1Ukgz0726165.jpg'}, {'end': 934.407, 'src': 'embed', 'start': 907.889, 'weight': 3, 'content': [{'end': 912.231, 'text': "so it's kind of the reverse of dns, which is why it's called reverse dns.", 'start': 907.889, 'duration': 4.342}, {'end': 918.594, 'text': "so what we're going to do here is associate our ip address with our domain name instead of our domain name with our IP address.", 'start': 912.231, 'duration': 6.363}, {'end': 925.179, 'text': 'So going back here, if I look at the IPv4 address here, this is our IP address.', 'start': 918.934, 'duration': 6.245}, {'end': 934.407, 'text': 'If I click here on our settings, we can see that we can view this or we can edit our DNS and that is reverse DNS.', 'start': 925.64, 'duration': 8.767}], 'summary': 'Explaining reverse dns and associating ip address with domain name.', 'duration': 26.518, 'max_score': 907.889, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/D2lwk1Ukgz0/pics/D2lwk1Ukgz0907889.jpg'}], 'start': 609.531, 'title': 'Setting up dns records', 'summary': "Covers setting up a domain and dns records using linode's name servers, including adding a domain zone and basic dns records for myawesomeapp.com. it also explains setting up dns records, adding a records, setting up reverse dns, and mentions the time it takes for changes to take effect.", 'chapters': [{'end': 659.99, 'start': 609.531, 'title': 'Setting up domain and dns records', 'summary': "Covers setting up a domain and dns records using linode's name servers, including adding a domain zone and basic dns records for myawesomeapp.com.", 'duration': 50.459, 'highlights': ["Adding a domain zone and basic DNS records for myawesomeapp.com by using Linode's name servers.", "Setting the domain name to use Linode's name servers.", 'Specifying the domain and email address while adding a domain.']}, {'end': 989.357, 'start': 660.13, 'title': 'Setting up dns records', 'summary': 'Covers setting up dns records, including adding a records and setting up reverse dns, with a mention of the time it takes for changes to take effect.', 'duration': 329.227, 'highlights': ['Explaining the process of adding A records with a host name and IP address, with an example of retrieving the IP address from the server dashboard. A records, IP addresses', 'Clarifying the concept of reverse DNS and how to associate an IP address with a domain name, with a mention of the potential delay in changes taking effect. Reverse DNS, time delay']}], 'duration': 379.826, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/D2lwk1Ukgz0/pics/D2lwk1Ukgz0609531.jpg', 'highlights': ["Adding a domain zone and basic DNS records for myawesomeapp.com by using Linode's name servers.", 'Explaining the process of adding A records with a host name and IP address, with an example of retrieving the IP address from the server dashboard.', "Setting the domain name to use Linode's name servers.", 'Clarifying the concept of reverse DNS and how to associate an IP address with a domain name, with a mention of the potential delay in changes taking effect.', 'Specifying the domain and email address while adding a domain.']}, {'end': 1281.723, 'segs': [{'end': 1058.824, 'src': 'embed', 'start': 1035.496, 'weight': 0, 'content': [{'end': 1043.387, 'text': "So at this point I'm going to pause the video and wait a couple of hours and keep trying this, and as soon as I get something different here,", 'start': 1035.496, 'duration': 7.891}, {'end': 1045.351, 'text': 'then we will move forward with the tutorial.', 'start': 1043.387, 'duration': 1.964}, {'end': 1050.559, 'text': 'Okay so I took a little break and came back to this after about 30 minutes or so.', 'start': 1046.212, 'duration': 4.347}, {'end': 1054.862, 'text': "And usually these changes don't take that long.", 'start': 1051.7, 'duration': 3.162}, {'end': 1057.443, 'text': 'So I think 30 minutes should be long enough.', 'start': 1054.902, 'duration': 2.541}, {'end': 1058.824, 'text': "So let's try this out.", 'start': 1057.763, 'duration': 1.061}], 'summary': 'The speaker took a 30-minute break and then continued with the tutorial.', 'duration': 23.328, 'max_score': 1035.496, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/D2lwk1Ukgz0/pics/D2lwk1Ukgz01035496.jpg'}, {'end': 1110.457, 'src': 'embed', 'start': 1083.916, 'weight': 2, 'content': [{'end': 1091.599, 'text': 'So now I may have to sign back in here, but let me close that out and try to do this again.', 'start': 1083.916, 'duration': 7.683}, {'end': 1092.98, 'text': "No, it looks like I'm still signed in.", 'start': 1091.759, 'duration': 1.221}, {'end': 1098.906, 'text': "So now for this reverse DNS, I'm going to do this for the IPv4 address.", 'start': 1093.56, 'duration': 5.346}, {'end': 1109.736, 'text': "I'm going to set this equal to www.myawesomeapp.com and I will save that and we can see that that time it actually went through.", 'start': 1099.266, 'duration': 10.47}, {'end': 1110.457, 'text': 'So that worked.', 'start': 1109.836, 'duration': 0.621}], 'summary': 'Successfully configured reverse dns for ipv4 address to www.myawesomeapp.com', 'duration': 26.541, 'max_score': 1083.916, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/D2lwk1Ukgz0/pics/D2lwk1Ukgz01083916.jpg'}, {'end': 1160.813, 'src': 'embed', 'start': 1129.93, 'weight': 1, 'content': [{'end': 1137.759, 'text': 'And if we remember back In the last video where we deployed our Django application, there were a few changes that we made to the settings.py file.', 'start': 1129.93, 'duration': 7.829}, {'end': 1142.184, 'text': 'Now, one of those settings that we changed was a setting called allowed host.', 'start': 1138.119, 'duration': 4.065}, {'end': 1150.79, 'text': 'And what we have to do is we have to add our domain name into those allowed hosts in the settings in order for this to work.', 'start': 1143.005, 'duration': 7.785}, {'end': 1160.813, 'text': "So I am going to open up my terminal here, and I'm going to SSH into our Django server, just like we did in the last video.", 'start': 1151.17, 'duration': 9.643}], 'summary': 'Changes made to settings.py file include adding domain name to allowed hosts for django application deployment.', 'duration': 30.883, 'max_score': 1129.93, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/D2lwk1Ukgz0/pics/D2lwk1Ukgz01129930.jpg'}, {'end': 1289.128, 'src': 'heatmap', 'start': 1261.294, 'weight': 0.743, 'content': [{'end': 1267.017, 'text': 'So we can hit control X, Y to save, and then enter to keep the same file name.', 'start': 1261.294, 'duration': 5.723}, {'end': 1275.46, 'text': "And now if I restart our Linux server, then we can say, or our Apache server, I'm sorry.", 'start': 1267.877, 'duration': 7.583}, {'end': 1281.723, 'text': 'We can say sudo service apache2 restart.', 'start': 1275.76, 'duration': 5.963}, {'end': 1289.128, 'text': 'So if I restart that and go back to our browser here and reload this, hopefully this works.', 'start': 1282.702, 'duration': 6.426}], 'summary': "Restart apache server with 'sudo service apache2 restart' in linux.", 'duration': 27.834, 'max_score': 1261.294, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/D2lwk1Ukgz0/pics/D2lwk1Ukgz01261294.jpg'}], 'start': 989.757, 'title': 'Verifying dns changes and troubleshooting django deployment', 'summary': 'Explains how to verify dns changes with a suggested wait time of 30 minutes and discusses troubleshooting django deployment including resolving a bad request 400 error, setting up reverse dns, and modifying the allowed host settings in the settings.py file.', 'chapters': [{'end': 1058.824, 'start': 989.757, 'title': 'Verifying dns changes', 'summary': 'Explains how to verify dns changes by performing a hard refresh on the browser and waiting for a different result, with a suggested wait time of 30 minutes.', 'duration': 69.067, 'highlights': ['Performing a hard refresh in the browser, such as Command Shift R on a Mac, to reload the browser without any caching.', 'Waiting for a different result after a suggested wait time of 30 minutes to verify DNS changes.', "Noting that usually these changes don't take long, indicating a wait time of 30 minutes should be sufficient."]}, {'end': 1281.723, 'start': 1058.944, 'title': 'Troubleshooting django deployment', 'summary': 'Discusses troubleshooting the deployment of a django application, including resolving a bad request 400 error, setting up reverse dns, and modifying the allowed host settings in the settings.py file to enable the application to work with the domain name www.myawesomeapp.com.', 'duration': 222.779, 'highlights': ['Resolving bad request 400 error indicates progress, as it suggests the transition away from the Namecheap page to Linode. The bad request 400 error indicates progress as it suggests the transition away from the Namecheap page to Linode, showing positive movement in the troubleshooting process.', 'Successfully setting the reverse DNS for the IPv4 address to www.myawesomeapp.com and verifying its functionality. Successfully setting the reverse DNS for the IPv4 address to www.myawesomeapp.com and verifying its functionality by ensuring it goes through, demonstrating a successful configuration.', 'Modifying the allowed host settings in the settings.py file to include www.myawesomeapp.com to resolve the bad request issue. Modifying the allowed host settings in the settings.py file to include www.myawesomeapp.com in order to resolve the bad request issue, a crucial step in enabling the application to work with the specified domain.']}], 'duration': 291.966, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/D2lwk1Ukgz0/pics/D2lwk1Ukgz0989757.jpg', 'highlights': ['Waiting for a different result after a suggested wait time of 30 minutes to verify DNS changes.', 'Modifying the allowed host settings in the settings.py file to include www.myawesomeapp.com to resolve the bad request issue.', 'Successfully setting the reverse DNS for the IPv4 address to www.myawesomeapp.com and verifying its functionality.']}, {'end': 1624.92, 'segs': [{'end': 1311.508, 'src': 'embed', 'start': 1282.702, 'weight': 0, 'content': [{'end': 1289.128, 'text': 'So if I restart that and go back to our browser here and reload this, hopefully this works.', 'start': 1282.702, 'duration': 6.426}, {'end': 1299.277, 'text': 'Okay, so we can see that we have our Django application running here in the browser and we are at the domain www.myawesomeapp.com.', 'start': 1289.348, 'duration': 9.929}, {'end': 1301.079, 'text': "So this looks like it's working.", 'start': 1299.437, 'duration': 1.642}, {'end': 1303.321, 'text': "So let's run through a couple of tests here.", 'start': 1301.399, 'duration': 1.922}, {'end': 1311.508, 'text': 'So if I log in as an existing user, Then we can see that that works.', 'start': 1304.082, 'duration': 7.426}], 'summary': 'Django application running at www.myawesomeapp.com with successful user login.', 'duration': 28.806, 'max_score': 1282.702, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/D2lwk1Ukgz0/pics/D2lwk1Ukgz01282702.jpg'}, {'end': 1435.92, 'src': 'embed', 'start': 1405.838, 'weight': 1, 'content': [{'end': 1408.541, 'text': 'So the way that we can fix this.', 'start': 1405.838, 'duration': 2.703}, {'end': 1419.552, 'text': "if we go back into our Linode here, if we go back to our domains and then myawesomeapp.com, let's click on this and go to Edit DNS Records.", 'start': 1408.541, 'duration': 11.011}, {'end': 1428.016, 'text': "And let's go down to our A records and let's add another A record and let's leave that host empty.", 'start': 1420.252, 'duration': 7.764}, {'end': 1430.277, 'text': "And now let's put in the IP address.", 'start': 1428.396, 'duration': 1.881}, {'end': 1432.799, 'text': 'Now we can kind of see the IP address over here.', 'start': 1430.377, 'duration': 2.422}, {'end': 1435.92, 'text': 'So this is going to be your IP, but my IP is 198.58.', 'start': 1433.539, 'duration': 2.381}], 'summary': 'Add a record with ip 198.58 to fix dns issue.', 'duration': 30.082, 'max_score': 1405.838, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/D2lwk1Ukgz0/pics/D2lwk1Ukgz01405838.jpg'}, {'end': 1475.75, 'src': 'heatmap', 'start': 1443.704, 'weight': 0.702, 'content': [{'end': 1445.526, 'text': 'so i will save that.', 'start': 1443.704, 'duration': 1.822}, {'end': 1454.693, 'text': "and now, if we go back to our dashboard here, i don't know if that is enough to work or not.", 'start': 1445.526, 'duration': 9.167}, {'end': 1457.435, 'text': "so let's try that and reload this.", 'start': 1454.693, 'duration': 2.742}, {'end': 1461.979, 'text': "so it looks like it's not picking up that change in the dns record yet.", 'start': 1457.435, 'duration': 4.544}, {'end': 1471.247, 'text': 'so this is another one of those things that you might have to wait for, but after a while this should go to our application as well.', 'start': 1461.979, 'duration': 9.268}, {'end': 1475.75, 'text': 'So you can wait for that, just like we waited for the other ones.', 'start': 1471.767, 'duration': 3.983}], 'summary': 'Trouble with dns record change, may require waiting for application update.', 'duration': 32.046, 'max_score': 1443.704, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/D2lwk1Ukgz0/pics/D2lwk1Ukgz01443704.jpg'}, {'end': 1570.701, 'src': 'embed', 'start': 1532.885, 'weight': 2, 'content': [{'end': 1535.166, 'text': "Now, if you're doing something that's fairly common,", 'start': 1532.885, 'duration': 2.281}, {'end': 1541.688, 'text': 'then they have a stack scripts that allow you to spin up a server with all of the relevant software ready to go.', 'start': 1535.166, 'duration': 6.522}, {'end': 1545.969, 'text': "So, for example, if you're making a WordPress site or something like that,", 'start': 1542.108, 'duration': 3.861}, {'end': 1550.991, 'text': 'then you can simply choose their WordPress stack script that spins up a server with WordPress ready to go.', 'start': 1545.969, 'duration': 5.022}, {'end': 1558.275, 'text': 'They also have nine worldwide data centers so far and have two more set to open this year in 2019.', 'start': 1551.671, 'duration': 6.604}, {'end': 1562.036, 'text': 'So no matter where you are, you should be able to spin up a server close to your audience.', 'start': 1558.275, 'duration': 3.761}, {'end': 1563.717, 'text': 'So if you want to check them out,', 'start': 1562.377, 'duration': 1.34}, {'end': 1570.701, 'text': 'then feel free to use my referral link in the description section below and you can get $20 of credit applied to your account to try them out.', 'start': 1563.717, 'duration': 6.984}], 'summary': 'Company offers stack scripts for easy server setup, 9 data centers with 2 more opening in 2019, and $20 credit for new users.', 'duration': 37.816, 'max_score': 1532.885, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/D2lwk1Ukgz0/pics/D2lwk1Ukgz01532885.jpg'}], 'start': 1282.702, 'title': 'Testing django application and setting up custom domain', 'summary': "Details testing a django application's functionality, including user authentication, profile management, and post creation, as well as updating dns records. it also covers setting up a custom domain using linode and namecheap, offering a $20 credit for trying linode, and emphasizing the benefits of linode's cloud manager and worldwide data centers.", 'chapters': [{'end': 1487.018, 'start': 1282.702, 'title': 'Testing django application and updating dns records', 'summary': 'Details the testing of a django application functionality, including user authentication, profile management, post creation and deletion, as well as accessing the admin page. it also includes the process of updating dns records to accommodate domain name changes.', 'duration': 204.316, 'highlights': ['The chapter demonstrates testing various functionalities of the Django application, including user authentication, profile management, and post creation and deletion, all of which were confirmed to be working well.', 'The process of updating DNS records to accommodate changes in the domain name is explained, including adding a new A record with the IP address 198.58.101.94 and the subsequent wait for the DNS record to update.', "The demonstration of accessing the admin page to confirm its functionality and the observation that removing the 'www' from the domain name led to it not working, highlighting the importance of DNS record updates.", 'The necessity of waiting for the DNS record to update is mentioned, indicating a common delay in such updates and the alternative of reverting to the original domain name while waiting for the changes to take effect.']}, {'end': 1624.92, 'start': 1487.438, 'title': 'Setting up custom domain with linode and namecheap', 'summary': "Covers the process of setting up a custom domain using linode and namecheap, with a special offer of $20 credit for trying linode, and highlights the benefits of linode's cloud manager and stack scripts for fast server setup and availability of worldwide data centers.", 'duration': 137.482, 'highlights': ['Linode offers $20 of credit for trying their service, and has a new and improved cloud manager making spinning up a server fast and easy.', 'Linode provides stack scripts for common tasks like setting up a WordPress site, simplifying the server setup process.', 'Linode has nine worldwide data centers and plans to open two more in 2019, allowing users to spin up a server close to their audience.', 'The chapter emphasizes the importance of having HTTPS set up for websites, as most websites these days should have it.', 'The video encourages viewers to ask questions in the comments section, support the tutorials by liking and sharing the video, and contribute through Patreon.']}], 'duration': 342.218, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/D2lwk1Ukgz0/pics/D2lwk1Ukgz01282702.jpg', 'highlights': ['The chapter demonstrates testing various functionalities of the Django application, including user authentication, profile management, and post creation and deletion, all of which were confirmed to be working well.', 'The process of updating DNS records to accommodate changes in the domain name is explained, including adding a new A record with the IP address 198.58.101.94 and the subsequent wait for the DNS record to update.', 'Linode offers $20 of credit for trying their service, and has a new and improved cloud manager making spinning up a server fast and easy.', 'Linode provides stack scripts for common tasks like setting up a WordPress site, simplifying the server setup process.', 'Linode has nine worldwide data centers and plans to open two more in 2019, allowing users to spin up a server close to their audience.']}], 'highlights': ["The waiting period for DNS name servers to switch over can take up to 48 hours, but Linode's documentation suggests it can be as quick as 24 hours.", "The process involves registering the domain, setting the domain to use Linode's name servers, and updating the DNS settings to let Linode handle the traffic instead of Namecheap.", 'The chapter demonstrates testing various functionalities of the Django application, including user authentication, profile management, and post creation and deletion, all of which were confirmed to be working well.', 'Linode offers $20 of credit for trying their service, and has a new and improved cloud manager making spinning up a server fast and easy.', 'The WhoisGuard service is enabled and set up to auto renew for $0, providing free privacy protection for domain registration.']}