How do you turn off phpmyadmin? In a certain domain name

I have two domain names

https://xxx.ooo.com/phpmyadmin/
and
https://www.ooo.com/phpmyadmin/

what I want to implement is that when I href= https://xxx.ooo.com/phpmyadmin/, phpmyadmin takes effect
, but when I https://www.ooo.com/phpmyadmin/, I can"t find a network or skip an error
how can this be achieved?
all of them are in the same number of databases

Mar.19,2021

xxx.ooo.com binds to virtual site A
www.ooo.com binds to virtual site B

Menu