title: Fastify redirect to external URL
body: <p>Using <code>fastify</code> library I want to be redirected to a web-page.
  Looking at all the examples in docs, it seems like it covers only route-to-route redirection.</p>
  <p><a href="https://www.fastify.io/docs/v2.6.x/Reply/#redirectdest" rel="nofollow noreferrer">Link to redirect docs</a></p>
  <pre><code>fastify.post('/v1/launch', async (req, res) =&gt; {
    response.redirect('/empty-cart');
  });
  </code></pre>
  <p>The code above results in 404 error trying to find that route.</p>
  <p><a href="https://i.stack.imgur.com/UBjeC.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/UBjeC.png" alt="result" /></a></p>
  <p>But how it can be redirected to external page? Thanks!</p>
  <p><strong>Update</strong>:
  Trying to redirect to <code>https://my-domain.com/empty-cart</code></p>
  <p><a href="https://i.stack.imgur.com/mX6r9.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/mX6r9.png" alt="result2" /></a></p>
  <p>with <code>ERR_NAME_NOT_RESOLVED</code> error</p>