title: 404 when trying to enter a react app route
body: <p>I just deployed my react app build on c-panel. The app includes different routes and everytime I try to get to one of them I get <code>404 Not found</code>.
  For example if I try to get to <code>http://example.com/</code> it will enter the website, and if I'll press on a button which links me  to<code>http://example.com/articles</code> it will work. But If I'll try to get <code>http://example.com/articles</code> from a link that I shared or just typing this address I'll get <code>404 Not found</code>. This is not happening when I'm running the develope mode on localhost.</p>
  
  <p>I changed the homepage url -  <code>"homepage": "http://example.com",</code> in package.json and it did not effect.</p>
  
  <p>My app root is wrapped with <code>&lt;Router&gt;</code></p>
  
  <pre><code>function App() {
    return (
      &lt;Provider store={store}&gt;
        &lt;Router&gt;
          &lt;React.Fragment&gt;
            &lt;CssBaseline /&gt;
            &lt;Header title="exampletitle" /&gt;
            &lt;MobileHeader /&gt;
            &lt;Main /&gt;
            &lt;BottomNavbar /&gt;
          &lt;/React.Fragment&gt;
        &lt;/Router&gt;
      &lt;/Provider&gt;
    );
  }
  </code></pre>
  
  <p>And this is Main.js component which is maneuvered by the routes.</p>
  
  <pre><code>function Main(props) {
    return (
      &lt;div&gt;
        &lt;Switch&gt;
          &lt;Route exact path="/" component={Homepage} /&gt;
          &lt;Route exact path="/about" component={About} /&gt;
          &lt;Route exact path="/signup" component={Registerpage} /&gt;
          &lt;Route exact path="/ap" component={Adminpage} /&gt;
          &lt;Route exact path="/signin" component={SignIn} /&gt;
          &lt;Route exact path="/userpanel" component={UserPanelPage} /&gt;
          &lt;Route path="/article/:category" component={Articlepage} /&gt;
          &lt;Route path="/articlepage/:id" component={ReadArticlePage} /&gt;
        &lt;/Switch&gt;
      &lt;/div&gt;
    );
  }
  </code></pre>
  
  <p>Can someone give me a clue how to make those pages load when I enter them directly by their link?</p>