Skip to content

How to change hostname or add custom domains to frappe site

Yashodhan edited this page Feb 12, 2017 · 1 revision

Previous Methods of adding custom domain to Frappe/ERPNext site is depreciated.

To use custom domains use Usage: bench setup add-domain [OPTIONS] DOMAIN

~/frappe-bench$ bench setup add-domain --help
Usage: bench setup add-domain [OPTIONS] DOMAIN

  Add custom domain to site

Options:
  --site TEXT                 Example: site1.local
  --ssl-certificate TEXT      Absolute path to SSL Certificate
  --ssl-certificate-key TEXT  Absolute path to SSL Certificate Key
  --help                      Show this message and exit.