Answer the question
In order to leave comments, you need to log in
How to hide phpMyAdmin from all sites except the main host on Ubuntu (apache + nginx)?
Hello.
Now phpMyAdmin is available from all domains. How to make it open only from the server IP? For example: 1.2.3.4/phpmyadmin
Settings are needed for apache and nginx config. Please write clear instructions. Where to transfer the config, where to make it empty, etc.
Thank you.
Answer the question
In order to leave comments, you need to log in
Remove the conf file for phpmyadmin from the directory that is included to the apache configuration files and therefore affects all domains and manually write the path to the file through include in the configuration file of a specific domain
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question