rocklee44 No, it doesn't need to be public - it's just the URL that the client gets redirected to, so an internal DNS entry is fine. 404 not found is usually a result of URL rewriting not being enabled, so check the config in your web server to ensure this is done. Note that there can be over-riding directives (for example, the config for the directory /var/www would be overridden by the config for /var/www/html), so make sure to put it in the location for your web server directory.
The only essential part is https, but this can be via a self-signed certificate if the URL isn't externally visible.