Linux - NetworkingThis 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.
I feel kind of stupid for asking this. I Google off and on for a while and did not find anything. Maybe I just didn't use the right terminology. So here it goes.
I have a static IP address and a single domain name pointed to it. Right now I am running a cheap Best Buy router that forwards ports to my servers. Everything works fine, but I would like to host multible domains on my server(s). So if domain A and B are in one server and domain C is on another.
I am at a loss on exactly how to set this up. Is there a way to make it work with my cheap router or should I make a Linux router (I do not have hunders or dollars to spend on a hardware one). If someone could explain or point me to a how to on how to do this I would be greatful.
It really depends on what you mean by "host multible domains on my server(s)" - do you mean just web and mail for example?
Simple port forwarding from your routers public interface to your LAN based server should give you what you want as postfix,sendmail,courier,qmail etc all support virtual domain support. Similarly Apache httpd supports name based hosting. It might be take a little time to split SMTP/POP3/HTTP over multiple boxen, but it's not impossible. Without gear that supports deep packet inspection, it will be near to impossible to forward ports based on the domain or host portion of the inbound requests to a single public IP on the router - you'll need some server side smarts or a local proxy to forward as needed...
If you could clarify your topology however, I could probably give some better advice.
I was not that clear (late night). I want to register 2 or more domain names. I would like to have each domain names on a seperate web server. When a request is sent to domain A, I would like the router to send that request to server A. When when a request is sent to domain B, I would like that request to be sent to server B.
I have a site what is running on a webserver running Apache. I also have a test site that is running on a server using Zope with Plone. Plone is a little resource heavy for to run both on, so I had to use one server for each.
Right now I have to run one server on port 80 and the other on port 8080.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.