[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

DNS

Posted on 2010-09-20
4
Medium Priority
?
411 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
4 Comments
 
LVL 7

Accepted Solution

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

Assisted Solution

by:DavidBCS
DavidBCS earned 500 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 500 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 500 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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

This article will show you step-by-step instructions to build your own NTP CentOS server.  The network diagram shows the best practice to setup the NTP server farm for redundancy.  This article also serves as your NTP server documentation.
Last month Marc Laliberte, WatchGuard’s Senior Threat Analyst, contributed reviewed the three major email authentication anti-phishing technology standards: SPF, DKIM, and DMARC. Learn more in part 2 of the series originally posted in Cyber Defense …
If you're a developer or IT admin, you’re probably tasked with managing multiple websites, servers, applications, and levels of security on a daily basis. While this can be extremely time consuming, it can also be frustrating when systems aren't wor…
There's a multitude of different network monitoring solutions out there, and you're probably wondering what makes NetCrunch so special. It's completely agentless, but does let you create an agent, if you desire. It offers powerful scalability …

834 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