Skip to content
This repository has been archived by the owner on Jan 29, 2024. It is now read-only.

Commit

Permalink
Merge pull request #2339 from aiven/staceys-domains-doc-269
Browse files Browse the repository at this point in the history
Add instructions for managing domains
  • Loading branch information
staceysalamon-aiven authored Dec 8, 2023
2 parents ea8cff3 + 575eeba commit 1ae980e
Show file tree
Hide file tree
Showing 2 changed files with 99 additions and 0 deletions.
1 change: 1 addition & 0 deletions _toc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ entries:
entries:
- file: docs/platform/howto/manage-org-users
title: Invite and remove organization users
- file: docs/platform/howto/manage-domains
- file: docs/platform/howto/delete-user
- file: docs/platform/howto/make-super-admin
- file: docs/platform/howto/list-user-profile
Expand Down
98 changes: 98 additions & 0 deletions docs/platform/howto/manage-domains.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,98 @@
Manage domains
===============

.. important::
The domains feature is an :doc:`early availability feature </docs/platform/concepts/beta_services>`. To use it, enable the managed users :doc:`feature preview </docs/platform/howto/feature-preview>` in your user profile.

Verified domains let you manage users in your organization.

There are two ways you can verify a domain:

* by adding a DNS TXT record to the domain (recommended)
* by uploading an HTML file to your website

.. note::
After adding a domain, your organization users will automatically become managed users.

Add a domain using a DNS TXT record
-------------------------------------

1. In the organization you want to add a domain to, click **Admin**.

2. Click **Domains**.

3. Click **Add domain**.

4. Enter a **Domain name**.

5. In the **Verification method**, select **Add a DNS TXT record to your domain host**.

6. Click **Add domain**.

7. In the **Verification method** column, click **DNS TXT record**.

8. Copy the TXT record value.

9. In another browser tab or window, log in to your domain hosting provider.

10. Go to the DNS settings.

11. In the DNS settings for your domain provider, create a TXT record with the following:

.. list-table::
:header-rows: 1
:align: left

* - Field name
- Value
* - Name
- ``_aiven-challenge.{your domain}``
* - Record value
- The TXT record value you copied in the format ``token=<random_string>,expiry=never``
* - Type
- ``TXT``

12. In the Aiven Console, open the **Actions** menu and click **Verify**.

It can take up to 72 hours for your DNS records to update the domain to be verified. If the domain is still not verified after that time, you can retry it by repeating the last step.


Add a domain using an HTML file
--------------------------------

#. In the organization that you want to add a domain to, click **Admin**.

#. Click **Domains**.

#. Click **Add domain**.

#. Enter a **Domain name**.

#. In the **Verification method**, select **Upload an HTML file to your website**.

#. Click **Add domain**.

#. In the **Verification method** column, click **HTML file upload**.

#. Download the HTML file.

#. Upload the HTML file to your website in the path ``/.well-known/aiven``.

#. In the Aiven Console, open the **Actions** menu and click **Verify**.


Remove a domain
-----------------

.. important::
Removing a domain is an irreversible action.

#. In the organization that you want to remove a domain from, click **Admin**.

#. Click **Domains**.

#. Find the domain that you want to remove and open the **Actions** menu.

#. Click **Remove**.

#. Confirm you want to remove the domain by clicking **Remove domain**.

0 comments on commit 1ae980e

Please sign in to comment.