All Products
Search
Document Center

Elastic Compute Service:Build a website

Last Updated:Nov 19, 2024

During working hours, you may access the corporate website and internal OA system. Outside of work, you can engage in activities such as browsing forums, reading blogs, or online shopping. This topic describes how to build your own website.

Procedure

  1. Prepare an Elastic Compute Service (ECS) instance.

    Website requirements vary, so choose an instance configuration that matches the size of your site and expected traffic. Basic configurations are sufficient for small websites. For more information, see Create an instance on the Custom Launch tab.

  2. Configure security group rules.

    By default, ports 22 and 3389 that are required to connect to an instance are enabled when you create a security group. Enable ports 80 and 443 to allow website access. Ensure these ports are enabled for inbound traffic in the security group. If not, configure them manually. For more information, see Add a security group rule.

  3. Deploy the website.

    The topics under the current chapter describe deployment solutions for commonly used websites. You can design, develop, and deploy various types of websites based on your needs.

  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 Internet Content Provider (ICP) filing for the domain name.

    Important

    If the instance that hosts your website is located in a region within the Chinese mainland, you must apply for an ICP filing for your domain name. Otherwise, this step can be skipped.

    1. Prepare for the ICP filing.

      Document requirements for ICP filing vary by province. Prepare the necessary documents according to the ICP filing regulations of the MIIT for different regions. For more information, see Overview.

    2. Submit the ICP filing application.

  6. Resolve the domain name. Configure domain name resolution settings to allow external users to visit your website using your domain name.

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

  7. (Optional) Enable secure HTTPS access.

    SSL Certificates Service allows you to redirect HTTP traffic that is destined for your websites or mobile applications to HTTPS traffic at minimal costs. You can use SSL certificates to authenticate users and encrypt data. For more information, see What is Certificate Management Service? If you purchase and download an SSL certificate, the methods to install the certificate on servers vary based on the server environment. For more information, see Installation overview.

Now you have built a website on your own. Use the domain name to visit the website and verify that the services are functioning.

References

  • For information about how to select Alibaba Cloud services and configurations based on your business needs, see Architecture Consulting Service.

  • If you want to migrate your business from your data center or a hosted data center to Alibaba Cloud, you can request technical support from Alibaba Cloud for cloud migration. For more information, see Cloud Migration Service.