Wednesday, May 8, 2024
 Popular · Latest · Hot · Upcoming
4
rated 0 times [  4] [ 0]  / answers: 1 / hits: 10119  / 1 Year ago, sun, january 22, 2023, 6:39:05

Could someone please tell me how to change phpMyAdmin's access URL, I would like it only to be accessible from a specific URL: database.example.com. example.com would be replaced to my actual domain.



I am running Ubuntu Server 14.04 LTS with LAMP and phpMyAdmin installed. I installed phpMyAdmin through command line using:



apt-get install phpmyadmin


Many Thanks,

Sam


More From » apache2

 Answers
2

For ubuntu (i used ubuntu 12.04), the default phpmyadmin apache configuration can be found at /etc/phpmyadmin/apache.conf



You can open it by type sudo nano /etc/phpmyadmin/apache.conf and change the third



Alias /yournewalias /usr/share/phpmyadmin


Do not forget to restart apache service,



sudo service apache2 restart

[#14515] Monday, January 23, 2023, 1 Year  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
icielight

Total Points: 158
Total Questions: 92
Total Answers: 93

Location: San Marino
Member since Thu, Jun 30, 2022
2 Years ago
;