Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
05-07-2006, 03:44 AM
|
#1
|
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:
|
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
|
|
|
05-07-2006, 06:42 AM
|
#2
|
Member
Registered: Jul 2005
Location: Bangalore
Distribution: Fedora
Posts: 71
Rep:
|
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?
|
|
|
05-07-2006, 01:49 PM
|
#3
|
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:
|
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.
|
|
|
05-08-2006, 03:57 AM
|
#4
|
LQ Newbie
Registered: Apr 2006
Posts: 3
Rep:
|
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.
|
|
|
05-09-2006, 12:41 PM
|
#5
|
Member
Registered: Jul 2005
Location: Bangalore
Distribution: Fedora
Posts: 71
Rep:
|
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
|
|
|
05-09-2006, 01:10 PM
|
#6
|
Member
Registered: Jul 2005
Location: Bangalore
Distribution: Fedora
Posts: 71
Rep:
|
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.
|
|
|
05-09-2006, 05:28 PM
|
#7
|
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:
|
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
|
|
|
All times are GMT -5. The time now is 07:47 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|