Can't do something else than localhost?

So i recently finished the installation of jitsi and added my custom hostname.
The only problem is that i can only access the website when i enter the hostname with my vpn activated (i am on a ssh vm running debian)
Is there a way to have a “public” ip that everyone can access without having to activate the same vpn ?

Thanks.