Alibaba Cloud Simple Application Server provides multiple application images. You can use these images to create simple application servers, deploy application environments, and build websites on the servers with ease. In the examples described in this topic, a WordPress application image is used and a WordPress personal blog site is built.

Background information

For more best practices for building websites or deploying development environments, see Overview.

Step 1: Create a simple application server

  1. Log on to the Simple Application Server console.
  2. In the left-side navigation pane, click Servers.
  3. In the upper-right corner of the Servers page, click Create Server.
  4. On the Simple Application Server page, configure parameters to create a simple application server.
    The following table describes the parameters.
    Parameter Example Description
    Region China (Hong Kong) Select a region based on the geographical location of your business. The region cannot be changed after the server is created. Proceed with caution.
    Note Simple application servers in regions outside mainland China such as the China (Hong Kong) and Singapore (Singapore) regions use international bandwidth. High network latency may occur when you access these servers from regions inside mainland China. We recommend that you select a region that is closest to the geographical location of your target users to speed up access. For more information, see Regions and network connectivity.
    Image
    • Type: Apps Image
    • Application: WordPress
    • Version: 4.9.0
    Select a tab and then select an image.
    • Apps Image: shows application images. Application images contain application environments and allow you to deploy development environments or build websites with ease.
    • OS Image: shows operating system (OS) images. OS images contain only base operating systems. You can install applications based on your needs.
    • Custom Images: shows custom images. Custom images are created from snapshots of simple application servers. You can use a created custom image to create simple application servers that have identical configurations. For more information, see Overview.
    Instance Plan $3.5/mo Select a plan based on your business needs. You are charged additional fees for outbound data transfer to the Internet beyond the plan. For more billing information, see Pricing and Traffic pricing.
    Data Disk 0GB Optional. To have more storage space on the simple application server, you can specify a non-zero value to create and attach a data disk of the specified size.
    Subscription Time 1 Month Select a subscription period for the simple application server. You can optionally select Auto-renewal to enable the auto-renewal feature.
    Quantity 1 Specify the number of simple application servers that you want to create. The default value is 1. You can create up to 20 simple application servers at a time.
  5. Click Buy Now.
  6. On the Confirm Order page, confirm the order.
  7. In the Terms of Service section, read the General Terms and End User License and select I have read and agree to General Terms, End User License.
  8. Click Pay and follow the instructions to make a payment.
    After the payment is made, go back to the Simple Application Server console. On the Servers page, find the created server. After the status of the simple application server changes from Initializing to Running, click the server card to view the server details.

Step 2: Configure the application

  1. Obtain the logon information of WordPress preset in the server.
    1. On the Servers page, find the created WordPress server and click the server card.
    2. In the left-side navigation pane, choose Applications > Application Details.
    3. In the WordPress Information section, click Copy to copy the command used to query the WordPress logon password.
    4. Click Connect.
    5. In the command line window that appears, right-click anywhere and select Paste.
      After you run the pasted command, the password of the WordPress administrator is returned, as shown in the following figure. wordpress password
    6. Select and right-click the password and then select Copy.
  2. Log on to the WordPress backend and configure user information.
    1. Close the command line window. Then, in the WordPress Information section, click the URL next to Administrator Logon Address.
      wordpress admin url
    2. Enter the admin username and the copied password of the WordPress administrator, and then click Log In.
      wordpress login
    3. In the left-side navigation pane, choose Users > All Users.
    4. On the Users page, move the pointer over admin and click Edit.
      Users
    5. Edit the information of the admin user and click Update Profile.
      In this example, the following configurations are edited:
      • Email (required) in the Contact Info section: Enter your email address.
      • New Password in the Account Management section: Click Generate Password and change the password to your custom one.

Step 3: (Optional) Bind and resolve a domain name

The security of your server is compromised if you use the public IP address of the server to access the WordPress blog site deployed on the server. To ensure server security, we recommend that you access the blog site by using a domain name. If you have registered or want to register a domain name for the blog site, perform the following procedure to bind and resolve a domain name.

  1. Register a domain name.
    For more information, see Register a generic domain nameHow to register an Alibaba Cloud domain name. If you have registered a domain name, skip this step.

    Example: example.com.

  2. If the website to which the domain name points is hosted on a server within a mainland China region, you must apply for an ICP filing for the domain name.
  3. Optional:Resolve the domain name and point it to the public IP address of the server.
    • If your domain name is registered with Alibaba Cloud, skip this step. After the domain name is bound, the system resolves the domain name.
    • If your domain name is not registered with Alibaba Cloud or resolved by Alibaba Cloud DNS, you can add the domain name for Alibaba Cloud DNS to resolve it. For more information, see Domain Management. You can also contact the domain name service provider, create an A record for the domain name that points to the IP address of the WordPress server, and then bind the domain name.
  4. Go back to the details page of the WordPress server. In the left-side navigation pane, choose Website > Domains.
  5. Click Add Domain Name.
  6. Enter a domain name and click OK.
    After the domain name is bound, the system checks whether the domain name is resolved.
    • If the domain name is registered with Alibaba Cloud or resolved by Alibaba Cloud DNS, click OK. The domain name is bound.
    • If the domain name is not registered with Alibaba Cloud or resolved by Alibaba Cloud DNS, the domain name remains in the Unresolved state after it is bound. You can configure the domain name to be resolved based on the on-screen tips in the Simple Application Server console.

Step 4: Test access to the WordPress blog site

  1. Optional:Configure the domain name in the WordPress backend.
    If you have bound and resolved a domain name for the WordPress server, you must configure the domain name in the WordPress backend. If you have not bound a domain name to the WordPress server, you can skip this step and use the public IP address of the server to access the WordPress blog site.
    1. Log on to the WordPress backend.
    2. In the left-side navigation pane, choose Settings > General.
    3. In the WordPress Address (URL) and Site Address (URL) fields, enter http://<Bound and resolved domain name>.
      You can also enable secure HTTPS access for the domain name and use encrypted transmission and identity authentication to ensure security of data transmission. For more information, see Enable HTTPS-encrypted access. After secure HTTPS access is enabled, you must change http in the URL of the WordPress blog site to https. wordpress url
    4. Click Save Changes.
  2. Use a browser on your computer to access http://<Bound and resolved domain name> or <Public IP address of the WordPress server>.
    Check whether the WordPress blog site can be accessed. If the blog site cannot be accessed, troubleshoot the issue by using the following methods:
    • Check whether the domain name status is normal and whether the domain name resolved by DNS points to the IP address of the WordPress server. If exceptions exist, contact the service provider of the domain name or the DNS service provider for troubleshooting.
    • Check whether the WordPress application can run normally. If exceptions that cannot be fixed exist, reset the server. For more information, see Reset a simple application server.