Description
WordPress is one of the most popular content management systems (CMS) in the world, used for creating blogs, corporate websites, online stores, portfolios, and more. WordPress provides ease of setup and use, offering a wide range of themes and plugins to extend functionality. With its open-source nature, WordPress is a flexible solution that can be customized to suit the needs of both users and developers. Its rich ecosystem supports small businesses, large corporations, freelancers, and developers, providing a powerful tool for creating professional websites without requiring deep technical knowledge.
Getting started
1. Deploy a server with WordPress from the Marketplace.
Log in to the newly created server via SSH. If you are unsure how to do this, refer to the instructions:
- Linux/MacOS: Connecting to VPS via SSH for Linux/MacOS
- Windows: Connecting to VPS via SSH from Windows
Use the password you set when creating the WordPress server or the SSH key you added. See: How to create an SSH key.
2. Steps for setting up WordPress through the web interface.
After logging into the server, you will receive a message:
User credentials are stored in the file /root/.password_credentials. To view your credentials for accessing WordPress, run the following command:
cat /root/.password_credentials
This file contains: MySQL root password, Login, Password, Host, Port, and WordPress database name.
The root directory of your website is located at: /var/www/
Database preparation. After running the script /root/wp_setup.sh, the system will wait for the database to become available. This may take a few minutes.
IMPORTANT: After the first instance connection, if you encounter any issues or the script doesn’t run automatically, try executing the following command:
/root/wp_setup.sh
3. WordPress Administrator setup.
Next, you will be prompted to enter your site details and WordPress admin settings:
- Domain/Subdomain name: Enter the domain name for your new WordPress site, e.g., your.domain.com, example.org, or blog.example.org (do not include "www" or "http/https"). If you don’t have a domain yet, press Enter to skip this step.
- Your Email Address: After entering the domain name, the system will ask for the administrator account setup. Enter your email address (e.g., [email protected]).
- Username: Admin login. Choose "Admin" or a more complex username.
- Password: Create a strong and secure password.
- Blog Title: Enter the name of your site, e.g., MyBlog.
- After entering the required information, confirm it by pressing "Y" (Yes).
The configuration file for your WordPress site is located at: /var/www/wordpress/wp-config.php
4. SSL Setup via LetsEncrypt (optional if a domain is available).
The system will offer to set up an SSL certificate through LetsEncrypt to secure your site with HTTPS.
Note: Before setting up, ensure your domain or subdomain is directed to the server’s IP address. To do this, you need to delegate the domain to our DNS or specify your site’s location on this new server. This means linking the domain or pointing it to the new server. Follow the steps outlined in Zones (DNS).
If your domain is not yet pointed to the server or you want to skip this step, press "n" (No).
If you want to use LetsEncrypt, press "y" (Yes) and in about 5 minutes, you will receive an SSL certificate for your site.
You can also set up LetsEncrypt later by running the command:
certbot --nginx
5. Initial WordPress setup.
Access the web interface of your WordPress site by navigating to your domain or IP address, for example:
https://your.domain.com or https://11.22.33.44.
Note: If you haven’t set up an SSL certificate yet, you may see a warning about the SSL certificate. This is normal and can be safely ignored—just confirm the connection to proceed.
Once complete, your site will appear, similar to this:
Login to the WordPress admin panel:
To log in to the site’s admin panel, go to your address or domain with the additional path wp-login.php:
https://your.domain.com/wp-login.php or https://11.22.33.44/wp-login.php
The WordPress login page will look like this:
Note: If you enabled an SSL certificate, the site will redirect and open under your domain.
Your WordPress site is ready!
After completing these steps, you will be able to log in to the admin panel of your new website.
The default interface language is English. If you need another language, select the desired interface language in WordPress settings.
You can now start customizing your site and adding content!
