Solved

DNS

Posted on 2010-09-20
4
406 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 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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Suggested Solutions

ADCs have gained traction within the last decade, largely due to increased demand for legacy load balancing appliances to handle more advanced application delivery requirements and improve application performance.
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…
The video tutorial explains the basics of the Exchange server Database Availability groups. The components of this video include: 1. Automatic Failover 2. Failover Clustering 3. Active Manager
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…

792 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