A domain alias is an alias for the default domain name. After you create and verify a domain alias, Resource Access Management (RAM) users can use the domain alias as a suffix for their usernames to log on to the console.
Prerequisites
You must have a publicly resolvable domain name.
Procedure
Log on to the RAM console to create a domain alias.
Log on to the RAM console as a RAM user with administrative rights.
On the Settings page, under Domain Names, click Create Domain Alias.

In the Create Domain Alias dialog box, enter a domain alias and click OK.
Click Verify Domain Ownership and copy the TXT record value.

Log on to your DNS provider's platform and add a TXT record.
If you use Alibaba Cloud DNS, enter the TXT record value from Step 1 in the Record Value field. For more information, see TXT record.
Log on to the RAM console to complete the domain ownership verification.
On the Settings page, in the Domain Names section, find the target domain alias and click Verify Domain Ownership in the Actions column.
In the Verify Domain Ownership dialog box, confirm that the domain ownership verification is successful, and then click OK.
What to do next
RAM users can use the domain alias to log on to the RAM console. The logon username is in the format <UserName>@<DomainAlias> (<RAM username>@<domain alias>). For more information, see Log on to the Alibaba Cloud Management Console as a RAM user.
You can also use a domain alias to simplify the configuration of SAML-based single sign-on (SSO). For more information, see Configure SAML for user-based SSO.