Solved

DNS

Posted on 2010-09-20
4
408 Views
Last Modified: 2013-12-24
This is a painfully obvious question, but one that I can't get my head around. I have set up a VMWare ESXi system in my home. I currently have 2 systems installed: Zimbra (an email server) and Ubuntu (for a LAMP stack).

I would like to have my system set up where mail.12345.com goes to the Zimbra machine (for web-based email), and www.12345.com goes to Ubuntu (for a website hosting).

I have a ZyXel Zywall 2 Plus router for setting up the port forwarding, but in that case, the traffic both comes in on port 80. What can I do that requests to a specific FQDN get pointed to a specific virtual machine? Would I need a separate IP address for my email server or is this something I can leave on a single router/pipeline with proper name resolution?
0
Comment
Question by:fuzzyaces
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
4 Comments
 
LVL 7

Accepted Solution

by:
willbaclimon earned 125 total points
ID: 33720016
Separate IP address is the better way to go
0
 
LVL 3

Assisted Solution

by:DavidBCS
DavidBCS earned 125 total points
ID: 33720027
Email is port 25 and web is port 80. If the same web server were answering for each site then you could just use hostnames on the virtual server to create the separation. Otherwise, webmail would need to listen on a different port if only one public IP were available. You could possibly get creative where one box listens for traffic for the other service and then forwards that to the other server. There is nothing you can do in DNS to correct this. DNS does not handle ports and can't make these decisions for you. You will either need another public IP address, use a different port for one of the web services, or have one of the server capture and forward the traffic for the other.
0
 
LVL 59

Assisted Solution

by:Darius Ghassem
Darius Ghassem earned 125 total points
ID: 33720039
You would need to have seperate IP addresses if the web and email are running on the same port.
0
 
LVL 1

Assisted Solution

by:AlexDemel
AlexDemel earned 125 total points
ID: 33720052
Maybe the easiest way is to use https (TCP 443) for web-based email and continue using port 80 for the website. Therefore you just need a server zertificate (self-signed or official).
another option would be using Microsoft ISA server (or Forefront) to publish both services on the same port and configure DNS names for separation at the ISA server.
0

Featured Post

SharePoint Admin?

Enable Your Employees To Focus On The Core With Intuitive Onscreen Guidance That is With You At The Moment of Need.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

For many of us, the  holiday season kindles the natural urge to give back to our friends, family members and communities. While it's easy for friends to notice the impact of such deeds, understanding the contributions of businesses and enterprises i…
WARNING:   If you follow the instructions here, you will wipe out your VTP and VLAN configurations.  Make sure you have backed up your switch!!! I recently had some issues with a few low-end Cisco routers (RV325) and I opened a case with Cisco TA…
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

729 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question