Install Webinoly and Manage Super Optimized WordPress Websites in Minutes

Finding a reliable WordPress host you can afford is hard. The hosting market is flooded with cheap options that don’t work well.

Problem? You get what you pay for!

If you are looking to find powerful web hosting for your next project, choose a hosting company that provides dedicated resources for your project. That’s cost a lot of money.

But, If you want to save your money and still need a high-quality WordPress stack then go for good VPS Hosting with Webinoly script.

With Webinoly, you can get all the perks of a high-quality WordPress host along with the freedom to manage your own servers.

Webinoly is the perfect solution. It provides you the ability to work in WordPress without having to worry about managing your servers. It helps you to create modern business-focused WordPress servers with Nginx, Redis, and MariaDB.

With Webinoly you get,

  • Free SSL certificates for your sites with Let’s Encrypt.
  • HTTP/2 dramatically increases the speed of serving your content.
  • PHP 8.0 or 8.1 and support for earlier versions if needed (7.4).
  • FastCGI Cache and Redis Object Cache.
  • Get an A+ grade on Qualys (SSL Labs) Test.
  • Automatically optimize your server to get the most out of the available resources.

Webinoly provides the following options to manage your server,

  • Unique commands to create, delete, disable and manage all your sites.
  • Install WP in any subfolder and support external databases, multisite, and domain mapping.
  • Installing SSL Certificates with automatic server configuration.
  • Advanced support for cloning your sites for testing purposes.
  • A complete suite of tools for backups.
  • Protect your site, folder, or file with HTTP Authentication.
  • Modify the configuration of your server at any time according to your needs.
  • Log viewer in real-time.

In this article, I am going to show you how to install Webinoly, It is supported on LTS versions of Ubuntu, so you can install it on Ubuntu 20.04 or 18.04.

I am using MaxKVM VPS for this tutorial. You can use DigitalOcean or any other VPS provider for your websites.

Check how to choose the best WordPress hosting to learn more about various hosting types and companies.

Webinoly Installation

Webinoly installation is fairly simple, all you need is to connect your server and run the following command.

sudo wget -qO weby qrok.es/wy && sudo bash weby 3

This will install the whole Webinoly stack, including Nginx, MariaDB, and PHP.

When the installation completes, you can get your MySQL password.

Webinoly Installation completion screen

Create Your First WordPress Site:

After the successful installation of Webinoly, you can set up your first WordPress website with just one command.

sudo site example.com -wp

The above command creates a WP website with example.com.

Webinoly Command Line WordPress Installation

Add Default Email Address:

If you prefer, you can save your email address,

sudo webinoly [email protected] 

SSL Installation:

To issue free let’s encrypt SSL for our domain, use the below command.

sudo site example.com -ssl=on
Webinoly Let's Encrypt SSL Installation

Setup Your WordPress Site:

Now you can open your website and configure the site title, user name, and password.

Webinoly WordPress Installation Screen

Find more advanced commands to further optimize your sites, follow Webinoly’s advanced guide.

Install FastCGI Cache for WP:

FastCGI is the easiest and most powerful way to optimize WordPress sites, You don’t need any fancy or costly caching plugin to optimize your WP installation. Enable it with the following command.

sudo site example.com -wpfc
Webinoly FastCGI Cache

Webinoly Server Settings

Setup HTTP Authentication:

HTTP Authentication is required to access wp-admin or wp-login and phpMyAdmin. It provides an extra layer of security for your website.

To set up, run this command and enter your desired username and password.

sudo httpauth -add
Webinoly HTTP Authentication

Access your files via SFTP:

Webinoly didn’t provide a GUI interface. If you want to upload or modify files to your website, you have to use SFTP. You can enable it with the following command.

sudo webinoly -login-www-data=on
Webinoly SFTP Authentication

Want to change the password for SFTP, use the following command.

sudo passwd www-data
Webinoly SFTP Password

Access to phpMyAdmin:

Webinoly uses a 22222 port for accessing phpMyAdmin or other tools, you can change it with the following command.

sudo webinoly -tools-port=19816

Instead of server IP, you can use your existing domain for accessing tools using the following command.

sudo webinoly -tools-site=example.com

Now you can access example.com:19816 from your browser, any request from another domain will be blocked.

Security Settings:

For avoiding suspicious traffic, we are going to add a blockhole as a default Nginx response.

sudo webinoly -default-site=blackhole

If you want to block specific IPs from reaching your websites, use the following command.

sudo webinoly -blockip=xx.xx.xx.xx

Extra Settings for Webinoly

Configure UFW to Protect Your Webinoly Server:

Webinoly is a powerful tool for protecting and optimizing WordPress websites but it’s not configured with any firewall to protect your servers from attacks. Webinoly recommends using your own Firewall service such as UFW, the AWS Security Groups, or whatever is available with your provider.

I use UFW to protect my servers. You can too, with the below commands,

Check UFW Status.

sudo ufw status

And add these ports into allowing ports lists in UFW,

sudo ufw allow 22/tcp
sudo ufw allow 80/tcp
sudo ufw allow 443/tcp
sudo ufw allow 22222/tcp
sudo ufw allow out 587/tcp
sudo ufw allow out 25/tcp
sudo ufw allow out 11371/tcp

Now run UFW to protect your system,

sudo ufw enable

Check UFW Status,

sudo ufw status verbose

For more detailed information and examples, I recommend you to check Webinoly’s documentation.

Configure 7G Firewall to Protect WP for Webinoly:

7G firewall works with Webinoly auth function and provides extra layers of protection to your WP sites against bad bots and common hacking attempts.

Also, it helps to remove fancy security plugins, which if you install, bloat your WP database and make your webserver slows like a snail 🐌.

The 7G Firewall offers lightweight, server-level protection against a wide range of malicious requests, bad bots, automated attacks, spam, and many other types of threats and nonsense.

Perishable Press

Installation:

Step 1: Add the files

First, download the 7G Nginx Firewall (ZIP file). Then unzip the download file to get the following:

  • 7g-firewall.conf
  • 7g.conf

Create 7g folder in /etc/nginx/ and the above-downloaded file there.

Step 2: Include the firewall rules

In your main Nginx configuration file /etc/nginx/nginx.conf, add the following include statement in http directive after line 132 or before }. This will include the file that contains the 7G firewall rules.


http {
	.
	.
	.
        ##
        # 7G FireWall
        ##
        include /etc/nginx/7g/7g-firewall.conf;
	.
	.
	.
} 

Note: the three vertical dots represent any other existing rules that may be in place. Do NOT add the dots to any of your files. They are for illustrative purposes only.

nginx.conf for 7G Firewall

Make sure the path is correct based on the directory structure on your server.

Step 3: Include the conditional logic

In your local/site configuration file /etc/nginx/sites-enabled/example.com, add the following include statement after line 40 or before }. This will include the file that contains the conditional 7G rules.

server {
	.
	.
	.
        # 7G Firewall Started
        include 7g/7g.conf;
        # 7G Firewall End
	.
	.
	.
}

Note: the three vertical dots represent any other existing rules that may be in place. Do NOT add the dots to any of your files. They are for illustrative purposes only.

example.com.conf for 7G Firewall

Again, make sure the path is correct based on the directory structure on your server.

Step 4: Restart the Nginx

After making changes to your Nginx configuration, you need to restart the Nginx or server for the changes to take effect.

1. Check everything works fine,

nginx -t
Nginx Configuration Check Command

2. Restart the Nginx to make 7G work,

sudo service nginx reload

Step 5: Testing

By now, you should have the two Nginx configuration files in place. And server restarted so the new rules are in effect. The next step is to begin thorough inspections, to make certain that everything is working properly.

You need to ensure that your website is working normally. And also want to check that the 7G Firewall is working correctly, blocking bad requests and so forth.

You can check with adding localhost after your WP site URL.

Nginx 7g Firewall Web Gui Working and Start Blocking Bad Bots Attacks

Or check via command line,

curl -A "Ahrefs/5.2" -I https://yourdomain.com
Nginx 7g Firewall command line Working and Start Blocking Bad Bots Attacks Check

Both examples should display a 403 error, otherwise, it’s not working.

Default vs Webinoly Optimized WP Comparison

Here is a quick comparison to show you the power of Webinoly server-level caching without using any caching plugin.

For this comparison, I am using the GeneratePress Construction demo.

I am using MaxKVM 1GB VPS for this test website, and the GTMetrix Vancouver location for benchmarking the website.

Default Webinoly WordPress GTMetrix results:

Default Webinoly WordPress GTMetrix Grade Results
Default Webinoly WordPress GTMetrix Browser Timing results
Performance100%
Structure93%
LCP567ms
First Contentful Paint425ms
Time to Interactive425ms
Speed Index550ms
Backend Duration108ms
TTFB243ms
First Paint425ms
Onload Time664ms
Fully Loaded Time706ms
Requests26
Page Size(Compressed)2.97MB
Page Size(Uncompressed)3.22MB

Webinoly FastCGI Cache GTMetrix Result:

Webinoly FastCGI optimized GTMetix Grade Grade Results
Webinoly FastCGI optimized GTMetix Browser Timing
Performance100%
Structure93%
LCP556ms
First Contentful Paint441ms
Time to Interactive441ms
Speed Index521ms
Backend Duration36ms
TTFB170ms
First Paint412ms
Onload Time612ms
Fully Loaded Time651ms
Requests26
Page Size(Compressed)2.97MB
Page Size(Uncompressed)3.22MB

Conclusion

Webinoly provides optimized WordPress websites out of the box. You can use it for your mission-critical websites, either if you’re a newbie or an experienced user.

The below table shows, that you don’t need any premium or free caching plugin to speed up your WP with Webinoly.

Caching NameDefault WordPressNginx FastCGI
Performance100%100%
Structure93%93%
LCP567ms556ms
First Contentful Paint425ms441ms
Time to Interactive425ms441ms
Speed Index550ms521ms
Backend Duration108ms36ms
TTFB243ms170ms
First Paint425ms412ms
Onload Time664ms612ms
Fully Loaded Time706ms651ms
Requests2626
Page Size(Compressed)2.97MB2.97MB
Page Size(Uncompressed)3.22MB3.22MB

With the help of Webinoly, we remove these types of plugins from our WordPress sites,

  1. Caching Plugins
  2. Redirection Plugin
  3. Security Plugin
  4. Backup Plugin

With Webinoly, you can manage your own servers easily, try it and tell me about how it went by leaving a comment down below!

Leave a Comment