How to setup trusted domain what is bought from (Freenas Jail)

How I can configure trusted domain what I bought from

I forwarded ports and can access via external IP to Nextcloud. I want change IP to ‘’.

I changed ‘config.php’ file added domain name and external IP but still cant access via domain name.

Go to namecheap and set up A record in to your domain’s DNS settings.

Did you find a solution?