How to only allow search engines to index one URL

Hi everyone.

I need to only allow search engines to index one URL: https://myactualdomain.com

However, when I deploy I get these sites:

https://myactualdomain.com
https://master--sugarsite.netlify.app/
https://629e9549baae8e11a8fa75da--sugarsite.netlify.app/

I create a _redirects file with

# _redirects
https://sugarsite.netlify.app/* https://myactualdomain.com/:splat 301!
http://sugarsite.netlify.app/*  https://myactualdomain.com/:splat 301!
https://master--sugarsite.netlify.app/* https://myactualdomain.com/:splat 301!
http://master--sugarsite.netlify.app/*  https://myactualdomain.com/:splat 301!

My question is:

How do I prevent https://629e9549baae8e11a8fa75da--sugarsite.netlify.app/ from being indexed?
Where does that URL come from and is it static?

Thank you!
Kevin

The URL is created automatically, and yes it is static.
It’s part of Netlify’s “Immutable deploys”.

You don’t need to do anything, the page is being served with an x-robots-tag: noindex.

You can read more about it here: