logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in RSS X


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

A donation makes a contribution towards the costs, the time and effort that's going in this site and building.

Thank You! Steffen

Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
Post new topic   Forum Index -> Apache View previous topic :: View next topic
Reply to topic   Topic: How can I remove port number on ssl domains
Author
Cui



Joined: 11 Jan 2016
Posts: 8
Location: Beijing

PostPosted: Mon 11 Jan '16 10:17    Post subject: How can I remove port number on ssl domains Reply with quote

Hi,

My server is CentOS 5.11 and apache 2.2.3.
My server doesn't support SNI and I can't update this environment.
So, 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 like "https://two.domain.com/".

How can I do it?

Thanks in advice.
Back to top
James Blond
Moderator


Joined: 19 Jan 2006
Posts: 7373
Location: Germany, Next to Hamburg

PostPosted: Mon 11 Jan '16 10:56    Post subject: Reply with quote

A solution might be to use subdomains with a wild card certificate.
Back to top
Cui



Joined: 11 Jan 2016
Posts: 8
Location: Beijing

PostPosted: Mon 11 Jan '16 11:08    Post subject: Reply with quote

Does apache 2.2.3 support wildcard?
Back to top
James Blond
Moderator


Joined: 19 Jan 2006
Posts: 7373
Location: Germany, Next to Hamburg

PostPosted: Wed 13 Jan '16 13:17    Post subject: Reply with quote

The certificate must support that. And yes your apache version supports that.
Back to top
Cui



Joined: 11 Jan 2016
Posts: 8
Location: Beijing

PostPosted: Wed 13 Jan '16 14:39    Post subject: Reply with quote

Thanks James Blond.
Back to top
James Blond
Moderator


Joined: 19 Jan 2006
Posts: 7373
Location: Germany, Next to Hamburg

PostPosted: Wed 13 Jan '16 17:47    Post subject: Reply with quote

With that certificate you will use the same certificate in each subdomain vhost.

if you sill have a question please ask again.
Back to top


Reply to topic   Topic: How can I remove port number on ssl domains View previous topic :: View next topic
Post new topic   Forum Index -> Apache