Results 1 to 2 of 2
I need some help. I've got three domains. Two of which point to my personal webserver. But the other one points to my personal zimbra mail website. I have two ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 07-18-2008 #1
One machine/ip, multiple domains, multiple webservers.
I've got three domains. Two of which point to my personal webserver. But the other one points to my personal zimbra mail website.
I have two web servers running on the same machine.
Abyss Webserver X2 personal free edition running port 8080
Apache which came with the zimbra collaboration suite running on port 80.
We'll call this The Server.
The router is setup to forward all request to 192.168.0.124 *The Server.*
Any request for public port 80 goes to 192.168.0.124:8080 *Personal webserver*
Any request for public port 8080 goes to 192.168.0.124:80 *Zimbra mail apache*
Domain 1&2 point to the personal webserver, which one of the domains will be dropped since I won't be needing it anymore in the next couple of months.
domain3 points to my zimbra mail website.
problem: I only have one ip.
I need to take domain3 and add 8080 at the end just to get to the mail site.
If I don't, it'll just take me to my personal webserver.
What I want to do is just type domain3 without having to specify the port and be taken to the apache mail server and not my personal webserver.
I also want to straighten out the port scheme.
Its a weird setup I know.
Is there anyway to route the domains so they go to the ports they need go at the localhost?
domain2 >router >192.168.0.124:80 > server:80 > D1=8080 D2=8080 D3=80
Something like that.
- 07-19-2008 #2
Why don't you setup all the web pages that you server out on one server and then let Apache router them to the pages they need to goto according to the URL? Then the only port needed is 80.
The adventure of a life time.
Linux User #296285