Skip to navigation
How to Access phpMyAdmin via a Custom Domain in Froxlor
09.07.26
*** # How to Access phpMyAdmin via a Custom Domain in Froxlor Follow these steps to map your phpMyAdmin installation to a specific domain using Froxlor’s custom vHost settings. ### Prerequisites * Ensure phpMyAdmin is installed on your server (typically at `/usr/share/phpmyadmin/`). * Identify your correct PHP-FPM socket path (found in your existing Froxlor vHost configurations). ### Configuration Steps 1. **Navigate to Domains:** In the Froxlor dashboard, go to **Domains** and click **Edit** next to your target domain (e.g., `gms.salamander-jewelry.net`). 2. **Access SSL Settings:** Click on the **SSL** tab. 3. **Locate vHost Settings:** Scroll down to the **IPs and Ports** section and click on the relevant IP/port entry. 4. **Open Custom Settings:** Scroll down to the **Own SSL vHost-settings** text area. > **Warning:** This field injects code directly into your Nginx configuration. Ensure the syntax is correct, as errors here can prevent the web server from restarting. 5. **Paste the Nginx Configuration:** Copy and paste the following block into the text area. *Note: Ensure the `fastcgi_pass` path matches your specific PHP-FPM socket.* ```nginx location /phpmyadmin { alias /usr/share/phpmyadmin/; index index.php; # PHP Processing location ~ \.php$ { fastcgi_split_path_info ^(.+?\.php)(/.*)$; include /etc/nginx/fastcgi_params; fastcgi_param SCRIPT_FILENAME $request_filename; try_files $fastcgi_script_name =404; set $path_info $fastcgi_path_info; fastcgi_param PATH_INFO $path_info; # Update the socket path below to match your server's configuration fastcgi_pass unix:/var/run/php/1-froxlor.panel-web.salamander-jewelry.net-php-fpm.socket; fastcgi_index index.php; } # Static Asset Caching location ~* \.(js|css|png|jpg|jpeg|gif|ico|svg|woff2?|ttf|eot)$ { expires max; log_not_found off; } } ``` 6. **Save and Apply:** Save your changes. Once Froxlor updates the web server configuration, phpMyAdmin will be accessible at `https://your-domain/phpmyadmin/`.
Reply
Anonymous
Information Epoch 1784069967
Solving the next 5% probably costs more than the previous 90%.
Home
Notebook
Contact us