How to turn on Redis on DirectAdmin hosting and see what Redis Socket is

Redis comes with each of our hosting packages and you can turn it on with one click, while the exact path to the Redis socket is listed in your panel.

Here's how to turn on Redis and find the socket path:

1. Step: Log in to the DirectAdmin panel (instruction How to log in to DirectAdmin)

2. Step: Go to Advanced Features - Redis

3. Step: Click to Enable button to the turn on Redis.

redis

After turning on Redis, you can copy the path to the socket in the Path to redis socket file:

Note: The path in the image is an example. Do not use the path from the image but find the path in your panel.

redis directadmin

Path to Redis socketa

You can see the path to the Redis socket right below the Redis enable/disable form and this path only applies to your hosting package.

Note: The path in the picture is an example. Do not use the path from the image but find the path in your panel.

The port on which Redis runs

Redis runs on port 0 (zero).

Be sure to configure the LiteSpeed ​​plugin to use Redis

After turning on Redis in the panel (instructions are written above), go to your site, log in to the Wordpress Dashboard.

Enable the plugin to use Redis like this:

  1. Click on LiteSpeed ​​Cache
  2. Click on Cache
  3. Find the Object tab and click
  4. Activate the Object Cache by clicking the ON button
  5. Select Redis in the Method section
  6. Enter the path to the socket file in the Host section Note: The path in the picture is an example. Do not use the path from the image but find the path in your panel.
  7. Type 0 (zero) in the Port field.
  8. Save settings

redis


After that Redis is included in your panel and the LiteSpeed ​​plugin can use it for Object Cache.

  • redis, directadmin
  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

How do I enable DKIM in the DirectAdmin panel?

DKIM enables verification of the authenticity of the email sender using a digital signature,...

How to create an FTP account in the DirectAdmin panel and connect using FileZilla?

We have prepared a procedure for you to create an FTP account in DirectAdmin. You can easily...

How to Generate Backup of your DirectAdmin Account?

Here we have written instructions for creating a backup in the DirectAdmin panel. You can easily...

How can I increase the execution time in the DirectAdmin panel?

Changing "max_execution_time" in the DirectAdmin panel is simple and you can do it in just a few...

How do I increase the upload_max_filesize in the DirectAdmin panel?

Changing "upload_max_filesize" in the DirectAdmin panel is simple and you can do it in just a few...