How to redirect phpmyadmin and roundube to...
How to redirect phpmyadmin and roundube to...
Hello i installed SSL but decided to activate it only on my hostname host.domain.tld
What i want to do is like this, is there a way to change.
Alias /phpMyAdmin /usr/share/phpMyAdmin
to
Alias /phpmyadmin https://host.domain.tld
The purpose of this is so that everydomain i add without SSL when they access newdomain.com/webmail or newdomain.com/phpmyadmin it will redirect to https://host.domain.tld/webmail or phpmyadmin
DOEs it make any sense or adds up for security?
Thanks!
What i want to do is like this, is there a way to change.
Alias /phpMyAdmin /usr/share/phpMyAdmin
to
Alias /phpmyadmin https://host.domain.tld
The purpose of this is so that everydomain i add without SSL when they access newdomain.com/webmail or newdomain.com/phpmyadmin it will redirect to https://host.domain.tld/webmail or phpmyadmin
DOEs it make any sense or adds up for security?
Thanks!
Re: How to redirect phpmyadmin and roundube to...
Fixed:
I changed the codes to:
Redirect /phpmyadmin https://host.maindomain.com/phpMyAdmin
Alias /phpMyAdmin /usr/share/phpMyAdmin
Is my code above ok?
Now it works like Cpanel, forced SSL on both roundcube and phpmyadmin.. best of all free sll from letsecnrypt haha
I changed the codes to:
Redirect /phpmyadmin https://host.maindomain.com/phpMyAdmin
Alias /phpMyAdmin /usr/share/phpMyAdmin
Is my code above ok?
Now it works like Cpanel, forced SSL on both roundcube and phpmyadmin.. best of all free sll from letsecnrypt haha