All Products
Search
Document Center

Simple Application Server:Manage applications

Last Updated:Jun 03, 2026

View and manage pre-installed applications on Simple Application Servers created from application images.

Prerequisites

A Simple Application Server is created from an application image. Create a Simple Application Server.

Important

This feature applies only to servers created from application images, not OS images.

Procedure

This example uses a LAMP 6.1.0 server. The steps are similar for other application images, but console details may differ.

  1. Go to the Servers page in the Simple Application Server console.

  2. Click a server ID to open the server overview page.

  3. Click the Application Details tab.

    Note

    This tab is available only for application image servers.

  4. View the application details.

    The application details page displays:

    • Image information: server running status and image version. For complex issues, click Contact the service provider or View image Help documentation..

    • Basic usage steps.

      Follow these steps to build a website.

      image

    • Application information: configuration details including username, password, website root directory, and home address.

      For this LAMP example, the database account is root, the command to obtain the database password is sudo grep mysql_root_passwd /root/env.txt, the website root directory is /home/www/htdocs, and the port for the database address is 3306.

      • Click the link next to Homepage Address to verify the server configuration.

        If the page shows It Works!, Apache is running correctly.

      • Next to database password, click the copy icon image.png, and then click Connect. In the terminal, paste and run the command to retrieve the database admin password.

        [admin@iZ7xvdgmetdlzv3sg4qxxx  ~]$ sudo grep mysql_root_passwd /root/env.txt
        mysql_root_passwd:EA397afc
        [admin@iZ7xvdgmetdlzv3sg4qxxx  ~]$
    • Application installation information. The LAMP image includes Apache 2.4 (installed in /usr/local/apache), MySQL 5.7 (installed in /usr/local/mysql), and PHP 5.6 (installed in /usr/local/php56).

  5. Configure the application.

    For example, create a test .html page in the LAMP server's website root directory and access it via the server's public IP.

    1. In the LAMP information section, find the website root directory (/home/www/htdocs) and click Remote Connection.

    2. Switch to the root user.

      sudo su root
    3. Go to the website root directory.

      cd /home/www/htdocs
    4. Create a test file named test.html and write "Test001" into it.

      touch test.html
      echo 'Test001' >> test.html
    5. In a browser, navigate to http://<public_IP_address_of_your_Simple_Application_Server>/test.html.

      File changes in the website root directory take effect immediately. Configuration file changes require an Apache restart.

      Warning

      Restarting Apache may cause a service interruption. Perform this during off-peak hours.

      If the page shows Test001, the website is correctly configured and publicly accessible.

What's next

  • To make your website accessible through a custom domain name, upload project files to the website root directory, then bind and resolve the domain. Register and resolve a domain name.

  • Alibaba Cloud provides best practices for building websites, such as deploying MantisBT in a LAMP environment or hosting multiple sites on one server. Best practices overview.