All Products
Search
Document Center

Simple Application Server:Bind and resolve a domain name

Last Updated:Jan 26, 2024

Even though your website can be directly accessed by using a public IP address upon building, we recommend that you configure a domain name for your website for security and convenience purposes. This topic describes how to bind and resolve a domain name on a simple application server.

Prerequisites

Procedure

  1. Log on to the Simple Application Server console.

  2. In the left-side navigation pane, click Servers.

  3. In the card of the desired simple application server, click the server ID.

  4. Click the Domain Names tab. In the upper-left corner of the Website domain name page, click Add domain name.

  5. Enter the domain name and click Next.

  6. Resolve the domain name.

    • If the domain name is registered with Alibaba Cloud, click OK. The system automatically resolves the domain name.

      You can also manually resolve the domain name. For more information, see Add an A record to a website domain.

      image.png

    • If the domain name is not registered with Alibaba Cloud and has not been resolved by using Alibaba Cloud DNS, the system cannot directly resolve the domain name. In this case, you must use one of the following methods to resolve the domain name:

      image

    If the domain name is bound, a message that is similar to the following figure is displayed:

    image.png

  7. Enter the domain name in the browser to check whether the website is accessible.

    If the website can be accessed by using the domain name, the domain name is resolved.

Related operations

After you add and resolve a domain name, you can perform the operations described in the following table based on your business requirements.

Operation

Description

Procedure

Delete a DNS record

If you no longer require a DNS record, you can delete the DNS record. A DNS record no longer takes effect after you delete it. Perform this operation with caution.

Note

When you delete a DNS record in the Simple Application Server console, the DNS record is also deleted from the DNS console. The DNS settings expire 10 minutes after the delete operation.

  1. On the Domain Names page, find the domain name that you want to manage and click Delete DNS in the Actions column.

  2. In the dialog box that appears, click OK.

Resolve a domain name

You can resolve a deleted domain name.

  1. In the Actions column of the domain name that you want to manage, click Resolve.

  2. In the dialog box that appears, click OK.

Delete a domain name

If you no longer require a domain name, you can delete a domain name. Deleted domain names are not managed in the Simple Application Server console.

Note

After you delete a domain name, the DNS record of the domain name is not deleted at the same time. You can delete the DNS record in the DNS console. For more information, see Pause or delete DNS records.

  1. On the Domain Names page, find the domain name that you want to delete and click Delete in the Actions column.

  2. In the dialog box that appears, click OK.

References

If you want to enable HTTPS-encrypted access for a domain name to ensure data transfer security by using encrypted transmission and identity authentication technologies, see the following topics: