ricbax
asked on
2 Servers running FC2 and 1 Static IP Address
I have 2 servers running on my network. I have 1 static IP Address (Router is a Linksys WRT54GS)
1) Web Server
2) Mail Server (Qmail)
DNS is supplied by Zone Edit
Both servers have apache installed listening on port 80.
My problem is that I cannot get the Mail server to be recognised from the Internet. (apache, ssh, pop3)
It works fine on my internal network but there is no access from the outside.
I have all the necessary ports on my firewall open for the mail server.
I think it is some kind of routing problem but i cannot figure it out.
1) Web Server
2) Mail Server (Qmail)
DNS is supplied by Zone Edit
Both servers have apache installed listening on port 80.
My problem is that I cannot get the Mail server to be recognised from the Internet. (apache, ssh, pop3)
It works fine on my internal network but there is no access from the outside.
I have all the necessary ports on my firewall open for the mail server.
I think it is some kind of routing problem but i cannot figure it out.
ASKER
I forgot to mention that I have the router remapping ports from external to internal IPs assigned to both servers.
You say to use port 8080 or 888. Would these Ports have to be expressed in the URL if accessing from the Internet?
For Example
http://mail.mydomain.com:8080/
If so, it is not the solution i am looking for.
You say to use port 8080 or 888. Would these Ports have to be expressed in the URL if accessing from the Internet?
For Example
http://mail.mydomain.com:8080/
If so, it is not the solution i am looking for.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Ok I set the MX record and mail.mydomain.com and www.mydomain.com are pointing to my WAN IP.
The problem I still have is that the web server is recognized on the Internet but the mail server.
If I try to access the webmail feature on the mail server I get a 404 error from the web server which means external access is not reaching the mail server.
The problem I still have is that the web server is recognized on the Internet but the mail server.
If I try to access the webmail feature on the mail server I get a 404 error from the web server which means external access is not reaching the mail server.
> I try to access the webmail feature on the mail server
You mean
http://<WAN IP>:<port number>/
for webmail? Did you have squirrelmail or some sort of webmail software install on your mail server?
For POPs, do you enable it on mail server and do the port 110 mapping on Linksys router?
How did you map the port on your Linksys router?
Wesly
You mean
http://<WAN IP>:<port number>/
for webmail? Did you have squirrelmail or some sort of webmail software install on your mail server?
For POPs, do you enable it on mail server and do the port 110 mapping on Linksys router?
How did you map the port on your Linksys router?
Wesly
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
After researching this headache all this morning and early afternoon I have come to the same answer as arantius has provided.
Wesly you have also provided some information that I will require once i get this IP problem fixed.
So I will divide the points with fairness to solution provided.
Wesly you have also provided some information that I will require once i get this IP problem fixed.
So I will divide the points with fairness to solution provided.
That makes perfect sense, if you have two computers running two different things both on port 80, but only one external address, then only one of them can use port 80 on that one address.
Your router should have a way to re-map ports to internal addresses. You can point external port 80 to one computer, and external port 8080 or 888 or whatever to the other computer.
I hope this is helpful!