How to install WordPress on hosting or a VPS: in one click
WordPress is the most popular system for websites and shops. Installing it doesn't have to be complicated. On Chmura.tech hosting you choose a domain, click install and after a moment you have a working site. Below we show how it works, what to do right after the installation, and how to connect WordPress with updates and backups.
Hosting or a VPS: which to choose
- Web hosting is a ready environment with PHP and a database. Installing WordPress takes a few clicks, and we look after the server. For most websites, business cards and small shops, that is enough.
- A VPS is your own server. You decide on the PHP version, the database and the configuration. It is worth choosing when the site has unusual requirements or you need your own environment for several projects.
Installing on hosting: choose, install, done
In the hosting panel, choose the WordPress installer and then:
- select the domain the site should run on,
- enter the site name and the administrator details (a login and a strong password),
- click install.
After a moment you get the admin panel address, for example yourdomain.com/wp-admin. You can log in and start working.
First steps after installation
- Change the administrator password to a long, unique one, ideally kept in a password manager.
- Turn on the SSL certificate for the domain, so the site works over https.
- Delete the sample post, page and comment that WordPress adds after installation.
- Set the permalink structure under Settings → Permalinks to the post name.
- Install only the plugins you need. Every extra one is another place for a bug.
Installing on a VPS: the manual way
On a VPS running Ubuntu 24.04 you need a web server, PHP and a database. An example set of packages:
sudo apt update && sudo apt install -y nginx mariadb-server php-fpm php-mysql php-xml php-curl php-gd php-mbstring php-zip php-intl
Then download WordPress from the official site, unpack it in the site's directory, create a database and a user, and set up a virtual host in Nginx. You can get a free SSL certificate from Let's Encrypt with the certbot package. If you don't want to do this by hand, write to us and we will prepare the environment.
Updates: core, plugins and themes
Most WordPress problems come from outdated plugins and themes. Keep three things in order:
- Update the WordPress core when a new version appears, especially security fixes.
- Remove plugins and themes you don't use. Inactive ones can also be vulnerable.
- Turn on automatic updates for minor security fixes to the core.
Make a backup before a larger update (see below). If something breaks, you can return to the state from before the change.
Backups
WordPress consists of files and a database. A backup must include both:
- the site files (the
wp-contentdirectory with themes, plugins and uploaded images, plus the main WordPress files), - the database (content, users, shop orders).
Set up automatic backups every day or at least every week, keep them outside the server and from time to time check that you can restore the site from them. Always make a backup before an update and before changing the theme.
Login security
- Limit the number of failed login attempts (with a plugin or in the hosting panel).
- Turn on two-factor login for administrator accounts.
- Don't keep an account called
admin. Create an account with a different name and delete the old one.
Checklist
- Installation done in the panel or manually on the VPS.
- Administrator password strong, the
adminaccount not in use. - SSL certificate on, the site works over https.
- Plugins and themes updated, unused ones removed.
- Automatic backups on and tested.
Would you like us to set up WordPress for you? You choose the domain, we prepare the site and hand over a ready admin panel. Write to us at [email protected].
The Chmura.tech team