Incorrect domain for new user accounts

Dear All,
It may well be possible that I am missing some knob to get the correct setting, but the e-mailed password/subscription confirmation link sent out by ERPNext sports the internal domain name of my application server jail, e,g. http://www_py.jail.vlan:8080/update-password?key=2OtD2555nheKoOlpzChMT0HCAegkIkdp, which is, of course, incorrect.
Is there any way to set the proper "external" domain name in such virtutalised environment?
Thanks a lot!
Chris



Note:

 

If you are posting an issue,

 

  1. ERPNext is a free and open source software and support is given on this forum by a team (https://frappe.io/webnotes). So please consider donating if you find this forum useful (https://frappe.io/buy). Even a small amount would be helpful.
  2. We should be able to replicate it at our end. So please give us as much information as you can. Please see it from the point of view of the person receiving the communication.
  3. Paste your code at http://pastebin.com or http://gist.github.com and send only the URL via email
  4. For sending images, use http://imgur.com or other similar services. Do not send images as attachments. Links are good. Same goes for any file you are going to send.

     

    End of Note



    You received this message because you are subscribed to the Google Groups "ERPNext Developer Forum" group.

    To unsubscribe from this group and stop receiving emails from it, send an email to erpnext-developer-forum+un…@googlegroups.com.

    To view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-developer-forum/07d0b13b-7f09-47ac-b1b1-2f6732fec088%40googlegroups.com.

    For more options, visit https://groups.google.com/d/optout.

On Mon, Jul 21, 2014 at 9:13 PM, Christoph H. Larsen
ch...@gmail.com wrote:

Dear All,
It may well be possible that I am missing some knob to get the correct
setting, but the e-mailed password/subscription confirmation link sent out
by ERPNext sports the internal domain name of my application server jail,
e,g.
http://www_py.jail.vlan:8080/update-password?key=2OtD2555nheKoOlpzChMT0HCAegkIkdp,
which is, of course, incorrect.
Is there any way to set the proper “external” domain name in such
virtutalised environment?
Thanks a lot!
Chris

Hi Chris,

Add a property, “host_name”: “http://domain_you_want” in
site_config.json and it’ll for the domain ( and the scheme) to be
such.

Thanks,

Pratik
erpnext

Great! Thanks. Where is the magic of

On Monday, 21 July 2014 23:30:30 UTC+7, Pratik Vyas wrote:
On Mon, Jul 21, 2014 at 9:13 PM, Christoph H. Larsen
<ch...@gmail.com> wrote:
> Dear All,
> It may well be possible that I am missing some knob to get the correct
> setting, but the e-mailed password/subscription confirmation link sent out
> by ERPNext sports the internal domain name of my application server jail,
> e,g.
> http://www_py.jail.vlan:8080/update-password?key=2OtD2555nheKoOlpzChMT0HCAegkIkdp,
> which is, of course, incorrect.
> Is there any way to set the proper "external" domain name in such
> virtutalised environment?
> Thanks a lot!
> Chris

Hi Chris,

Add a property, "host_name": "http://domain_you_want" in
site_config.json and it'll for the domain ( and the scheme) to be
such.


Thanks,
 
--
Pratik
erpnext

Thanks Pratik! Time to dig out the magic included in site_config.json! Any documentation to avoid future dull questions?
Cheers,
Chris



Note:

 

If you are posting an issue,

 

  1. ERPNext is a free and open source software and support is given on this forum by a team (https://frappe.io/webnotes). So please consider donating if you find this forum useful (https://frappe.io/buy). Even a small amount would be helpful.
  2. We should be able to replicate it at our end. So please give us as much information as you can. Please see it from the point of view of the person receiving the communication.
  3. Paste your code at http://pastebin.com or http://gist.github.com and send only the URL via email
  4. For sending images, use http://imgur.com or other similar services. Do not send images as attachments. Links are good. Same goes for any file you are going to send.

     

    End of Note



    You received this message because you are subscribed to the Google Groups "ERPNext Developer Forum" group.

    To unsubscribe from this group and stop receiving emails from it, send an email to erpnext-developer-forum+un…@googlegroups.com.

    To view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-developer-forum/795f5439-2756-49d2-8d86-977cfb442c95%40googlegroups.com.

    For more options, visit https://groups.google.com/d/optout.

Thanks Pratik! Time to dig out the magic included in site_config.json! Any
documentation to avoid future dull questions?
Cheers,
Chris

Hi Chris,

The documentation on configuration options is missing. Will start
documenting 'em today at frappe.io. Thanks for the push :slight_smile:

Will reply to our BSD thread in some time.


Pratik
erpnext