Home Marketplace Apps Wordpress on Open Lite Speed

Wordpress on Open Lite Speed

Last updated on Oct 26, 2024

OpenLite Speed

LiteSpeed is a high-performance web server known for its speed and efficiency. Utilizing an event-driven architecture, it outpaces traditional servers like Apache, handling numerous connections with minimal resource usage. With advanced caching and support for protocols like HTTP/3, LiteSpeed significantly accelerates website loading times. Its built-in security features, including a Web Application Firewall (WAF), defend against online threats. LiteSpeed is a popular choice for high-traffic websites, offering optimal performance, scalability, and user-friendly configuration interfaces for seamless integration and management, making it a preferred solution for businesses and developers aiming to deliver fast, secure, and responsive web experiences.

Create Instance

  1. Login to the Web Portal with a valid American Cloud account.

  2. On the left navigation column choose 'Cloud Compute'.

  3. Click on "Create an Instance" select your "Project" and click "Proceed"

  4. Select your location and network. Under "Choose Server Image" select "Marketplace Apps" tab and choose "WordPress"

  5. Choose a server size.

  6. Optional Generate or add SSH key. Click on Review and Deploy once reviewed click on Deploy Now.

  7. Optional While the Wordpress VM is deploying a DNS record can be added if you already know what domain you are going to use for your site. The Public IP can be found under the Overview of the VM.

    Note: DNS providers have different methods of doing this, please contact your DNS provider if you are having any issues

    If desired American Cloud offers complimentary DNS Management. Add your domain to the DNS Management section in the left navigation menu on American Cloud. Afterwards go to your registar's website and point your domain to the American Cloud nameservers: ns1.americancloud.org and ns2.americancloud.org. Inside the American Cloud UI navigate to the DNS Manager and create the appropriate A records.

    Example Below: Inside American Cloud DNS Management click the edit pencil for your new domain and create the appropriate A records, remember to swap 0.0.0.0 for your new Public IP address.

  8. Navigating to the Public IP Address via a browser will display the OpenLiteSpeed landing page. Select the Quickstart Guide link to open LiteSpeed docs if desired.

  9. As directed on the LiteSpeed landing page SSH into the Wordpress instance utilizing the public ip, username, and password found on the instance overview page.

Configure Litespeed

Installed Software

  1. SSH into the instance

    ssh cloud@public_ip
    

    For further information on Using SSH Click Here.

  2. Insert Domain

    Your domain: YOUR_DOMAIN.com
    
  3. Confirm Domain Name

    The domain you put is: YOUR_DOMAIN.com
    Please verify it is correct. [y/N] y
    
  4. Determine if let's encrypt is ideal for the sites certificate and select y/n

    Do you wish to issue a Let's encrypt certificate for this domain [y/N]
    
  5. Enter and confirm the email for the certificate

    Please enter your E-mail: [email protected]
    The E-mail you entered is: [email protected]
    Please verify it is correct: [y/N]
    

    Note: Once email is confirmed a key cert will be created. The read-out identify the location of the cert and logs.

    If a failure occurs at this point, check DNS to ensure A records have been updated.

  6. Determine to force HTTPS rules be applied

    Do you wish to force HTTPS rewrite rule for this domain? [y/N]
    
  7. Next determine whether or not to update the system

    Do you wish to update the system now? This will update the web server as well. [Y/n]?
    
  8. Once the update is complete the site will be running at the domain specified. Open a browser and navigate to the site. Here the initial landing page for wordpress with be displayed

Environment Differences

  • cloud is the default user for inital setup VM's in the American Cloud environment. The DB and panel passwords are stored in the root directory. Follow the below steps to access these passwords.
  1. Access root utilizing sudo -i or preferred method.

  2. Use the command cat .db_password which will present the MySQL root and wordpress passwords.

  3. Use the command cat .litespeed_password to retrieve the panel password.