Link to home
Start Free TrialLog in
Avatar of mn210
mn210

asked on

Adding Mail Server for web hosting to existing network

Hi Experts,
We have a small LAN with Web Server & DNS Server  on the Linux Box and a separate Mail Server with ip address 192.168.0.25 on the intranet. We are providing webhosting to few of our clients.  Now, we want to add another mail server which should handle all mail forone of  our clients and they want to use ip address 192.168.1.230. Earlier, they were using our Mail server( 192.168.0.25).  I have checked the forward and reverse  zone files for both intranet and internet of  our domain.Can anyone walk me thro' the steps ?
Thanks in advance for your co-operation.
Avatar of jlevie
jlevie

Since you are using RFC1918 private IP's your local network is behind a NATing firewall. So my first question is whether you have more than one Internet IP from your service provider. To set up a second mail server on your private LAN will require an additional Internet IP.
Avatar of mn210

ASKER

sorry for the delay in responding back.
The client in question still want to use our DNS server for web hosting. However, they want to use separate Mail server. I have requested for the second Internet IP address. What should I do next ?
Secondly,  When I enter their web address in the browser, it is still pointng to our website . What could be the possible reasons?
I am new in this area of system admin and  thanks alot for your co-operation.
mn210,

I'd like to clarify a few points, as I'm not sure from the initial description what you want to do.  Please tell me if the following information is correct:

You have a Linux server that runs a web server and a DNS server.  It has an IP address of 192.168.0.X

You also have a separate mail serve with an IP address of 192.168.0.25.  What OS is it running?  What mail server (sendmail, qmail, Exchange...)?

You also have a NAT'ing router.  What type of router do you have?  Is it a Linux server or a commercial device (Linksys, D-link, Cisco etc.)  What is it's internal (LAN) IP address?

You have a customer that wishes to use a separate mail server.  Is this because the other mail server has speed or reliability issues, or because they want their own domain name (theircompany.com instead of yourcompany.com).?  I ask because if it's the latter, you may be able to use the same mail server anyway.

Lastly, I don't understand the purpose of the new mail server being at IP 192.168.1.230.  Since, as jlevie said, you are behind a router.  While I disagree with the fact that you need a second IP address based upon the information you've given so far, I agree that the NAT plays a role in this issue.

With the answers to these questions, we should be able to resolve the issue more effectively
ASKER CERTIFIED SOLUTION
Avatar of jlevie
jlevie

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of mn210

ASKER

Hi Stanford_16,
The Mail Server is running Red Hat Linux 7.2.4 and is a sendmail server.
The Router is the same Red Hat Linux server 7.2.4 which is also web & DNS server.
The customer want to use our DNS server but their Mail Server with ip address 192.169.0.230 for the time being but  have some plans to move to their own domain name in the future.
Secondly, when our client enter their web address in the browser, it doesn't open their website  but is still  opening our website.
Thanks for your co-operation
> Secondly, when our client enter their web address in the browser, it doesn't open their website  but is still
> opening our website.

That suggests that you haven't correctly set up your web server for this virtual site. Are you using Name Based Virtual hosts for this site?
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial