title: Seeing empty page after deployed to S3 with React Route
body: <p>I build a SPA with React and React Router. I'm also using <a href="https://github.com/facebookincubator/create-react-app" rel="noreferrer">https://github.com/facebookincubator/create-react-app</a> as it's a really simple application. When I'm developing using webpack I can see the page fine. However, after I build for production using <code>npm run build</code> from <code>create-react-app</code> I get HTML file and css and js normally. I uploaded everything to S3 but when I go to the page I only get blank page</p>
  
  <p>And this is what I'm seeing </p>
  
  <pre><code>&lt;!-- react-empty: 1 --&gt;
  </code></pre>
  
  <p>I'm guessing it's like this because S3 is default to <code>index.html</code> and I cannot change that. And React Router doesn't know how to deal with <code>index.html</code> but I also have <code>/</code> root as the default but I'm still seeing a blank page. Not sure how to fix this issue?</p>
  
  <p>Here's my Router</p>
  
  <pre><code>ReactDOM.render(
    &lt;Router history={browserHistory}&gt;
      &lt;Route path="/" component={App}&gt;
        &lt;IndexRoute component={Home} /&gt;
        &lt;Route path="question2" component={Question2} /&gt;
        &lt;Route path="question3" component={Question3} /&gt;
        &lt;Route path="thankyou" component={Thankyou} /&gt;
      &lt;/Route&gt;
    &lt;/Router&gt;,
    document.getElementById('root')
  );
  </code></pre>
  
  <p>And this is the template <code>creawte-react-app</code> use and it's working fine on development.</p>
  
  <pre><code>&lt;!doctype html&gt;
  &lt;html lang="en"&gt;
    &lt;head&gt;
      &lt;meta charset="utf-8"&gt;
      &lt;meta name="viewport" content="width=device-width, initial-scale=1"&gt;
      &lt;link rel="shortcut icon" href="%PUBLIC_URL%/favicon.ico"&gt;
      &lt;!--
        Notice the use of %PUBLIC_URL% in the tag above.
        It will be replaced with the URL of the `public` folder during the build.
        Only files inside the `public` folder can be referenced from the HTML.
  
        Unlike "/favicon.ico" or "favicon.ico", "%PUBLIC_URL%/favicon.ico" will
        work correctly both with client-side routing and a non-root public URL.
        Learn how to configure a non-root public URL by running `npm run build`.
      --&gt;
      &lt;title&gt;React App&lt;/title&gt;
    &lt;/head&gt;
    &lt;body&gt;
      &lt;div id="root"&gt;&lt;/div&gt;
      &lt;!--
        This HTML file is a template.
        If you open it directly in the browser, you will see an empty page.
  
        You can add webfonts, meta tags, or analytics to this file.
        The build step will place the bundled scripts into the &lt;body&gt; tag.
  
        To begin the development, run `npm start`.
        To create a production bundle, use `npm run build`.
      --&gt;
    &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>