Site1.local link in email instead of ip

Get following link in email

_**http://site1.local/desk#Form/Material%20Request/MREQ-1**_
Rather than IP ADDRESS

How to fix it ?

I think that’s the hostname in the json file in the site1.local folder that will need changing

1 Like

there is no host name

Ah I had to add mine to convert from site. Local to a working Fqdn

can you tell me how to do it ?

Hello,

In order to do this, you need to go into the following file (please note your path might be different than mine):

/frappe-bench/sites/site1.local/site_config.json

In this file, you must fine the following section:

“domains”: [

In this section, add the following code:

“domain”: “domain.name”,

where “domain.name” is your FQDN, including http or https.

You probably need to restart the services after making this change.

Thanks @mkf . I didn’t have the details on me to describe how to do this at the time.