All Products
Search
Document Center

Elastic Compute Service:Build a website

Last Updated:Aug 14, 2026

You may use your company's website and an internal Office Automation (OA) system at work. In your spare time, you may also browse forums, read blogs, or shop online. This topic describes how to build your own website service.

Procedure

  1. Prepare a server.

    Different types of websites require different ECS configurations. Determine the scale of your website and the expected number of visitors. For small websites, a basic configuration is usually sufficient. For more information, see Create an instance using the wizard.

  2. Add security group rules.

    Ports 22 and 3389, which are required for remote connections, are enabled by default when you create a security group. To allow access to your website, you must also enable ports 80 and 443. Confirm that these ports are open for inbound traffic in your security group. If they are not open, add rules to open them. For more information, see Add a security group rule.

  3. Deploy the website.

    This node contains documents with deployment solutions for many popular websites. You can use these solutions to design, develop, and deploy various types of websites to meet your requirements.

  4. Purchase a domain name.

    Search for and purchase your desired domain name if it is available. For more information, see Register a generic domain name.

    For the differences between .com and .net domain name suffixes, see Domain name differences.

  5. Apply for an ICP filing for the domain name.

    Important

    You must apply for an ICP filing if the server that hosts your website is in a region in the Chinese mainland. Otherwise, skip this step.

    1. Prepare for the ICP filing.

      ICP filing requirements vary by province. Prepare the required documents in accordance with the ICP filing rules of communications administrations in different regions. For more information, see Preparations for an ICP filing.

    2. Apply for the ICP filing.

  6. Resolve the domain name. After you set up domain name resolution, external users can access your website using the domain name.

    To point the domain name to an IP address, add an A record. For more information, see Add a DNS record.

  7. (Optional) Enable HTTPS encrypted access.

    Certificate Management Service helps you switch your service from HTTP to HTTPS at a minimal cost. This change enables identity verification and data encryption for your website or mobile application. For more information, see What is Certificate Management Service? If you have already purchased and downloaded an SSL certificate, the deployment method varies depending on the server environment. For more information, see Deploy an SSL certificate.

The website setup is complete. To test the service, visit your domain name in a browser.

References