How and where are redirects like example.com/phpmyadmin configured?

Rog

Verified User
Joined
Sep 27, 2016
Messages
20
I noticed that my.domain.com/phpmyadmin redirects to my server's PhpMyAdmin installation, which is all good and handy, but I'm wondering how this redirect is being done, or where it can be configured.

There's nothing phpmyadmin-related within my public_html dir, no redirects in my .htaccess, and I can't find any setting for this in DirectAdmin (there's nothing in DA's "Redirects" section).

So I'm wondering, what's causing this redirect, or how is this happening, and can I configure it? Can I find out if there are even more redirects like this?
 
Hello,

Apache: /etc/httpd/conf/extra/httpd-alias.conf
Nginx: /etc/nginx/webapps.conf

Do not modify the files directly, they are build by custombuild script shipped with Directadmin, and you will loose all the modifications.
 
Thanks, but I can't access that file (Apache in my case) directly. Not even read them, no permission.

The "custombuild script" you mention, does that consist of any settings that I can configure or at least see within DirectAdmin? In other words, can I view or change the things that result in those Apache redirects? If I wanted to change them, that would be the place to do it anyway (instead of editing the httpd-alias.conf file since I understand I'd lose modifications anyway).
 
Back
Top