<p dir="auto">When using next.js app in production mode with assets hosted on static (or not next.js powered) CDN  it breaks when user navigates to non-existing page.</p>

<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have searched the <a href="https://github.com/zeit/next.js/issues">issues</a> of this repository and believe that this is not a duplicate.</li>
</ul>
<h2 dir="auto">Expected Behavior</h2>
<p dir="auto">Expected behavior to do full page "refresh" to allow integration between next.js powered pages other web pages on internet.</p>


<h2 dir="auto">Current Behavior</h2>
<p dir="auto">It renders unexpected error page:<br>
<a target="_blank" rel="noopener noreferrer nofollow" href="https://camo.githubusercontent.com/50a5aa43ac59d940c76911b8bcb7796f92cc18508eebddc0aa4f7406becaf980/687474703a2f2f69612e67732f3258323430453331316730452f496d616765253230323031382d30322d3230253230617425323031312e35392e3435253230414d2e706e67"><img src="https://camo.githubusercontent.com/50a5aa43ac59d940c76911b8bcb7796f92cc18508eebddc0aa4f7406becaf980/687474703a2f2f69612e67732f3258323430453331316730452f496d616765253230323031382d30322d3230253230617425323031312e35392e3435253230414d2e706e67" alt="unexpected error" data-canonical-src="http://ia.gs/2X240E311g0E/Image%202018-02-20%20at%2011.59.45%20AM.png" style="max-width: 100%;"></a></p>
<h2 dir="auto">Steps to Reproduce (for bugs)</h2>
<p dir="auto">I created example repo: <a href="https://github.com/alexindigo/next-ab">https://github.com/alexindigo/next-ab</a></p>
<h2 dir="auto">Context</h2>
<p dir="auto">It doesn't allow us to integrate new next.js powered pages with the existing website.</p>
<h2 dir="auto">Your Environment</h2>
<table role="table">
<thead>
<tr>
<th>Tech</th>
<th>Version</th>
</tr>
</thead>
<tbody>
<tr>
<td>next</td>
<td>5.0.0</td>
</tr>
<tr>
<td>node</td>
<td>8.9.3</td>
</tr>
<tr>
<td>OS</td>
<td>macOS 10.13.3</td>
</tr>
<tr>
<td>browser</td>
<td>Chrome 64</td>
</tr>
</tbody>
</table>
<p dir="auto">Thank you.</p>
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> I have searched the <a href="https://github.com/zeit/next.js/issues?q=is%3Aissue">issues</a> of this repository and believe that this is not a duplicate.</li>
</ul>
<h2 dir="auto">Expected Behavior</h2>


<h2 dir="auto">Current Behavior</h2>


<h2 dir="auto">Steps to Reproduce (for bugs)</h2>


<ol dir="auto">
<li></li>
<li></li>
<li></li>
<li></li>
</ol>
<h2 dir="auto">Context</h2>


<h2 dir="auto">Your Environment</h2>

<table role="table">
<thead>
<tr>
<th>Tech</th>
<th>Version</th>
</tr>
</thead>
<tbody>
<tr>
<td>next</td>
<td></td>
</tr>
<tr>
<td>node</td>
<td></td>
</tr>
<tr>
<td>OS</td>
<td></td>
</tr>
<tr>
<td>browser</td>
<td></td>
</tr>
<tr>
<td>etc</td>
<td></td>
</tr>
</tbody>
</table>