Public link or public embed not loading


I'm trying to create a public link or public embed. I followed all the steps from this page:Public sharing
But somehow I still see an error message if I try and open the link;

Does anyone know what might could've caused this?

I think you have a wrong url defined in settings->admin->general, that might be pointing towards somewhere else

I got it working now, indeed had to change the URL, thanks!