Hi, my website has working fine with https://mydomain.com:4444 But when I type mydomain.com:4444 on browser address bar it return error How can I redirect permanent to https on port 4444. I'm running Apache/2.2.15 (CentOS) DAV/2 PHP/5.3.3 mod_ssl/2.2.15 OpenSSL/1.0.0-fips on Centoo 6.
That's not possible. You have to use the correct scheme from the beginning because you cannot run http and https on the same port.