LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 05-07-2006, 03:44 AM   #1
vaworx
Member
 
Registered: Nov 2003
Location: Honolulu/HI
Distribution: Slackware current, FreeBSD 4.10, 5.4, 6.2, Debian, RedHat, CentOS, Sun Cobalt OS
Posts: 66

Rep: Reputation: 15
MS Exchange + Linux Web Srv one domain?


I got stuck in a situation here. I have one Windows 2003 Exchange machine that was used to serve as web/exchange server. And now i've setup a LAMP server that will serve my new web based on Joomla <=- the best CMS . I have two NS servers that point to my MS Exchange box on an outside IP that is:

mydomain.com -=> ip
www.mydomain.com -=> same ip as above
pop.mydomain.com -=> same ip as above
smtp.mydomain.com -=> same ip as above
mail.mydomain.com -=> same ip as above

I want to take over the web requests and point them to the linux box which is on an outside IP as well and this is where i got stuck with my networking knowledge.

I was thinking to change my DNS record for www.mydomain.com to point to my LAMP box IP and leave mydomain.com as is. And then make an index page on the mydomain.com that if open forwards directly to www.mydomain.com.

I don't know if there is a better way of doing that "complex" maneuver since both servers are on an outside IP but if anyone has some ideas i'll be more than thankful.

regards,
vaworx
 
Old 05-07-2006, 06:42 AM   #2
nabeelmoidu
Member
 
Registered: Jul 2005
Location: Bangalore
Distribution: Fedora
Posts: 71

Rep: Reputation: 15
Quote:
Originally Posted by vaworx
I want to take over the web requests and point them to the linux box which is on an outside IP as well and this is where i got stuck with my networking knowledge.
If the only change you want is to have the www.domain.tld requests to land on the LAMP server , the DNS change for that record alone to the LAMP server should work fine.

Quote:
Originally Posted by vaworx
I was thinking to change my DNS record for www.mydomain.com to point to my LAMP box IP and leave mydomain.com as is. And then make an index page on the mydomain.com that if open forwards directly to www.mydomain.com.
I couldn't understand why you want to do the forwarding stuff.What do you want to achieve through it? In the final setup what are the mappings you want in each server?
 
Old 05-07-2006, 01:49 PM   #3
vaworx
Member
 
Registered: Nov 2003
Location: Honolulu/HI
Distribution: Slackware current, FreeBSD 4.10, 5.4, 6.2, Debian, RedHat, CentOS, Sun Cobalt OS
Posts: 66

Original Poster
Rep: Reputation: 15
Since i don't play along with MS Products a lot for various reasons i'm not sure if exchange will work once i change the web requests to point to the LAMP. Besides using Outlook with:

pop.mydomain.com
smtp.mydomain.com

I need to keep the web based:

mydomain.com/exchange to check their mail.

If i change the DNS records to point to the LAMP then i guess the web based exchange won't work unless it's working on a separate port sort of like Webmin where you don't need to have Apache running because of it's miniweb srv. In a nut shell i want to keep the Exchange as my mail server with the webmail interface available on the same domain and use my Slackware box (LAMP) to serve the web when both machines are on an outside IP. Thanks for the reply btw.
 
Old 05-08-2006, 03:57 AM   #4
Frodo4FingerZ
LQ Newbie
 
Registered: Apr 2006
Posts: 3

Rep: Reputation: 0
I have problem with SuSe 10 and the Microsoft Exchange Client we use for mail here.
Just for the record I am new to linux. At first I got Evolution running nicely with the exchange settings, then I lost connection to the server and in frustration I reinstalled Linux, thought it might have been something I installed. So exchange worked again. So while someone was working on the network I once again lost connection to the server.

Now it gives me server could not be located. In my webbrowser I can access the mail, so the server is running. Then I went and deleted my account in evolution mail and configured my settings. However when I get to autenticate server it says server is not located, without really testing the connection. Where in hell does Evolution put the setting that the server is unreacable so that I can remove it.

Otherwise I would have to reinstall Linux Again. Or just migrate back to good old Windows XP.
 
Old 05-09-2006, 12:41 PM   #5
nabeelmoidu
Member
 
Registered: Jul 2005
Location: Bangalore
Distribution: Fedora
Posts: 71

Rep: Reputation: 15
Quote:
Originally Posted by vaworx
Since i don't play along with MS Products a lot for various reasons i'm not sure if exchange will work once i change the web requests to point to the LAMP. Besides using Outlook with:
pop.mydomain.com
smtp.mydomain.com
I need to keep the web based:
mydomain.com/exchange to check their mail.
I want to keep the Exchange as my mail server with the webmail interface available on the same domain and use my Slackware box (LAMP) to serve the web when both machines are on an outside IP. Thanks for the reply btw.
If you have two public ips for each of the servers then your life is easy
you can have the pop.mydomain.com,smtp.mydomain.com and domain.com to the exchange server's ip and www.mydomain.com alone mapping to the LAMP server.
If you want both mydomain.com and www.mydomain.com to the LAMP server
thats also possible.You will have to set a module called mod_proxy in apache and configure all requests to mydomain.com/exchange to be redirected to the exchange server.
the mod proxy behaves like this
you can have three servers serving multiple servers but you have only one public domain name
you can land that domain on an apache with mod proxy and redirect the urls like
domain.com/server1 redirect to server1.mydomian.com
domain.com/server2 redirect to server2.mydomain.com
domain.com/server3 redirect to server3.mydomain.com

hope this helps
 
Old 05-09-2006, 01:10 PM   #6
nabeelmoidu
Member
 
Registered: Jul 2005
Location: Bangalore
Distribution: Fedora
Posts: 71

Rep: Reputation: 15
Quote:
Originally Posted by Frodo4FingerZ
At first I got Evolution running nicely with the exchange settings, then I lost connection to the server and in frustration I reinstalled Linux. So exchange worked again. So while someone was working on the network I once again lost connection to the server.
Now it gives me server could not be located. In my webbrowser I can access the mail, so the server is running. Then I went and deleted my account in evolution mail and configured my settings. However when I get to autenticate server it says server is not located, without really testing the connection.
Otherwise I would have to reinstall Linux Again. Or just migrate back to good old Windows XP.
Don't really know about Evolution.I find life happy with Mozilla thunderbird with an Exchange server( I meant I am happy about the client only :-) ) .
If you don't have any issues you might consider a switch.

Anyways what do you mean someone was working over the network?
Are you using POP or IMAP to access the exchange server
Check out the normal network issues - DNS , ping , telnet to the required ports 110/143 or 993/995 etc.
Tell us what you get.
 
Old 05-09-2006, 05:28 PM   #7
vaworx
Member
 
Registered: Nov 2003
Location: Honolulu/HI
Distribution: Slackware current, FreeBSD 4.10, 5.4, 6.2, Debian, RedHat, CentOS, Sun Cobalt OS
Posts: 66

Original Poster
Rep: Reputation: 15
Thanks a bunch man you've been very helpful i've never tought about using the mod_proxy module. I guess i should bust out me apache manual again and read throughly .

cheers
Vaworx
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Linux Web Server - Domain Change and loss of net connection littlered Linux - Networking 3 01-02-2006 11:08 PM
sys and srv in root basilogics Linux - Software 1 08-19-2005 10:01 PM
send mail from workgroup to domain exchange server bharathvn Linux - Software 2 03-28-2005 07:43 AM
What is the /srv partition and do I need one? Thaidog Linux - Newbie 2 09-06-2004 04:42 AM
Linux firewall and web exchange server SSBN Linux - Networking 1 06-22-2003 07:44 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 07:47 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration