Welcome to WebmasterWorld Guest from 107.20.122.81

Forum Moderators: bakedjake

Message Too Old, No Replies

debian linux: apache runs but will not bind to 192.168.1.115

     

culser

11:54 pm on Feb 16, 2013 (gmt 0)



hello,

I hope someone can help.
I have just moved to my new server. Debian 5.0 and new machine. I have pretty much duplicated the same config i had on my previously working machine Debian 4.
Here is the problem.
apache2 runs at boot with no errors and will also restart with no errors ex: apache2 -k restart/start
but will not bind with local ip address 192.168.1.115.
As a result our sites are not reachable. Currently our router is assigning *115 to our new machine so we have matched the *115 setting in the apache2 vhost.conf file.
here is our configuration.

running netstat -lanp | grep apache brings up this.
tcp6    0   0 :::80          :::*          LISTEN   3729/apache2  

the port is good, but the ip is blank.

running netstat for all other services
All other services such as ftp, telnet ssh all show 0.0.0.0:port

ports.conf file:
Listen 80


vhost.conf file:
NameVirtualHost 192.168.1.115:80
<VirtualHost 192.168.1.115:80>
ServerName example.com
ServerAlias www.example.com example.com
DocumentRoot /exroot/example.com
ScriptAlias /cgi-bin /example.com/cgi-bin
</VirtualHost>


host.conf file:
# order hosts,bind
multi on


127.0.0.1localhost.localdomainlocalhostDEB3
ouripexample.comculserDEB3
ouriphost.example.comhostDEB3
ouripmail.example.commailDEB3

# The following lines are desirable for IPv6 capable hosts
::1 ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts


snswitch.conf file:
passwd:  compat
group: compat
shadow: compat
hosts: files dns
networks: files
protocols: db files
services: db files
ethers: db files
rpc: db files
netgroup: nis


please someone

culser

1:59 pm on Feb 17, 2013 (gmt 0)



ok

it works, it was the ip specification with services ex: ftp, telnet, http

thx
 

Featured Threads

Hot Threads This Week

Hot Threads This Month