phpMyAdmin/roundcube error 404

sulema

New member
Joined
Apr 16, 2026
Messages
5
I have been struggling with this problem for a long time.
It started when we changed the IPv4 addressing and the host domain to our own instead of the dynamic one from DA.
Since then, phpMyAdmin and Roundcube do not work on the host with SSO and without SSO; a 404 error appears.
We have tried all the methods available on the internet, searched all files on the server using grep for the old hostname, and found nothing suspicious.
The logs do not reveal any details about where exactly the error lies.
When I manually installed phpMyAdmin and Roundcube on a subdomain without SSO access (manual login only via subdomain name), those installations worked. This does not change the fact that the built-in function in DirectAdmin is not working.
On the server, we are using the latest version of DirectAdmin 1.689 and LiteSpeed 6.3.1-8, MariaDB 10.6.24, PHP 8.3.27 (default lsphp), and phpMyAdmin 5.3.4.
Does anyone have an idea where to look for the problem?
 
Hello,

First make sure you don't have outdated templates under "/usr/local/directadmin/data/templates/custom/" and "/usr/local/directadmin/custombuild/custom/"

Then try and run
Bash:
da build rewrite_confs
and see whether or not it helps.

changed the IPv4 addressing

How did you do that? Did you do it with the help of /usr/local/directadmin/scripts/ipswap.sh?
 
Hello,

First make sure you don't have outdated templates under "/usr/local/directadmin/data/templates/custom/" and "/usr/local/directadmin/custombuild/custom/"

Then try and run
Bash:
da build rewrite_confs
and see whether or not it helps.



How did you do that? Did you do it with the help of /usr/local/directadmin/scripts/ipswap.sh?

I don't have any old templates.
I also used this ipswap.sh script to change the IP.
Of course, even though I changed it with the script, there were still a few places where I found the old IP and had to manually change it.
 
I don't have any old templates.
I also used this ipswap.sh script to change the IP.
Of course, even though I changed it with the script, there were still a few places where I found the old IP and had to manually change it.

In certain cases they might issues with IPv6 swapping occur. Do you see the correct IPv4/IPv6 on IP management page in DirectAdmin?
 
In certain cases they might issues with IPv6 swapping occur. Do you see the correct IPv4/IPv6 on IP management page in DirectAdmin?
I only see a valid IPv4 address. I don't have an IPv6 address either in the console or physically on the link.
 
Unfortunately, no, it immediately redirects me to the hostname <HOSTNAME>/roundcube.

When I run it locally from another computer on the network, for example, local ip :2222/evo/phpMyAdmin, it opens a new window like https <HOSTNAME>/phpMyAdmin/sso/XXXXXXX.php with a 404 error.

In the case of local ipv4:2222/evo/roundcube, I have the same problem, both with the hostname, localip, and public IP.
 
So you run the server behind NAT, and you have a local IP on the server?
Can you access your server by hostname at all http://<HOSTNAME>/? What page will you see?
 
Yes, the server is behind NAT. From the outside, I can access my host name without any problems and see the default page set in DA.
 
Back
Top