Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

docs: Improve documentation for changing a realm's subdomain.

Siddharth Asthanae7f24ac8d420
diff --git a/templates/zerver/help/change-organization-url.md b/templates/zerver/help/change-organization-url.md
index 163f60389fa..52ef11d419f 100644
--- a/templates/zerver/help/change-organization-url.md
+++ b/templates/zerver/help/change-organization-url.md
@@ -21,13 +21,26 @@ for paid plans.
## Self-hosting
-If you're self-hosting, you can change the root domain of your server
-by changing the `EXTERNAL_HOST` [setting][zulip-settings]. If you're
-[hosting multiple organizations][zulip-multiple-organizations] and
-want to change the subdomain for one of them, you can use
-`do_change_realm_subdomain(realm, "new_subdomain")` in a [management
-shell][management-shell].
+If you're self-hosting, you can change the root domain of your Zulip
+server by changing the `EXTERNAL_HOST` [setting][zulip-settings]. If
+you're [hosting multiple organizations][zulip-multiple-organizations]
+and want to change the subdomain for one of them, you can follow these
+steps:
+
+{start_tabs}
+
+1. Get the `string_id` for your organization as [described here][find-string-id]
+
+2. Run the following commands in a [management shell][management-shell]:
+
+ ```
+ realm = get_realm("string_id")
+ do_change_realm_subdomain(realm, "new_subdomain")
+ ```
+
+{end_tabs}
[zulip-settings]: https://zulip.readthedocs.io/en/stable/production/settings.html
[zulip-multiple-organizations]: https://zulip.readthedocs.io/en/stable/production/multiple-organizations.html
[management-shell]: https://zulip.readthedocs.io/en/stable/production/management-commands.html#manage-py-shell
+[find-string-id]: https://zulip.readthedocs.io/en/stable/production/management-commands.html#accessing-an-organization-s-string-id