28 thoughts on “Deploy React web application to shared hosting

  1. This video was really helpful!!!

    Perhaps It's just that i don't see it but <Layout> is wrapping all components and we don't see what's inside that specific component? I replaced it with BrowserRouter (after also replacing react-router with react-router-dom). Would be awesome if you could point out if im doing something fatally wrong xD


  2. Thank you very much! this .htaccess file
    solved my problem…

    Options -MultiViews

    RewriteEngine On

    RewriteCond %{REQUEST_FILENAME} !-f

    RewriteRule ^ index.html [QSA,L]

  3. Спасибо тебе)) добрый человек! Я вот вроде как всё также делал ток в package.json "homepage" не прописывал, а может просто на локальной машине не стоило пробовать, сразу на хостинг нужно было залить, не понятно мне. Но сделал всё как у тебя и всё ОК !

  4. Not working sir my route files not showing i set default home route but not working on cpanel. but its working on local properly

  5. I had deployed Reactjs application build to Control Panel. Home page is working fine but when I'm Clicking on about or others page showing error 404. But when I run application with npm start it is working properly. Could please help out .

  6. 😀 I love the videos! Keep up the great work! Go and check ZMSocial “.” Com! It’s my favourite site for social media promotion, it could really help with your channel!!

Leave a Reply

Your email address will not be published. Required fields are marked *