Python & Django Project Hosting Using cPanel along with MySQL Database.

Поделиться
HTML-код
  • Опубликовано: 23 ноя 2024

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

  • @faruqismael615
    @faruqismael615 11 месяцев назад +3

    I appreciate it bro after consuming over 20 video, JEZAKELLAH

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

    Thank you very much for this video. I have spent at least two days to figure out how to do all that and finally I found this video. Excellent work. Thanks

  • @azimjonjoraev2943
    @azimjonjoraev2943 2 года назад

    man I downloaded my django project for the first time after watching this video I really liked it

  • @ramesh_tudu
    @ramesh_tudu 2 года назад

    Khoje jastai video vetiyo... Thank you for awesome video 😍👍

  • @abhijitroy99
    @abhijitroy99 3 года назад +1

    This is good video , I have seen many but the simplest way it explain is commendable. I need to change my project to MYSQL now instead of default django database post that I will follow this .

  • @humayunkabir7925
    @humayunkabir7925 3 года назад +2

    Thank You So Much. After around 10 trials, finally i made it. Thank You So Much again.

  • @ShrayCreation
    @ShrayCreation 4 месяца назад

    Very very fruitful content! Thanks alot help in my deployment process. Cheers man!

  • @achyutneupane4580
    @achyutneupane4580 4 года назад +8

    i was waiting for this video, Thanks alot !

  • @adityanijave3393
    @adityanijave3393 10 месяцев назад

    Thank you :) it helped me a lot with my assignment......You have earned a subscriber.

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

    thanks a lot Utshuk the best video i mean the perfect video for django app deployment

  • @juanguirao
    @juanguirao 2 года назад +7

    This is a great tutorial. Thank you!
    I am planning to deploy my app as a subdomain (not the main domain as you have done).
    Is the process very different, with regards to folders?

    • @samiullah-nw8ci
      @samiullah-nw8ci Год назад +2

      Application root => public_html/{{your_subdomainname}}
      Select Application URL to desired Subdomain
      while you creating python app - all done cheers

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

    It's unbelievable you have less than 1k subs.
    Thanks for this helpful tutorial. Subscribed.

  • @Jani-911-ps5
    @Jani-911-ps5 2 года назад

    Very very useful video, Big thank you

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

    Thank You So Much. After around 100000000000000000000 trials, finally i made it. Thank You So Much again

  • @azadchowdhury2683
    @azadchowdhury2683 2 года назад +5

    Creating website with Django is something like using Nuclear weapon to kill mosquitoes.

    • @SubscribeToMyChannel1
      @SubscribeToMyChannel1 2 года назад

      Which is the best way to create a website if not django or I can just create multiple Web pages in html only

    • @trendstamizha
      @trendstamizha 11 месяцев назад

      ​@@SubscribeToMyChannel1 wordpress

    • @ismailhossain964
      @ismailhossain964 17 дней назад

      I developed a web application using react with php backend in 6 months. Same application I did using django in two weeks. Guess what, The django version worked without any obvious bugs and iching biching.

  • @miragetechltd
    @miragetechltd 2 года назад

    PERFECT UTSHUK

  • @texodus_et6313
    @texodus_et6313 2 года назад

    Straight to the point ... Much Appreciated! Kudos! You have earned a subscriber.

  • @AmritBhandari
    @AmritBhandari 2 года назад

    Dami lagyo.

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

    Impressive, very nice !

  • @khan7700
    @khan7700 2 года назад

    Thisis very good video
    can you pls send a information related to deploy django project on godaddy windows hosting and cpanel hosting

  • @leatslearn4181
    @leatslearn4181 3 года назад +2

    Can you make full video on flask and upload flask website

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

    Thanks, man!!! After a lot of try I have successfully uploaded my site!! Many many thanks!!!!

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

    Thank You so much it helped me a lot

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

    Thanks. You are a god. This video helped me so much

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

    This was very simple explanation. Thanks a lot!

  • @abdurrazzak1612
    @abdurrazzak1612 2 года назад

    Great video

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

    Excellent and useful video. Keep going!!!

  • @TURKISTONIM2
    @TURKISTONIM2 2 года назад

    Thanks it works fully 100 %

  • @moofficial1153
    @moofficial1153 2 года назад

    Thx for the tutorial
    And don't forget to make debug false

  • @rejeanpion460
    @rejeanpion460 2 года назад

    Wow! so great, thanks a lot. I could put my django project online. Wonderful!

  • @ronn_zw
    @ronn_zw 2 года назад

    This is a great tutorial. Thanks

  • @joeretzyee9181
    @joeretzyee9181 8 месяцев назад

    hi, can u make a video how to host your api using django rest framework in cpanel?

  • @mouctechy
    @mouctechy 2 года назад

    Bro you're my hero

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

    Thanks,
    I do highly appreciate your work..
    Which hosting platform you using

  • @sanketgaikwad1399
    @sanketgaikwad1399 2 года назад

    Cool buddy 🔥

  • @abhilashoommen4704
    @abhilashoommen4704 2 года назад

    Thank you. Can you tell about this hosting provider and plan you took. Is it good one

  • @walterrandazzo6399
    @walterrandazzo6399 2 года назад +1

    Hi Utshuk, great video and explanation. How u set environment variables and then how to get them?

  • @agranshuaggarwal3947
    @agranshuaggarwal3947 3 года назад +2

    sr i have purchased godaddy economy linex hosting....but there is no terminal option

  • @trippy_b
    @trippy_b 7 месяцев назад

    i started the python app in cpanel but it showing "index of / " with cgi bin instead of my project home page when i enter the url of the hosted website, please help

  • @francenylson
    @francenylson 2 года назад

    SENSACIONAL YOU TUTORIAL. PARABÉNS

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

    Thanks for this great video
    Can you tell me where we can create our superuser??

  • @Alex-hp9no
    @Alex-hp9no 2 года назад

    I have an issue, everything works, css files are loading, but when I add post or category, on the page instead of content it shows me " ?????? " or "??? ??????" how do i fix it ? Or what's even the problem here ?

  • @aimenkaabi6125
    @aimenkaabi6125 2 года назад

    great and clear work, ty :)

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

    very helpful....Thank you

  • @anujkumarraj945
    @anujkumarraj945 2 года назад

    Great

  • @rgfuelcells2720
    @rgfuelcells2720 3 года назад +1

    How would you (or anyone else really) suggest to handle static files? Django suggests not to use the same server as the web server, that's why many Django developers use something like AWS S3 and Linode Object Storage.

    • @idesign254
      @idesign254 Год назад +1

      Handling static files can be an important consideration when deploying a Django application, particularly for larger or more complex projects where serving static files from the same server as the web server may not be the most efficient or scalable option.
      One common approach to handling static files in Django is to use a content delivery network (CDN) such as Amazon S3 or Linode Object Storage. These services are designed to efficiently store and deliver large files, such as images, videos, and other static content, and can be integrated with a Django application to serve static files in a scalable and efficient manner.
      To use a CDN with a Django application, you would typically configure your project's settings to use a third-party storage backend, such as django-storages, that supports integration with the CDN of your choice. You would then upload your static files to the CDN, and configure your application to serve static files from the CDN.
      Another option is to use a dedicated static file server, such as nginx or Apache, to serve static files separately from the web server. This can be particularly useful for larger or more complex applications where the volume of static files is significant, or where the web server is not optimized for serving static content.
      Regardless of the approach you choose, it is important to ensure that your static files are served efficiently and securely, and that your configuration is optimized for the needs of your specific application.

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

    Thank you so much. It helps a lot!

  • @kahve1979
    @kahve1979 2 года назад

    Thank yot this is good work.

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

    Hey, thanks for this awesome and informative video, but on my cpanel I cant find the software section anyone to help?

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

    Greate tutorial

  • @waresmuhammadi7881
    @waresmuhammadi7881 3 года назад +3

    mysqlclient in not installing and showing the error of mysqlconfig file not found? can you help me
    my cpanel server is Redhat linux based 64 and i use django 3.1.3 with python 3.7.4 i need to install mysqlclient 2.0.1

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

      did you solved it?

    • @dipenshrestha1105
      @dipenshrestha1105 3 года назад +1

      Yo can install it with whl file

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

      @@dipenshrestha1105 when I tried to install it with a whl file it gave an error says: " this platform does not support whl file "

    • @utshuk2861
      @utshuk2861  3 года назад +1

      I think you need to upgrade the pip version using the command as:
      pip install --upgrade pip
      and then try to install mysqlclient with the command as:
      pip install mysqlclient==2.0.1
      or simply
      pip install mysqlclient

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

      @@utshuk2861 still not able pip install mysqlclient

  • @basiludeh811
    @basiludeh811 2 года назад +1

    Great video. Very helpful. My app is running. The only issue I have is that whenever I tried to do python manage.py makemigrations or migrate , I receive this message Access denied. Any help from anyone will be appreciated.

  • @onebyzeroedu.broadcast
    @onebyzeroedu.broadcast 6 месяцев назад

    Thank you so much! 💜

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

    I am getting error "unable to execute '/opt/rh/devtoolset-7/root/usr/bin/gcc': No such file or directory" while trying to install mysqlclient, please suggest what can be the fix for it.

  • @Luqmanx96
    @Luqmanx96 3 года назад +1

    Hi, could you share a git link to your file? Would love to take a look at how you set up your staticdirs in settings.py. Thank you very much in advance.

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

      Sorry as it's a private repository so I can't provide you the whole GitHub link but here I have attached the code that you need to put in the settings.py file I hope that this could be helpful.
      ##### In Settings.py ################
      STATIC_URL = '/static/'
      STATICFILES_DIRS = [os.path.join(BASE_DIR, 'static')]
      MEDIA_URL = '/media/'
      MEDIA_ROOT = os.path.join(BASE_DIR, 'media'') -----> here in deployment time you need to provide full path to
      public_html of Cpanel.
      [eg: /home/username/public_html/media]
      ####### In Project urls.py ############
      from django.conf import settings
      from django.conf.urls.static import static
      urlpatterns += static(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT)

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

    Thank you Bro, you saved me alot

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

    Nice

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

    Very thank you Bro. if you have Patreon or something else please share with us...

  • @puravparekh9162
    @puravparekh9162 3 года назад +1

    The python version on my local is 3.9.0 but cPanel doesn't have the option of 3.9.0, has only 3.7.8. Can I choose that option and host my website? I hope it wont crash?

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

      Just try it once i don't think there will be problem due to different python versions...

  • @viswanath1421
    @viswanath1421 2 года назад

    Hi, it was great to see your video followed every step but I am getting:
    500
    Internal Server Error
    An internal server error has occurred.
    Plzzz help

  • @eonnisworld3542
    @eonnisworld3542 8 месяцев назад

    Iam having some issues with css styles and also the sql databse issue. so can you help me to figure out the isssue

  • @gumastanagarindore5199
    @gumastanagarindore5199 3 года назад +1

    good

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

    really appreciate

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

    I am trying to install postgresql
    But there is an error:
    There has been an error.
    Error running C:\Windows\Systems32\icacls "C:\Users\a.m.s\AppData\Local\Temp/postgresql_installer_6d4885e97d"/T/Q/grant"öa-m\a.m.s:(OI)(CI)F":?a-m\a.m.s:No mapping between account names and security IDs was done
    Can you help me please?

  • @MuhammadAhtishamYousaf
    @MuhammadAhtishamYousaf 4 месяца назад

    i am facing the error 503 service unavailabel this server is tamprarilly busy try again later. kindly suggest me any video

  • @EntranceMaster
    @EntranceMaster 7 месяцев назад

    Brother can you please apply NGINX on it it would be a great help

  • @БогданФещенко-я6й

    Thank you, sir!!!

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

    Thanks a lot 😊

  • @abhineshghugloth4314
    @abhineshghugloth4314 3 года назад +1

    Hey buddy, I did setup my django+Mysql project following your video. But, when I ran the migration, it only did for default migrating models what Django provides in default. It didn't run my models.py classes and that's why it's not working in pages where we're fetching data from the DB. Could you please help me if I've to setup my models.py somewhere or need to add anywhere while configuring the project?

    • @prakashmadariya9559
      @prakashmadariya9559 3 года назад +3

      @kumar A Yeah buddy I got the solution for that. What you need to do is make the migrations for the respective app... for example: >python manage.py makemigrations your_app_name then to migrate >python manage.py migrate your_app_name.... This will do the job..

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

      @kumar A Yeah buddy I got the solution for that. What you need to do is make the migrations for the respective app... for example: >python manage.py makemigrations your_app_name then to migrate >python manage.py migrate your_app_name.... This will do the job..

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

      @@prakashmadariya9559 thank you.....

  • @mdhossen7082
    @mdhossen7082 2 года назад +1

    This video is very helpful,
    but Terminal is not showing in cPanel,
    What is this solution please suggest to me about these problems,
    Thanks

  • @tanvirahmed-ko1nt
    @tanvirahmed-ko1nt 4 года назад

    ThankYou for your amazing tutorial but one problem i'm facing with my flask website.... after hosting my flask website on a shared hosting like you everything is working fine except unicode URL.. on my local host it was fine just after hosting unicode url are not recognized by server..... if you give the solution it will be very helpful for me please.... :)

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

    @Utshuk can you tell me how to get the || SETUP PYTHON APP || tool in cpanel

  • @universen2004
    @universen2004 2 года назад

    I keep getting 503 Service Unavailable
    The server is temporarily busy, try again later!\
    How to solve this?

  • @luisgonzalez-ut8kf
    @luisgonzalez-ut8kf 4 года назад +1

    thanks for the video. I did every step as you, however when I go to the webpage I am getting a 503 error Service Unavailable. Do you know why is this. Did you do other configuration on the server to deploy python applications? any help will be greatly appreciated.

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

      No any other configuration is done.

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

      Did you find a solution to this. I am getting the same error

  • @azimrose6926
    @azimrose6926 2 года назад

    hi, thank you for the tutorial. It's very helpful. Can you share the django files you are using, so that I can do some experimentation?

  • @vijiraju7521
    @vijiraju7521 3 года назад +1

    can we link this database to power apps . pls reply🙏🙏

  • @AkashSingh-iu6ce
    @AkashSingh-iu6ce 3 года назад

    great video !!

  • @josakotech
    @josakotech 3 года назад +1

    Thank you so much for your informative video, I was wondering which hosting provider & plan you are using, is it a shared hosting? Thanks again👍

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

      It's a shared hosting purchased from himalayanhost

    • @VishalKumar-ve8hb
      @VishalKumar-ve8hb 3 года назад

      @@utshuk2861 sir in my shared hosting there no option for terminal access from where I purchased. so is there any other way to install django framework??

    • @eliyaskedir8808
      @eliyaskedir8808 2 года назад

      @@VishalKumar-ve8hb I have faced the same problem. is there any solution?

    • @tanmoychakraborty1328
      @tanmoychakraborty1328 2 года назад

      Is it good to use Hostinger ??

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

    hello when i am trying to deploy my application the domain is still showing 403 error and not it works as described in the video can you help?

  • @paristonhill2752
    @paristonhill2752 3 года назад +2

    Django admin isn't loading css.
    Please help.

  • @AkhileshYadav-bj1vw
    @AkhileshYadav-bj1vw 2 года назад

    my bootstrap and CSS file is not work i am using sqlite3 for database please reply me.

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

    Bro, how can we make fb and google authentication in django? Please make a video on that!

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

    hi, im having an error, i have a django web application, its working fine, until i installed wordpress, and for the
    meantime i stop my django application, since im applying for a job so, i turn on my django application again,
    but unfortunately, the problem has just begun, until now i cant solve the error

  • @fazliddinfayziyev5347
    @fazliddinfayziyev5347 2 года назад

    Hello Mr. in terminal It is saying that permission is denied.
    What can I do.

  • @bennyvarughese7800
    @bennyvarughese7800 2 года назад

    Can you please let me know which is hosting partner you are using

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

    Virtual env project start garda dekhinai setup gareko thiyo. Paxi heroku ma deploy garda gunicorn pani configure gareko xa. Aba malai deploy garnu paryo cpanel use garera , aba k garne. Tyo env hatayera video ma dekha jasari env create garnu parne hunxa ki merai env use garne kunai process xa. Ani gunicorn pani use garne kunai process xa?

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

    I have no idea why images I upload in mysql are not showing in the webpage. Any ideas?

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

    would you also please ellaborate how to migrate data on local server on mysql on the cPanel mysql workbench(php myadmin) and also about git push and pull from cpanel terminal. Thanks

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

      If you are trying to load the data from an online server(i.e from Cpanel project database) to your local server it would be easier for you if create the fixtures of your database. I will be making a tutorial regarding how to use git functionality in Cpanel as soon as possible. Thanks! stay tuned.

  • @IqbalArain-io3du
    @IqbalArain-io3du 10 месяцев назад

    static file doesn't load. in project folder or public_html folder.

  • @rasimmamedov248
    @rasimmamedov248 2 года назад

    Thank You !

  • @abhaykatwe9667
    @abhaykatwe9667 3 года назад +2

    On which site did you host and what and which cPanel is it?

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

      hostnali.com

  • @krishnamaurya2516
    @krishnamaurya2516 2 года назад

    Got a error We're sorry, but something went wrong.
    The issue has been logged for investigation. Please try again later.

  • @suyog_codin
    @suyog_codin 7 месяцев назад +1

    16:25 what about the debug=false

  • @RajeshSingh-jh6bl
    @RajeshSingh-jh6bl Год назад

    They uses old and outdated software stack in shared hosting servers. It’s not at all fit for python app as checked in Dec 2022 as GCC is still version 4.x instead of latest 14.x Thus, many popular python package dependencies can not install, example - pillow, wagtail, Above all, if we contact support, they won’t fix GCC instead start up selling private servers😅

  • @bensonsaju9533
    @bensonsaju9533 2 года назад

    is it possible to use this method for hosting django project in godaddy??

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

    Hello, sir I have been getting 500 error whenever I change debug to False. And i saw in your videos,you run your project with debug = True. Is that secure for our project cause even the project has write do not turn on in production with a comment. So, can you make the video of that error?

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

      It is generally not recommended to run a Django application with DEBUG=True in a production environment. This is because DEBUG=True can expose sensitive information about your application, such as stack traces and other debugging information, to potential attackers. Additionally, when DEBUG=True, Django will serve static files and handle errors in a way that is not optimized for production use.
      In a production environment, it is recommended to set DEBUG=False in your Django settings file. However, when you do this, you may encounter a 500 error if there is an issue with your application that would normally be handled by the built-in Django debug page. In this case, it is important to have appropriate error handling in place, such as logging and custom error pages, to ensure that your application continues to function correctly and that users are not exposed to sensitive information.
      There are several steps you can take to ensure that your Django application is secure in a production environment, even when running with DEBUG=False. These include:
      Configuring appropriate error handling, including logging and custom error pages, to handle errors that may arise in your application.
      Using a secure web server configuration, such as HTTPS, to ensure that data transmitted between the server and clients is encrypted.
      Following security best practices, such as using strong passwords and limiting access to sensitive information.
      Keeping your Django installation and any third-party libraries up to date with security patches and updates.
      Conducting regular security audits and vulnerability assessments to identify and address any potential security issues.
      In short, while running Django with DEBUG=True may be useful during development, it is not recommended for production environments. Instead, take appropriate steps to ensure that your application is secure and optimized for production use.

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

    Nice Explanation Is it for free

  • @ravikiranmutta1124
    @ravikiranmutta1124 8 месяцев назад

    i cant find terminal in cpanel
    where it is in tools

  • @aeayris
    @aeayris 2 года назад

    Kun hosting lida best hola bro, vandinu paryo

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

    VPS or hosting?
    Can I access Admin panel?