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

Поделиться
HTML-код
  • Опубликовано: 18 сен 2024
  • 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:
    linode.com/cor...
    Buy a domain at NameCheap:
    namecheap.pxf....
    Linode DNS Documentation:
    linode.com/doc...
    ✅ Support My Channel Through Patreon:
    / coreyms
    ✅ Become a Channel Member:
    / @coreyms
    ✅ One-Time Contribution Through PayPal:
    goo.gl/649HFY
    ✅ Cryptocurrency Donations:
    Bitcoin Wallet - 3MPH8oY2EAgbLVy7RBMinwcBntggi7qeG3
    Ethereum Wallet - 0x151649418616068fB46C3598083817101d3bCD33
    Litecoin Wallet - MPvEBY5fxGkmPQgocfJbxP6EmTo5UUXMot
    ✅ Corey's Public Amazon Wishlist
    a.co/inIyro1
    ✅ Equipment I Use and Books I Recommend:
    www.amazon.com...
    ▶️ You Can Find Me On:
    My Website - coreyms.com/
    My Second Channel - / coreymschafer
    Facebook - / coreymschafer
    Twitter - / coreymschafer
    Instagram - / coreymschafer
    #Python #Django

Комментарии • 95

  • @modhaffermodhaffer
    @modhaffermodhaffer 5 лет назад +62

    By far, this series is the best Django tutorial out on RUclips.
    Thank you Corey!!

    • @mohamedmusa7149
      @mohamedmusa7149 3 года назад

      I complete agree with you. Corey's presentation is highly organized, smoothly presented and without any gaps.

  • @XxSmAsHeN619xX
    @XxSmAsHeN619xX 5 лет назад +27

    Learning so much from these tutorials, while my school charges an extra 1k in order to take web dev courses. Thanks so much Corey, I plan on donating when I graduate and hopefully find a job this May!

  • @michaelkirkaldy7039
    @michaelkirkaldy7039 5 лет назад +9

    Corey, you’re such a great teacher.

  • @MsSuyash1995
    @MsSuyash1995 4 года назад +4

    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...

  • @M1L3Y
    @M1L3Y 5 лет назад +6

    Phew, that last video was tough going, but I made it to this one.

  • @yoojinkim-rt
    @yoojinkim-rt 5 лет назад +9

    I've been waiting for this video!
    Also,
    Thank you for taking the time to record these videos and teaching us whilst patiently explaining
    Just felt like thanking you because I've been watching your django series to learn and you make it so easy to understand which I appreciate a lot
    Hope you have a great day :)

  • @buchsterboy
    @buchsterboy 4 года назад +4

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

  • @haliax8013
    @haliax8013 4 года назад +1

    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 RUclips to this video?
    Thanks in advance!

  • @abbasebadian6851
    @abbasebadian6851 5 лет назад +7

    "So lets go ahead and get started", "if you have any question about what we covered in this video , feel free to ask in the comment section below and ill do my best to answer those"
    My favorite Sentences which You say those in all videos

  • @mahrezbenhamad4445
    @mahrezbenhamad4445 5 лет назад +9

    I don’t know what to say, Corey!
    I owe you one.
    Plz if u can to make a tut about Heroku
    Don't hold out on us!

  • @hrishimaurya1989
    @hrishimaurya1989 4 года назад +2

    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.

  • @sulimanallahgabo1080
    @sulimanallahgabo1080 5 лет назад +4

    as usual great .....many thank corey

  • @jeff30458
    @jeff30458 5 лет назад +2

    Thanks for the videos. I had already done this one myself, but am really looking forward to the video on Postgres.

  • @diego.guillen
    @diego.guillen 4 года назад +1

    just what I was looking for. thx!

  • @kaladinium7337
    @kaladinium7337 4 года назад +2

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

  • @GeneralBlorp
    @GeneralBlorp 5 лет назад +2

    Thanks for this series!

  • @debasisnath9916
    @debasisnath9916 4 года назад +1

    Best tutorial on Django. Thanks a lot Cory...

  • @d_grums
    @d_grums 5 лет назад +2

    Amazing tutorial thanks Corey!
    Could you make a video on adding images to the posts ? I have trouble to upload them to the database using the UpdateView..
    I can't wait to see the next functions of the blog !!

  • @muralimohan807
    @muralimohan807 5 лет назад +3

    great and awesome way of real time exposure experience congrats carry on. My personal request is to create a video tutorial for R or Charts etc in python or datascience video tutorial .

  • @onelcruz5726
    @onelcruz5726 9 месяцев назад

    Appreciate your videos and all of the detail you provide. However, as someone just trying to crank through Django code fast it seems a bit tedious having to listen through all of this. Would love to see series of shortened videos keeping it short and straight to the point.

  • @omarabulaban_me
    @omarabulaban_me 5 лет назад +2

    Thanks A LOT, you did it like a hero. i owe you !!!

  • @modhaffermodhaffer
    @modhaffermodhaffer 5 лет назад +2

    Hi Corey
    I wish if you make a tutorial of django and ajax to like posts or vote up questions.
    You are the best, bro!!

  • @OmarSanchez-ds4qh
    @OmarSanchez-ds4qh 5 лет назад +1

    Thank you so much for posting this video Corey, I finally got my website up and running! When testing new website features do you normally host the changes on a different server?

    • @coreyms
      @coreyms  5 лет назад +3

      Yes, I usually have a test server when testing changes and then a production server for going live. I don't have this kind of setup for my personal website just because I don't consider it to be critical. If it goes down during testing then hardly anyone notices. But when I worked for companies that had critical websites we would definitely have test/production servers. There are more steps we can explore here, such as testing, Continuous deployment (Jenkins), Ansible for server automation, etc.

  • @harmanthind846
    @harmanthind846 4 года назад

    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.

  • @joehaynes7092
    @joehaynes7092 3 года назад

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

  • @vikranthkasi5210
    @vikranthkasi5210 4 года назад

    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.

  • @bellosegun
    @bellosegun 4 года назад +1

    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.

  • @nickolayfetlistov4416
    @nickolayfetlistov4416 Год назад

    Thanks for your video!

  • @zacmitri4281
    @zacmitri4281 5 лет назад +2

    Corey how did you learn django or web development? I mean from where did you get the resources to learn it?

    • @coreyms
      @coreyms  5 лет назад +8

      It wasn’t one specific place. I spent a lot of time on the Django website pouring through documentation. I’ve listened to conference talks on best practices and what’s changed. Also, I’ve done many online tutorials through sites like RUclips to see how the community is using it. You want to compare and contrast how multiple people create applications because you’ll pick up some cool tricks along the way. You’ll also see some people not following best practices, so you can also learn what not to do in some cases. So I learned from a variety of places.

    • @zacmitri4281
      @zacmitri4281 5 лет назад +4

      Well you made it all easy for us and give it all for free, thankyou for your service.

  • @khamdamov
    @khamdamov 5 лет назад

    Bro you are helping us. Keep making Django projects. thanks

  • @norberthorgas2428
    @norberthorgas2428 5 лет назад +1

    Great Video Corey! Are you going to use Let's Encrypt for the SSL part?

    • @coreyms
      @coreyms  5 лет назад

      I believe so, yes.

  • @MilanMarjanovic0709
    @MilanMarjanovic0709 5 лет назад +1

    Thank you Cory for this tutorial. Have a question. How could I add RDNS domain if I got 4 domains on single server ?

  • @lokmanturkmen8964
    @lokmanturkmen8964 5 лет назад +2

    1- Corey pelase make video about how to upload Photo and video to this blog app or django
    2- You are using classes all other people using functions on views.py what is the difference could you explain?

  • @riyazuddinsh
    @riyazuddinsh 5 лет назад

    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.

  • @nurashams4093
    @nurashams4093 5 лет назад +1

    Keep it up bro...

  • @manukyanq
    @manukyanq 5 лет назад +2

    You are my hero

  • @Kruiger1993
    @Kruiger1993 4 года назад

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

  • @ahnafkhan8115
    @ahnafkhan8115 4 года назад +1

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

  • @antonhuber1654
    @antonhuber1654 4 года назад +1

    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?

  • @juliuscool26
    @juliuscool26 5 лет назад +1

    Thank you so much,

  • @valaithamil
    @valaithamil 3 года назад

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

  • @mindisbuddha
    @mindisbuddha 4 года назад

    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: accounts.google.com/DisplayUnlockCaptcha and click CONTINUE. These tutorials are amazing. All the other tutorials should hang their heads in shame!!

  • @rololop34
    @rololop34 3 года назад

    thank you for this tutorial

  • @shashanksharmadon4295
    @shashanksharmadon4295 4 года назад

    Awesome bro thanks best video ever.....

  • @KevinTempelx
    @KevinTempelx 3 года назад

    Thank you!

  • @whoami0696
    @whoami0696 4 года назад

    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?

  • @omarabulaban_me
    @omarabulaban_me 5 лет назад

    Could you add a localization video??

  • @6807666
    @6807666 3 года назад

    Do you have video of django deployment with PostgreSQL

    • @6807666
      @6807666 3 года назад

      Video is very useful

  • @sithuhtun3609
    @sithuhtun3609 3 года назад

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

  • @valentinochristian936
    @valentinochristian936 5 лет назад

    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.

    • @valentinochristian9709
      @valentinochristian9709 5 лет назад +1

      The issue is that the domain name without www needs to be added to the allowed hosts list. This fix worked instantly and didn't take any time to update, which makes sense because the DNS records didn't need to be updated, it was the server that needed an update.

  • @kakad3v600
    @kakad3v600 5 лет назад

    Good day everyone, I am having a problem trying to ssh into the linode server. The error I am getting is password/public key denied. Any assistance or leads will be appreciated

    • @costasvas341
      @costasvas341 5 лет назад

      Try rebuilding your server from the linode cloud manager. However, this will delete all your data on the server.

  • @eslem1149
    @eslem1149 Год назад

    Hi Corey, is your own domain still working?

  • @shreerangaraju1013
    @shreerangaraju1013 5 лет назад

    django rest framework tutorial please..

  • @senthilkumar-qi2tq
    @senthilkumar-qi2tq 4 года назад

    can you give me a step by step procedure for windows

  • @devanshsharma1495
    @devanshsharma1495 4 года назад

    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 ?

  • @tameshwarsahu325
    @tameshwarsahu325 5 лет назад

    Did you uploaded any vedio of sqllite database

    • @coreyms
      @coreyms  5 лет назад +1

      Yes, I do. If you search SQLite in my videos your will find it.

    • @tameshwarsahu325
      @tameshwarsahu325 5 лет назад

      Ty

  • @211assassin
    @211assassin 5 лет назад

    How can I disable the access to admin page when it's deployed?

    • @sciencecompliance235
      @sciencecompliance235 5 лет назад

      Just remove the url path. I think it's in the top-level urls.py file. There's also some stuff in settings.py that relates to the admin page you might be able to comment out or delete. You might want to just comment it out so you can bring it back later if possible.

  • @tameshwarsahu325
    @tameshwarsahu325 5 лет назад

    How to work with sqllite?

  • @brightlabs9967
    @brightlabs9967 3 года назад

    Password reset not working, throws this error Error 524

  • @laubentumusiime8457
    @laubentumusiime8457 3 года назад

    18:50

  • @daniel_liu_it
    @daniel_liu_it 4 года назад

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

  • @jephthahsnr6558
    @jephthahsnr6558 3 года назад

    2020

  • @DevAmateur
    @DevAmateur 5 лет назад +1

    I think when you want your DNS to look like "myawesomeapp.com", without the "www", you need to create it with MX Record not with A Record. Not 100% sure and feel free to criticize me.

  • @delllatitude299
    @delllatitude299 5 лет назад

    Nice tutorial. you cover one thing after 4 weeks. ?
    just domain linking.
    where is SSL ?
    where is subdomain handling if we create another subdomain ?
    where are other things you mentioned before ?
    really disappointed this time :(
    I am your big fan and i was looking more from you.
    Thanks For your kind efforts to teach us.

  • @shashanksharmadon4295
    @shashanksharmadon4295 4 года назад

    Awesome bro thanks best video ever.....

  • @shashanksharmadon4295
    @shashanksharmadon4295 4 года назад

    Awesome bro thanks best video ever.....

  • @shashanksharmadon4295
    @shashanksharmadon4295 4 года назад

    Awesome bro thanks best video ever.....

  • @shashanksharmadon4295
    @shashanksharmadon4295 4 года назад

    Awesome bro thanks best video ever.....

  • @shashanksharmadon4295
    @shashanksharmadon4295 4 года назад

    Awesome bro thanks best video ever.....

  • @shashanksharmadon4295
    @shashanksharmadon4295 4 года назад

    Awesome bro thanks best video ever.....

  • @shashanksharmadon4295
    @shashanksharmadon4295 4 года назад

    Awesome bro thanks best video ever.....

  • @shashanksharmadon4295
    @shashanksharmadon4295 4 года назад

    Awesome bro thanks best video ever.....

  • @shashanksharmadon4295
    @shashanksharmadon4295 4 года назад

    Awesome bro thanks best video ever.....