How to fix Nginx 403 Forbidden Error

Поделиться
HTML-код
  • Опубликовано: 7 сен 2024
  • Learn how to fix the 403 forbidden error from Nginx by making sure you have your index directive configured and your permissions are correct.
    Find more at tonyteaches.tech
    Check out my vlog channel ‪@TonyFlorida‬
    #nginx #403forbidden

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

  • @shalindafernando1296
    @shalindafernando1296 Год назад +5

    For testing purposes, I placed an application in the /root/test-app/ directory. Setting up Nginx I got a 403 forbidden error. I tried all the methods provided in this video which didn't work for me. But thanks for the video :).
    Doing some digging I found out that if I'm running an application under the /root folder I need to specify the directive >> user root;

    • @biglloyd5870
      @biglloyd5870 24 дня назад +1

      This helped solve my issue thank you very much sir

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

    I got this error and couldn't find a way to fix it,but I installed some other browser and it's completely fine now.No errors.
    Ps: I had difficulty doing it since I'm on mobile

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

      It might have been a caching issue but just a guess

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

      @@TonyTeachesTech yes most probably,If I leave the site and not use it for the whole day(when it's not working) it automatically starts working the next day.

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

    I am a Mandarin teacher and when my students sign in their Duolinggo sites, the 403 forbidden error will show up. My school IT manager says it is the Duolinggo website issue, not the issue from our school end. I am wondering if it is true and Duolingo just did their maintenance. From your video, it gave me the impression that my school should look into this. Is this right? Thanks

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

    I still get this problem, but i use docker container which uses nginx

  • @nateb.7734
    @nateb.7734 3 года назад +1

    What if we don't want to dig in to all of the complex coding? Isn't there a different way?

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

      Perhaps, but I'm not familiar with that

    • @Mr.J0K3
      @Mr.J0K3 Год назад

      Sorry but I still don't know what to do

  • @AtindriyaDas
    @AtindriyaDas 2 месяца назад

    Thanks very much!

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

    after that permissions i have problem wth premissions to venv folder.

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

    403 forbidden
    nginx started appearing on my TV today. Help please.

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

    Call me lazy. But could you please do a video on the differences and/or similarities between wordops and cyberpanel. the use cases for each. And a speed battle! Thanks man

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

      I can't promise anything, but I'll add this to my list :)

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

      ​@@TonyTeachesTech0:02 0:02

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

    hi tony, i,m trying to install nginx on opensuse.....any notice about it??

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

    Hi, these videos are awesome. Keep it up bro.

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

    what if you have more than one file in your root? how do you delete

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

    Hello, what happens if you're using an Android 11 cellphone? I'm familiar with the DOS screen on my laptop. Unaware it's possible on a cell?

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

      You'll need access to the web server to fix this error

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

    As of writing I'm currently following your tutorial on how to deploy django on an ubuntu with nginx, I encountered this when I'm trying to access a media file I'll try this and see if it fixes it

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

      Did it work?

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

      @@TonyTeachesTech yeah thanks, I changed the permission and it worked, It's my second time deploying an nginx server first on my virtual machine it didn't have that problem, but when I deployed nginx on a linode server, this problem came up, I didn't know what to do, so thanks for the tutorials it helped me alot

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

    Hi, did u learn about ocr ? If yes i hope you make some tutorial about ocr

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

    Hey Tony, When the domain doesn't get created immediatly, how long did you have to wait +- ?

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

    i got lost when he pull up the black window at 0:30 >< im just trying to watch porn and this msg keeps poping up "403 Forbidden Error"

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

    how do i fix this on a normal website

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

    thank you so much

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

    Hi Tony, Could you also show how to fix http 405 error

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

    Using Nginx I got the 403 forbidden error and I moved the sybolic link to a previously configured directory, it didn't seem to like the /var/www/html/ default directory but was fine in one that I had previosuly configured as a domain as per Tonys other tutorial ruclips.net/video/yWVD6qmQrb8/видео.html

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

    I Will try it

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

    Great..worked for me

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

    thanks for the video ..i followed your video but still getting the 403 error. 1. Checked the file system permission..entire directory structure has nginx:nginx permission. config file has correct entry index.php.
    Any suggestion pls?

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

      I'm not sure. These are all the suggestions I have :(

  • @lutie-yn2yu
    @lutie-yn2yu Год назад

    hey tony, what program is that? the black box?

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

      It's called Terminal and comes pre-installed on Mac. The equivalent for Windows is called Command Prompt

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

    Do You Know 2009 Maserati Granturismo?

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

    bro thinks im Ryan Montgomery, good video tho

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

    hey man, im watching this with no clue where i can open that file you show in the beginning where can i find that on my laptop? ty!

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

      by 0:29

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

      That is the Terminal application on my Mac computer. I am logged into the server that is hosting my website

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

    does this happen if u have a block of proxies on ur server?

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

    *Use Tor.*

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

    sorry men you in a hurry then go to finish your's jobe an after that return to explane how to fix that error 403 please

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

    Are You Know About ABG Transformation (Asian Baby Girl).

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

    recently i got this error but i don't know why.
    here's my case
    i have 2 front end bundling web app
    let say it's version 1.1 and version 1.2
    and I have 2 machine which is Ubuntu & Rhel
    when mounted those web app on nginx in ubuntu
    version 1.1 & 1.2 is ok with no problem..
    everything is fine.
    and the problem is
    i mounted version 1.1 on nginx in RHEL with same configuration & permission in ubuntu = no problem
    and
    i mounted version 1.2 on nginx in RHEL with same configuration & permission in ubuntu = 403 error..
    can some give me some insight

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

    How to get the tshirt ? Free or 😀

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

    still 403 Forbidden nginx/1.11.10

  • @user-zn7kq2ov2o
    @user-zn7kq2ov2o 3 года назад

    I putted my site in a hosting site i can give you the password and the name and check the problem please from cpanel

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

    can this be done on windows or is it mac only?

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

    Why use php instead

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

    Phew!!
    You did it man.
    Thanks

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

    AFTER WATCHING THIS VIDEO I FEEL DUMB

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

    Hello Tony I've follow your tutorial setup vps lemp and wp. But I got error 500. Any suggest for this error?

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

      That's an internal server error. I would suggest checking your server logs

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

    WHAT?

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

    SIr
    I can't fix it

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

    bro slow down xd

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

    404 Not found

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

      That means the page that you are requesting does not exist

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

    nginx

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

    phpmyadmin 403

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

    Hello Tony, i am getting the same 403 error, i am a novice no idea about ubuntu, however it was showing successfully with the help of your video (How to Create an Always Free Website on the Oracle Cloudruclips.net/video/yWVD6qmQrb8/видео.html), but i can see while using the link for commands in the video, i have removed some file sudo rm /var/www/html/index.nginx-debian.html and then i can see the link file is creating a separate folder wordpress instead of html, i am stuck now :-(

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

      I would suggest reinstalling the OS on your cloud server. Sounds like your server is not in a good state right now