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

How I can configure trusted domain what I bought from namecheap.com.

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

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.
https://www.namecheap.com/support/knowledgebase/article.aspx/319/2237/how-can-i-set-up-an-a-address-record-for-my-domain

@OfficialCloud
Did you find a solution?