> For the complete documentation index, see [llms.txt](https://support.goodaccess.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://support.goodaccess.com/configuration-guides/ip-whitelisting/phpmyadmin.md).

# PHPMyAdmin

{% hint style="info" %}
This guide has been created for Ubuntu 20.04 / Apache 2
{% endhint %}

## Step 1

Open **phpmyadmin.conf** for editing.

```
sudo nano /etc/apache2/sites-available/phpmyadmin.conf
```

## Step 2

Add the following lines below the line **“DirectoryIndex index.php”**

```
Require ip specific_ip_address
Require ip ::1
```

Replace ***specific\_ip\_address*** with the GoodAccess Gateway IP.

## Step 3

**Save and close** the file and **Restart Apache2** for the changes to take effect.

```
sudo systemctl restart apache2
```
