# FREE Plesk Web Host Edition License for Premium Plan

{% hint style="info" %}
**Please note, this only works on the QubitVPN&#x20;*****Premium Plan*****.**
{% endhint %}

## What is Plesk?

Plesk is a Web Hosting Control Panel similar to cPanel (both are also owned by the same company, WebPros).

## How is QubitVPN able to offer this for free?

Our VPN servers run on the same servers as [Splicate’s Web Hosting Plans](https://www.splicate.com/web-hosting/). We get the keys for free and pass the savings onto you.

## How can I set up Plesk with QubitVPN and activate the key?

{% stepper %}
{% step %}

### Install Plesk

{% embed url="<https://docs.plesk.com/en-US/obsidian/deployment-guide/quick-start.76607/>" %}

**If you are a beginner or just want default configuration, use this instead:**

* Installation instructions for Plesk for Linux: [Installing Plesk for Linux in One Click](https://docs.plesk.com/en-US/obsidian/deployment-guide/plesk-installation-and-upgrade-on-single-server/1click-plesk-installation/installing-plesk-for-linux-in-one-click.76444/).
* Installation instructions for Plesk for Windows: [Installing Plesk for Windows in One Click](https://docs.plesk.com/en-US/obsidian/deployment-guide/plesk-installation-and-upgrade-on-single-server/1click-plesk-installation/installing-plesk-for-windows-in-one-click.76448/).
  {% endstep %}

{% step %}

### Set up WireGuard

1. [Install WireGuard](/qubitvpn-docs/how-to-use/install-wireguard.md)
2. Set up your VPN Server > [OLD Premium Plan (deprecated 1/27/26)](/qubitvpn-docs/deprecated/old-premium-plan-deprecated-1-27-26.md)
3. Open the [Plesk ports](https://docs.plesk.com/en-US/obsidian/administrator-guide/plesk-administration/ports-used-by-plesk.64950/) on your computer/server
4. Tunnel the [Plesk ports](https://docs.plesk.com/en-US/obsidian/administrator-guide/plesk-administration/ports-used-by-plesk.64950/) from the [QubitVPN Dashboard](https://qubitvpn.com/dashboard/)
5. Make sure you add `PersistentKeepalive=25` to ensure it stays up
   {% endstep %}

{% step %}

### Reconfigure Plesk

Reconfigure Plesk to use the WireGuard IP

{% tabs %}
{% tab title="Linux" %}

```bash
plesk repair all -y
```

{% endtab %}

{% tab title="Windows" %}
Run Plesk Repair Utility (usually in C:\Program Files (x86)\Plesk\admin\bin)

Run CMD and then:

```batch
cd C:\Program Files (x86)\Plesk\admin\bin
plesk repair all -y
```

{% endtab %}
{% endtabs %}
{% endstep %}

{% step %}

### Log into Plesk

1. <https://your-ip-here:8443>
2. Use your SSH username and password

   <div data-gb-custom-block data-tag="hint" data-style="info" class="hint hint-info"><p><strong>You may also log-in with a one-time link with this command:</strong> <code>plesk login</code></p></div>

{% endstep %}

{% step %}

### Enter your Email and create a Password

<div align="left" data-full-width="false"><figure><img src="/files/t6ipTbk57N8P75mOPlu6" alt="" width="300"><figcaption></figcaption></figure></div>
{% endstep %}

{% step %}

### Enter License Key

Select "Proceed with a paid license" and enter the license key that was sent to your email after server provisioning. If the email doesn't contain a key, please contact us by email[^1] or by live chat (on our [website](https://qubitvpn.com/)), to claim your key.

<div align="left"><figure><img src="/files/KRJwAH26huHWHSq7ty49" alt=""><figcaption></figcaption></figure></div>
{% endstep %}

{% step %}

### Add VPN IP as a Trusted IP (to avoid issues later on)

<mark style="color:blue;">Go to <https://your-ip:8443/admin/server-protection/trusted-list> (change "your-ip" with your actual IP).</mark>

<mark style="color:blue;">If this doesn't work, then follow the steps below, if it does, then skip to step 3.</mark>

1. Go to Tools & Settings > IP Address Banning (Fail2Ban)

<figure><img src="/files/deUvDyuZMqZ2pjn2uXcN" alt=""><figcaption></figcaption></figure>

2. Click on "Trusted IP Addresses" on top

<figure><img src="/files/8bvxFMjvACVSYHgRRu40" alt=""><figcaption></figcaption></figure>

3. Click on "Add Trusted IP" and add your WireGuard VPN Server IP (usually 10.253.0.1) and click "OK" when you're done.

<figure><img src="/files/EAGmrtkcGAL9dE4uZVnC" alt=""><figcaption></figcaption></figure>

4. Click on "Add Trusted IP" again and add your Tunnel Config IP (e.g. 10.253.0.7) and click "OK" when you're done.

<figure><img src="/files/siRuC0QOqeMz2sGSacir" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}

### IP Tracking and Security

{% tabs fullWidth="false" %}
{% tab title="How to choose" %}
There are 2 ways to track real IPs.

You may use *X-Forwarded-For* or *CF-Connecting-IP* (Cloudflare) within the website. This only works on some websites and may require a plugin. You can accomplish this on WordPress using a plugin like Solid Security.

Or:

You may do it for the whole website through settings. This will work on most if not all website types and does not require a plugin in most cases.

Please choose the tab that fits with your preferred method.
{% endtab %}

{% tab title="Using X-Forwarded-For or CF-Connecting-IP" %}
For website security (like a WordPress security plugin), use X-Forwarded-For (XFF) or CF-Connecting-IP. *Do **NOT** use X-Real-IP, X-Client-IP, Client-IP, or X-Cluster-Client-IP.*

*Our personal favorite security plugin for WordPress is Solid Security. (We are not in any way affiliated or sponsored by Solid Security)*

How to set this up in [Solid Security](https://wordpress.org/plugins/better-wp-security/):

1. Install [Solid Security](https://wordpress.org/plugins/better-wp-security/)
2. Go to Solid Security > Settings > Global Settings
3. Scroll Down to "IP Detection"
4. Select CF-Connecting-IP if using Cloudflare, if not, select X-Forwarded-For

<figure><img src="/files/VILkkFieJbcrmMgzele1" alt=""><figcaption></figcaption></figure>

5. Click "Check IP" and make sure that is your own IP (the IP you're accessing the website from). This should be the IPv6 or IPv4 from [here](https://whatismyipaddress.com/). If this shows "10.253.0.1" or something similar, you did something wrong. Please go back through the steps to see where you made an error.

{% hint style="success" %}
If this shows your personal/work or VPN (if using one) IP, then you are now successfully tracking real IPs.
{% endhint %}
{% endtab %}

{% tab title="Whole Website" %}
{% stepper %}
{% step %}

### Go to your website > Hosting & DNS > Apache & nginx

<figure><img src="/files/moCYEHLXqoepk3B7R7NE" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}

### Add these:

In the "Additional directives for HTTP" and "Additional directives for HTTPS" boxes, enter:

```
SetEnvIf X-Forwarded-For ".*" forwarded
CustomLog /var/log/apache2/access.log combined env=!forwarded
```

<figure><img src="/files/QCbIP5zSiDf13gMB26Fs" alt=""><figcaption></figcaption></figure>

In the "Additional nginx directives" box, enter:

```
set_real_ip_from 0.0.0.0/0;
real_ip_header X-Forwarded-For;
```

<figure><img src="/files/dxwUKVTmbgS98qNpHUkN" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}

### Success!

{% hint style="success" %}
Your personal/work or VPN (if using one) IP should now be tracked instead of the VPN Server IP.
{% endhint %}
{% endstep %}
{% endstepper %}
{% endtab %}
{% endtabs %}
{% endstep %}

{% step %}

### Declutter with Power User View (Optional)

Best for developers and web agencies. If you aren't planning to resell and want to declutter all the menu options, follow the steps below:

1. Click on "Change View" at the bottom of the your left hand menu

<div align="center"><figure><img src="/files/0Y0fnltgbiZoECw26kua" alt="" width="144"><figcaption></figcaption></figure></div>

2. Click "Switch to Power User view"

<figure><img src="/files/xmVONvmOOn4b58e2965M" alt=""><figcaption></figcaption></figure>

3. Now you have a much simpler, decluttered menu!

<figure><img src="/files/sWhBS6izq4GWHg5Fjijl" alt="" width="139"><figcaption></figcaption></figure>
{% endstep %}
{% endstepper %}

[^1]: <support@qubitvpn.com>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://qubitvpn.gitbook.io/qubitvpn-docs/extras/free-plesk-web-host-edition-license-for-premium-plan.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
