plainblack.com
Username Password
search
Bookmark and Share

    

Adding a second server

User gso125
Date 12/14/2009 6:32 pm
Views 930
Rating 0    Rate [
|
]
Previous · Next
User Message
gso125

I have added a second webserver and I can not get the websites to view on the web only in server 2. I have tried changing from port 80 to 81 in the set up but then i cant even view it on server 2. Anyone have any guidence on this. Thank You

--- (Edited on 12/14/2009 7:32 pm [GMT-0500] by gso125) ---



Back to Top
Rate [
|
]
 
 
bartjol

What is the setup, is it a second apache with some kind of load balancing?

Or do you want a seperate apache to run on a machine with a WebGUI apache already running?

--- (Edited on 15-December-2009 13:02 [GMT+0100] by bartjol) ---



Back to Top
Rate [
|
]
 
 
gso125

1. Modem with static ip 96.39.xx.xx

2. Netgear router then a 5 port Netgear switch, I got the switch when I started to network the two seperate server boxs. I dont know if I even need it I was conneted to the routers 4 ports first.

3. Server1 (centos box) is connected and running webgui and the sites are working viewable from the internet.

4. Server2 (centos box) is connected and running webgui but is only viewable from that boxs browser.

5. I have tried reinstalling the wre in server2 and set ports to 81 and 8080 and I was unable to even view it in the browser so i put it back to 80 / 8081 so I can view it again.

6. I had changed the the host names of both servers from localhost.localdomain localhost to server1.911x.org server1 and server2.911x.org server2

7. in /etc/hosts I added them like this 192.168.1.5 server1.911x.org local server1 and 127.0.0.1 192.168.1.5 server1.911x.org local server1

I do the same on server but with ip 192.168.1.11

One thing I noticed now after I changed was postfix didnt work and I had to change localhost to server1. That has caused my contact forms not to send out any messages I will work on that later.

Thanks.

--- (Edited on 12/15/2009 8:11 am [GMT-0500] by gso125) ---



Back to Top
Rate [
|
]
 
 
bartjol

My first reaction is that it is an internal network problem, maybe caused by port forwarding (outside 1 IP, and the requests have to be forwarden correctly)

--- (Edited on 16-December-2009 16:43 [GMT+0100] by bartjol) ---



Back to Top
Rate [
|
]
 
 
    



© 2012 Plain Black Corporation | All Rights Reserved