How do I change the previewed URL to include my custom URL rather than the Netlify URL?

My Domain (same site):

Having some trouble with the domain, so if it doesn’t work please ignore it for now. The issue should be straight forward anyways.


  • Go to the website.
  • Hover any of the buttons in the header.
  • See the URL preview (bottom left for me, might differ depending on browser.
  • If you can’t see the preview, right clicking the button and “copy link address” will give the same result.

Please note that the previewed URL always includes the “” URL, even if you are redirecting from “” to “”.

I’m very new to all this, so any information is very helpful. Thanks. contains the site deployed to inside an <iframe>. There is no way in such a situation to change the URL displayed or accessed.

If you would prefer to use as the domain people access, and people see (in both the address bar, and elsewhere) the best option is to configure as a custom domain for your project.

Check out