Change hostname/domain

Hi all, 

I would like to know if there is anyway to change the site name/domain that appears as a link in email [SITE]/path/to/ 
How can I change this [SITE] value to my domain?

Thank you!



You received this message because you are subscribed to the Google Groups “ERPNext User’s Forum” group.

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

To view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-user-forum/c252fbfe-68eb-4cdb-8616-cd182ac8385e%40googlegroups.com.

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

You can set that in the "host_name" property in site_config.json

https://github.com/frappe/frappe/blob/develop/frappe/utils/__init__.py#L803



On 25-Jun-2014, at 1:42 pm, Nguyen Do Le Bao <na...@gmail.com> wrote:

Hi all, 

I would like to know if there is anyway to change the site name/domain that appears as a link in email [SITE]/path/to/ 
How can I change this [SITE] value to my domain?

Thank you!




You received this message because you are subscribed to the Google Groups “ERPNext User’s Forum” group.

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

To view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-user-forum/c252fbfe-68eb-4cdb-8616-cd182ac8385e%40googlegroups.com.

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




You received this message because you are subscribed to the Google Groups “ERPNext User’s Forum” group.

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

To view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-user-forum/85CEE943-842E-4CB9-8C24-6CE5949E3F4F%40gmail.com.

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

Thanks!, i also have this situation.

i didnt found host_name property in the file sites/erpnext/site_config.json, there are only "db_name" and "db_password" there. And if i add "host_name" to this file then webserver does not serve the site.

also a looked at __init__.py and it refers host_name = frappe.local.conf.host_name but i couldnt track this value.

what im doing wrong , is there a place to set this host_name value ?

Thanks!
 

El viernes, 27 de junio de 2014 06:47:40 UTC-5, Rushabh Mehta escribió:
You can set that in the "host_name" property in site_config.json

https://github.com/frappe/frappe/blob/develop/frappe/utils/__init__.py#L803



On 25-Jun-2014, at 1:42 pm, Nguyen Do Le Bao <na...@gmail.com> wrote:

Hi all, 

I would like to know if there is anyway to change the site name/domain that appears as a link in email [SITE]/path/to/ 
How can I change this [SITE] value to my domain?

Thank you!




You received this message because you are subscribed to the Google Groups “ERPNext User’s Forum” group.

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

To view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-user-forum/c252fbfe-68eb-4cdb-8616-cd182ac8385e%40googlegroups.com.

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




You received this message because you are subscribed to the Google Groups “ERPNext User’s Forum” group.

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

To view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-user-forum/90c009b6-8296-4188-9f87-ee34a8f19c22%40googlegroups.com.

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


On 28-Jun-2014, at 5:47 am, Armando Hernandez <ar...@gmail.com> wrote:

Thanks!, i also have this situation.

i didnt found host_name property in the file sites/erpnext/site_config.json, there are only "db_name" and "db_password" there. And if i add "host_name" to this file then webserver does not serve the site.

What is the trace? check your JSON formatting - its very strict


also a looked at __init__.py and it refers host_name = frappe.local.conf.host_name but i couldnt track this value.

what im doing wrong , is there a place to set this host_name value ?

site_config.json


Thanks!
 

El viernes, 27 de junio de 2014 06:47:40 UTC-5, Rushabh Mehta escribió:
You can set that in the "host_name" property in site_config.json

https://github.com/frappe/frappe/blob/develop/frappe/utils/__init__.py#L803



On 25-Jun-2014, at 1:42 pm, Nguyen Do Le Bao <na...@gmail.com> wrote:

Hi all, 

I would like to know if there is anyway to change the site name/domain that appears as a link in email [SITE]/path/to/ 
How can I change this [SITE] value to my domain?

Thank you!




You received this message because you are subscribed to the Google Groups “ERPNext User’s Forum” group.

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

To view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-user-forum/c252fbfe-68eb-4cdb-8616-cd182ac8385e%40googlegroups.com.

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





You received this message because you are subscribed to the Google Groups “ERPNext User’s Forum” group.

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

To view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-user-forum/90c009b6-8296-4188-9f87-ee34a8f19c22%40googlegroups.com.

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




You received this message because you are subscribed to the Google Groups “ERPNext User’s Forum” group.

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

To view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-user-forum/1618B61C-5D66-4C9B-AD0B-234BA86968BD%40gmail.com.

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

oh! sorry i was missing a comma,

file sites/erpnext/site_config.json 

{
 "db_name": "erpnext",
 "db_password": "PASSVALUE",
 "host_name": "https://host.yourdomain.com"
}

Thank you very much


El sábado, 28 de junio de 2014 00:24:17 UTC-5, Rushabh Mehta escribió:

On 28-Jun-2014, at 5:47 am, Armando Hernandez <armando.her...@gmail.com> wrote:

Thanks!, i also have this situation.

i didnt found host_name property in the file sites/erpnext/site_config.json, there are only "db_name" and "db_password" there. And if i add "host_name" to this file then webserver does not serve the site.

What is the trace? check your JSON formatting - its very strict

Trace =  i was trying to see where this value came from, but like i said no it is working
 
also a looked at __init__.py and it refers host_name = frappe.local.conf.host_name but i couldnt track this value.

what im doing wrong , is there a place to set this host_name value ?

site_config.json


Thanks!
 

El viernes, 27 de junio de 2014 06:47:40 UTC-5, Rushabh Mehta escribió:
You can set that in the "host_name" property in site_config.json

https://github.com/frappe/frappe/blob/develop/frappe/utils/__init__.py#L803



On 25-Jun-2014, at 1:42 pm, Nguyen Do Le Bao <na...@gmail.com> wrote:

Hi all, 

I would like to know if there is anyway to change the site name/domain that appears as a link in email [SITE]/path/to/ 
How can I change this [SITE] value to my domain?

Thank you!




You received this message because you are subscribed to the Google Groups “ERPNext User’s Forum” group.

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

To view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-user-forum/c252fbfe-68eb-4cdb-8616-cd182ac8385e%40googlegroups.com.

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





You received this message because you are subscribed to the Google Groups “ERPNext User’s Forum” group.

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

To view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-user-forum/90c009b6-8296-4188-9f87-ee34a8f19c22%40googlegroups.com.

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




You received this message because you are subscribed to the Google Groups “ERPNext User’s Forum” group.

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

To view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-user-forum/75a4da4a-ee89-4924-9148-dba8a0fde195%40googlegroups.com.

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