How can I remove port number on ssl domains

Support for webhosts that use CentOS
Post Reply
Cuizhe
Posts: 8
Joined: 2016/01/08 10:58:29

How can I remove port number on ssl domains

Post by Cuizhe » 2016/01/11 03:44:24

Hi,

I serve two ssl domains on different port.
forexample:
https://one.domain.com/
https://two.domain.com:444/

These works properly.
But I want to remove port number from address in second domain.

How can I do it?

User avatar
TrevorH
Forum Moderator
Posts: 27164
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: How can I remove port number on ssl domains

Post by TrevorH » 2016/01/11 11:41:04

You cannot. On CentOS 5 you cannot run multiple SSL sites on the same ip address and port and you cannot remove the port number from the URL without hitting the wrong server. To run two SSL sites on the same port you would need a second ip address.
CentOS 6 will die in November 2020 - migrate sooner rather than later!
CentOS 5 has been EOL for nearly 3 years and should no longer be used for anything!
Full time Geek, part time moderator. Use the FAQ Luke

mghe
Posts: 749
Joined: 2015/11/24 12:04:43
Location: Katowice, Poland

Re: How can I remove port number on ssl domains

Post by mghe » 2016/05/25 15:44:11


User avatar
TrevorH
Forum Moderator
Posts: 27164
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: How can I remove port number on ssl domains

Post by TrevorH » 2016/05/26 10:08:43

I doubt very much if SNI is supported on CentOS 5 as the openssl version is too old.
CentOS 6 will die in November 2020 - migrate sooner rather than later!
CentOS 5 has been EOL for nearly 3 years and should no longer be used for anything!
Full time Geek, part time moderator. Use the FAQ Luke

Post Reply

Return to “CentOS 5 - Webhosting Support”