title: create-react-app build deploy on LAMP/XAMPP/WAMP
body: <p><strong>How to deploy the build on Apache WAMP/XAMPP server?</strong></p>
  
  <p>I have an app created with <code>create-react-app</code> and I have two pages on this application</p>
  
  <p>When I execute <code>yarn start</code> or <code>npm start</code> it's working fine and all the pages are rendering properly on the URL navigation or button click</p>
  
  <p>I executed the build command</p>
  
  <blockquote>
    <p>npm run build</p>
  </blockquote>
  
  <p>It's generating all the <code>static</code> and <code>index.html</code> files on <code>build</code> folder.</p>
  
  <p>I moved this build folder content to <code>www</code> of <code>wamp</code> folder and execute on the url <code>http://localhost</code> its showing only the home page.  and the next page gives <code>404 not found error</code></p>
  
  <p>But when I am executing the <code>serve</code> module of npm command it's working fine on <code>http://localhost:5000</code></p>
  
  <blockquote>
    <p>serve build </p>
  </blockquote>
  
  <p><strong>Please help me how to resolve this?</strong></p>
  
  <p>I have to deploy my application on wamp server all are static pages there is no rest api contents</p>