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

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

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

50 Comments

  1. Eric el Nomada on November 14, 2021 at 11:13 am

    how do you deal with por 8000?

  2. Shashank Sharmadon on November 14, 2021 at 11:13 am

    Awesome bro thanks best video ever…..

  3. Valentino Christian on November 14, 2021 at 11:14 am

    I bought a domain from hostgator, which didn’t have a free whois guard, and got more spam than you can imagine. So glad whois guard is free on namecheap

  4. Jephthah Snr on November 14, 2021 at 11:14 am

    2020

  5. Mohamed Haneef on November 14, 2021 at 11:16 am

    Do you have video of django deployment with PostgreSQL

  6. Michael Kirkaldy on November 14, 2021 at 11:17 am

    Corey, you’re such a great teacher.

  7. Shashank Sharmadon on November 14, 2021 at 11:19 am

    Awesome bro thanks best video ever…..

  8. Bello Oluwasegun on November 14, 2021 at 11:19 am

    Thanks for these awesome tutorial….you are a life saver…Pls you talked about migrating the sqlite database to postgre on production. Do you have that series elsewhere? Pls i need it badly…thanks again.

  9. Andre Nowaczek on November 14, 2021 at 11:21 am

    Great video. Would you consider doing a followup in the future so we can send emails with the domain through django? Like email@myawesomeapp.com instead of the gmail?

  10. Si Thu Htun on November 14, 2021 at 11:22 am

    Corey, How to add favicon icon to this website? Somebody Help Me Please!

  11. 19881141a55507651eef80ac27d2c2a1 on November 14, 2021 at 11:23 am

    Is Django running on Port 80?

  12. Suyash Dayal on November 14, 2021 at 11:24 am

    Thank you for all the efforts that you have put in this Django series… I absolutely love the fact that you are covering topics that are related to deployment and post-deployment… This is probably the only tutorial that I have seen on the Internet, where I have witnessed someone going over the concepts that you have gone through in the last couple of videos…

  13. Shashank Sharmadon on November 14, 2021 at 11:25 am

    Awesome bro thanks best video ever…..

  14. Vikranth Kasi on November 14, 2021 at 11:25 am

    Thank you so much Corey! Your course is well structured and made it sooo easy to follow. I would definitely suggest this for anyone who wants to learn Django.

  15. Shashank Sharmadon on November 14, 2021 at 11:27 am

    Awesome bro thanks best video ever…..

  16. gazm2k5 on November 14, 2021 at 11:30 am

    I’d also like to know how to set up subdomains. How do we set up urls.py to serve certain pages from a subdomain? And how do we set up apache and dns entries for this?

  17. Ben Kruiger Koren on November 14, 2021 at 11:35 am

    Is the Apache server you built in the previous video is necessary for connecting your domain to the Linode server?

  18. Samuel Infotainment on November 14, 2021 at 11:35 am

    I want to implement inltk package in my own domain. How do I do it in windows

  19. Valentino Christian on November 14, 2021 at 11:36 am

    I added an A record to the DNS records without the www, but my website domain still doesn’t work without the www. To be more specific I get a bad request (400). Ill set my website to debug mode to figure out more and post an update. I suspect I have to change something in the allowed hosts.

  20. Lauben Tumusiime on November 14, 2021 at 11:37 am

    18:50

  21. Shashank Sharmadon on November 14, 2021 at 11:37 am

    Awesome bro thanks best video ever…..

  22. joe haynes on November 14, 2021 at 11:38 am

    Damn this is probably better than my university C# web application we spent 6 weeks working on lol

  23. Shashank Sharmadon on November 14, 2021 at 11:38 am

    Awesome bro thanks best video ever…..

  24. rololop34 on November 14, 2021 at 11:39 am

    thank you for this tutorial

  25. Paul Cassidy on November 14, 2021 at 11:39 am

    Is it easy to code your own SSL in Django?

  26. Bright Labs on November 14, 2021 at 11:40 am

    Password reset not working, throws this error Error 524

  27. Silas Lao on November 14, 2021 at 11:41 am

    How can we update the website after deploying it?
    Do you plan to do a video on that topic?

  28. Shashank Sharmadon on November 14, 2021 at 11:42 am

    Awesome bro thanks best video ever…..

  29. Hrishi Maurya on November 14, 2021 at 11:42 am

    Hi Corey,
    This is to say thank you so much for all your videos, because your channel helped me a lot.
    Your Django tutorials are awesome with in-depth explanations. Please do a video with NGINX too, I find configuring NGINX somewhat complicated.
    Once again, thanks a lot.

  30. Harman Thind on November 14, 2021 at 11:43 am

    Thanks Corey, for providing the best series on the planet.
    Can you also provide tutorial how to add subdomains as well. How do they work.

  31. Shashank Sharmadon on November 14, 2021 at 11:44 am

    Awesome bro thanks best video ever…..

  32. Diego Guillén on November 14, 2021 at 11:45 am

    just what I was looking for. thx!

  33. Ahnaf Khan on November 14, 2021 at 11:49 am

    If I am deploying my website by Heroku, can I still get a custom domain name?

  34. Mark on November 14, 2021 at 11:49 am

    Does anyone know why site is not working without the www? Without it, it just takes me to the apache2 default screen. I added a blank domain on linode, I don’t understand why it’s not working.

  35. Shashank Sharmadon on November 14, 2021 at 11:49 am

    Awesome bro thanks best video ever…..

  36. WoodLife on November 14, 2021 at 11:52 am

    Thanks! Followed the series and now have my website up and running! Amazing!

  37. Shashank Sharmadon on November 14, 2021 at 11:57 am

    Awesome bro thanks best video ever…..

  38. Haliax Haliax on November 14, 2021 at 11:58 am

    First of all, thank you so much for your open-source approach and also for making information accessible and free for all. To me, these virtues are very important and admirable.

    On the other hand, like Einstein said:

    "If you can’t explain it simply, you don’t understand it well enough."

    And as also like Da Vinci said:

    "Simplicity is the ultimate sophistication."

    So because of that, i firmly believe that the ultimate success in both education and teaching is to simply teach things like a 5 years old can understand. And i believe that this ability is a very rare and exceptional ability that only a few have. Based on the videos of you I watched, I can confidently claim that I have no doubt that you are especially blessed with this ability. Congrats!

    If we get to the main point, my current progress is halted because of missing of subtitles in your video. As i have hard of hearing and not being a native-speaker, i rely heavily on subtitles, i just can’t understand without them.

    So can you please add auto-generated subtitles by YouTube to this video?

    Thanks in advance!

  39. senthil kumar on November 14, 2021 at 11:59 am

    can you give me a step by step procedure for windows

  40. Kevin Tempel on November 14, 2021 at 11:59 am

    Thank you!

  41. Lasse Jonassen on November 14, 2021 at 12:00 pm

    When i installed the certbot, and everything was finished and i tried to go onto my page, i met the apache2 default page. How can this be and how can i fix it?

  42. Devansh Sharma on November 14, 2021 at 12:04 pm

    anyone knows how to fix a 404 ?
    "Not Found
    The requested URL was not found on this server.

    Apache/2.4.41 (Ubuntu) Server at mydomainname.com Port 80 ?

  43. Curtis Steinmetz on November 14, 2021 at 12:04 pm

    If you use digitalocean (or at least this was true in my case) in order to get the password reset to work you will also need to go to this url: https://accounts.google.com/DisplayUnlockCaptcha and click CONTINUE. These tutorials are amazing. All the other tutorials should hang their heads in shame!!

  44. Shay Halfon on November 14, 2021 at 12:04 pm

    I just uploaded the website after a lot of mistakes. I changed a few things, added a comments system but it’s not done yet and I see to change many things but got held by some other works so it got delayed. checkout and let me know what you think http://www.shayha.xyz
    I will also upload the code to git so everyone can copy and paste a comment system.

    Thank you very much, you are amazing!

  45. General Blorp on November 14, 2021 at 12:05 pm

    Thanks for this series!

  46. Anton Huber on November 14, 2021 at 12:07 pm

    If I type in the Domainname, everything works fine, but if I type in the IP-Adress, it shows me the apache-default site. What is wrong?

  47. Daniel Clarke on November 14, 2021 at 12:08 pm

    i need a subtitle …..if haven’t, i hardly understand what you say….

  48. Edwin Ouko on November 14, 2021 at 12:08 pm

    I know you might never see this but I just wanted somewhere to express my gratitude for this series! Thank you!

  49. Debasis Nath on November 14, 2021 at 12:08 pm

    Best tutorial on Django. Thanks a lot Cory…

  50. Riyazuddin Shaikh on November 14, 2021 at 12:11 pm

    Really you are a great tutor. Your work is very appreciative. I have a working site but having an issue that I have 100-200 user online at a time and accessing my server and I am getting a server hangup error. In the future, it is been expected to have 1000-5000 users accessing the server site per second. Please help me to handle the traffic.

Leave a Comment