Computer Geeks

Computer Geeks

Geek Shop

Geek News

Geek Stuff

Science Geek

Computer Gaming

Linux Chat

Building Websites

Computer Forums

Computer Help Forum

Computer Hardware Forum

Computer Software Programs


Go Back   Computer Forums > Building Websites
FAQ Community Calendar Today's Posts Search

Building Websites This section covers all aspects of publishing, developing and maintaining websites. Topics include: website design, graphic design, website programming, web hosting, website marketing (SEO, link exchange, publicity, advertising), monetization & etc.

Computer Geeks
» Active Discussions
Computer Geeks
No Threads to Display.
» Other Websites
- Software Publishing

- Server Hardening
Reply
 
Thread Tools Display Modes
  #1  
Old 10-15-2007, 01:04 PM
MacGyver MacGyver is offline
Junior Member
GB Newbie
 
Join Date: Oct 2007
Posts: 1
Default 2 servers 1 internet connection

Hey all,

I would like to setup two separate fedora web/pop3/smtp servers on two different computers, through a router. I have used the virtual host on one computer and that worked great but I can not figure out how to set up the mail part using Postfix and Dovecot. here is what I would like to do:

domain1.com to internal 192.168.1.10:80
domain2.com to internal 192.168.1.11:80

I have tried setting up this configuration:

domain1.com to internal 192.168.1.10:80
domain2.com to internal 192.168.1.11:81

but they would have to enter the port number and I would like to avoid that,
I was thinking setting up DNS would work but am not sure of this.

Any help would be greatly appreciated,
MacGyver
Reply With Quote
  #2  
Old 10-17-2007, 03:41 PM
John John is offline
Administrator
GB Admin
GB GEEK
 
Join Date: Jun 2006
Location: NJ
Posts: 255
Default

I'm not sure about postfix and dovecot since I've never used them (I use Qmail). You might run into some problems with your IP address being blocked by other mail servers since it's likely to be an IP allocated for Internet access and not web/email services. You can check for this on your IP at http://www.spamhaus.org/zen/index.lasso using the IP search box on the left side. My guess is your IP will be in the PBL.

To get multiple web servers running from a single IP address you would need a proxy server behind your router and in front of your web servers.

You'll need to setup public DNS for your domains and have them pointed to your public IP address (do this step last if your websites are currently active and you want to minimize downtime).

Have your router automatically forward port 80 traffic to your proxy server.

Setup DNS on the proxy server so the IP's returned for all your domains point to the internal IP address of whichever webserver is associated with each domain.

Data flow will be as such:

Internet -> your IP/router -> your proxy server -> web server #1 or #2 (depending on domain)
__________________
John Hammell
Network Administrator
Computer Geeks
Reply With Quote
Reply


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 On
HTML code is Off

Forum Jump

Powered by vBadvanced CMPS v3.2.3

All times are GMT -5. The time now is 02:22 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
HTML Help provided by HTML Help Central.