Sub domains

Problems with the Windows version of XAMPP, questions, comments, and anything related.

Sub domains

Postby Kelvin.uk » 23. February 2016 10:48

Hi all,

This could be a silly question but need some guidance for this. I'm no web server export and have no experience in Apache. How do I point two different sub domains to the same internal network using the same port but two different web servers? Here's a little more details on the current and desired setup:

We are currently running a IBM Lotus Domino web mail server (which is using port 443) and need to create a new Apache server (which needs to use the same SSL port) which will be hosted on the same internal network.

https://mail.companydomain.com:443 for mail server.
https://new.companydomain.com:443 for the new Apache server.

Is this possible?

(The DNS A records have been created to point the two sub domains internally, I can do the port forwarding on our firewall.)
Kelvin.uk
 
Posts: 3
Joined: 23. February 2016 10:33
Operating System: Windows Server 2012R2

Re: Sub domains

Postby Nobbie » 23. February 2016 11:41

Kelvin.uk wrote:Is this possible?


No. Only if the subdomains are running on different IPs (but they are running on the same IP, as far as I could understand, you did not mention that).

Anyway, i am a bit surprised that your Lotus Mail server runs HTTP protocoll??!! Usually mail servers are running SMTP instead.
Nobbie
 
Posts: 13170
Joined: 09. March 2008 13:04

Re: Sub domains

Postby Kelvin.uk » 23. February 2016 12:07

Our Lotus Notes uses SMTP for mail yes. But for hosting webmail and Active Sync for iPhones it requires webmail ports for http and https.
Kelvin.uk
 
Posts: 3
Joined: 23. February 2016 10:33
Operating System: Windows Server 2012R2

Re: Sub domains

Postby Nobbie » 23. February 2016 14:02

Kelvin.uk wrote:webmail ports for http and https.


What do you mean by a "webmail port"?? A port is a port and nothing else. Its a number.

Anyway, you finally cannot run two different services on the same IP and same port. You must provide unique IP:Port per service.
Nobbie
 
Posts: 13170
Joined: 09. March 2008 13:04

Re: Sub domains

Postby Kelvin.uk » 23. February 2016 18:21

When I say "webmail ports" I mean the ports that our webmail server is using.

So in this instance it's port 8080 for HTTP and port 443 HTTPS (and port 25 for SMTP of course).

Thanks for clarifying, back to the drawing board!
Kelvin.uk
 
Posts: 3
Joined: 23. February 2016 10:33
Operating System: Windows Server 2012R2


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 99 guests