How to use the WordPress One-Click Install on LayerStack Cloud Servers

2021-09-10 By Gary 3230 Views linux wordpress cms_application one_click_apps layerpanel
42 reviews

WordPress, one of the most popular content management and blog platforms, is a free open-source CMS software, that allows to create and manage a vast variety of website content efficiently.


WordPress has its own advantages which include:

  • A simple and sophisticated user interface

  • Good support documentation

  • Great flexibility

  • Support for a variety of plugins


LayerStack has come up with a new feature where you can deploy WordPress with a single click on your Cloud Servers for all regions.


HTTP link to log in to WordPress Dashboard:

http://<serverip>/wp-login.php


Getting started with our One Click WordPress installed Cloud servers


The following software will be installed once the server is deployed with WordPress.

Software Description
MySQL server Backend database for WordPress
PHP 7 WordPress requires PHP 7 environment to operate
Nginx The webserver used for the serving contents
WordPress 5.8 Latest version of WordPress CMS
WP CLI The command line interface for WordPress


The below are the required fields to be entered by the user in order to complete the WordPress installation.

Field Description
Admin Username This is the username of WordPress admin user
Admin Password A strong password suggested to login
Email Address Email address of the WordPress admin user
Website Name A Website name for the WordPress website as title


Accessing the WordPress site after Deployment

This section describes how to access the WordPress application once the installation is done. By default, WordPress will be accessible by accessing your Cloud server’s IP address in a browser of your choice. Please follow the below steps:


  1. Log in to LayerPanel2 and click on Deploy from the sidebar on the left side.

  2. Choose WordPress based on Ubuntu 20 for the server OS and proceed to order the Cloud Servers.

    oneclickwp

  3. After the server is activated, click on Services from the sidebar on the left side and further select Cloud Servers for listing out your Cloud Servers.

    oneclickwp2

  4. From the list of Cloud Servers, find your newly deployed Cloud Server with WordPress one-click option.

    In the below example the server IP is 119.119.119.119. You can copy the IP address using the Copy to clipboard icon adjacent to the IP address and then can paste it in any browser of your choice.

    oneclickwp3

  5. The page loads with the WordPress homepage.

    oneclickwp4

  6. You can now log in to the WordPress admin dashboard by accessing the below link and personalize the appearances and themes for your website. The user can input admin as the administrative username and server's password for logging into the admin dashboard of WordPress.

     http://<serverip>/wp-login.php
    

    oneclickwp5

    NOTE: Replace serverip in the above link with the actual IP address of your Cloud Servers.


How to link your domain name for your WordPress Website?

You may have registered your domain with any global domain registrars, so you would be able to manage the DNS settings of your domain under the respective domain registrar’s account. To link your domain name to the WordPress application to make it active under the domain in LayerStack Cloud Servers, you would require to set up A record entry for the website against the Cloud server’s IP address. This will resolve the domain name to the particular server IP.

NOTE: Pointing A record to the server IP is to be done at your Domain Registrar’s end. The DNS settings may vary according to the Registrar providers.


For more clarity you may refer to our DNS record setup tutorial:

How to update NameServer and DNS record for LayerStack Cloud Servers


Once the domain has been set up, it is required to change the Site URL by assigning the domain name to the WordPress website. Follow the below steps:

  1. Log in to the WordPress admin dashboard.

    oneclickwp6

  2. Go to Settings on the left-hand side menu and select General.

    oneclickwp7

  3. Change the Site Address URL and Home (WordPress Address) URL under the page here:

    oneclickwp8

    NOTE: Replace the server IP with your registered domain name. Scroll down and save the changes.

  4. Once the Site Address URL and Home (WordPress Address) URL are changed through the WordPress admin dashboard, access the server backend through SSH using the root password.

     ssh [email protected]
    
  5. Navigate to the path /etc/nginx/sites-available

     # cd /etc/nginx/sites-available
    

    oneclickwp9

  6. Open the file name with the server IP address using any editor of choice

     # vi 119.119.119.119
    

    oneclickwp11

  7. Type in the website name next to the IP address in the parameter server_name. The website name being used in the context of this guide is wplstest.com.

    oneclickwp12

  8. Save and exit the file.

  9. Restart Nginx service.

     # sudo service nginx restart
    

    oneclickwp13

  10. This will finalize the steps to deploy WordPress with your Cloud Servers.


Related Tutorials

What do you think about this article?

Rate this article
LayerStack Promotion
Need assistance?

Try this guide to receive free bundled services at signup on a new free account.

Sign Up

Your Feedback Is Important

We hope you’ll give the new products and updates a try. If you have an idea for improving our products or want to vote on other user ideas so they get prioritized, please submit your feedback on our Community platform. And if you have any questions, please feel free to ask in the Community or contact our Technical Support team.