Securing phpmyadmin should also be a part of DirectAdmin installation Guide, i think, since this is the very first thing we need to secure. I tried to find my way in DirectAdmin folders, but it seems different from XAMPP which i am more familiar and perhaps also the need to do something in custombuild, so more details to find the file and instructions would be helpful. I am wanting to change it from /phpmyadmin to something more secure. I am using the latest version (4.0.4.1) on my CentOS 6 VPS. Sorted by: Reset to default 0 The second-to-last rewrite rule is going to take ANY string including at least one character and 'php' and redirect it. Or better, to be shared with DirectAdmin port 2222 since, all the users will need to access port 2222 I am wondering how to change the default URL for phpMyAdmin. Question: How can I set the phpmyadmin to listen on another port, eg. This change will not update the link in vestacp to the phpmyadmin link under websites, you will need to change the url destination in the theme also. save and open your domain/phpmyadmin in browser. In that case we can allow only the Directadmin users access from their office IP address with the firewall. That's it, now only you and your private clients will know where the login page for phpmyadmin is located. It is necessary to modify the nginx configuration to use the same user as php. The best way is to use firewall to allow certain port for phpmyadmin like how we allow Directadmin port 2222. Ill also explain how to put phpmyadmin to administer the MariaDB server. sudo ln -s /usr/share/phpmyadmin /var/www/html/phpmyadmin. It will be easy for the hacker to hack in sooner or later. this will change your /phpmyadmin to /otherfilename and work for LEMP Server (nginx) sudo apt update. They are many hackers scanning for phpmyadmin, pma, etc in the logs, everyday. I have a question regarding the PHPMyadmin: I my case I was not using /etc/nginx/sites-available/default I was using a different server block configuration file (e.g. I am new to DirectAdmin, just converted form trial license after trying,
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |