Apache2Triad Help, Support and Development Forum Index Apache2Triad Help, Support and Development
The apache2triad help , support and development forums
 

One or more network interfaces
Click here to go to the original topic

 
       Apache2Triad Help, Support and Development Forum Index -> Apache
View previous topic :: View next topic  
Author Message
Amrit



Joined: 18 May 2006
Posts: 16
Location: Holland

Posted: Wed Jan 31, 2007 9:51 pm    Post subject: One or more network interfaces  

I have a server with 2 network interfaces with one static and the other is a dynamic (ip).

AT2 binds by default localhost 127.0.0.1

How can i bind the AT2 services to one network interface?
Back to top  
Vlad Alexa Mancini



Joined: 07 Jul 2003
Posts: 1538

Posted: Sat Feb 03, 2007 9:47 am    Post subject: Re: One or more network interfaces  

Amrit wrote: AT2 binds by default localhost 127.0.0.1

How can i bind the AT2 services to one network interface?
change the apache listen directive

a2t bind by default on 0.0.0.0 that is all interfaces because only a port is specified to the listen directive


httpd.conf wrote: Listen 80
Back to top  
Amrit



Joined: 18 May 2006
Posts: 16
Location: Holland

Posted: Sat Feb 03, 2007 8:58 pm    Post subject: How can i bind the AT2 services to one network interface?  

My conf changes

#Apache
Listen 100.100.100.10:80
This works fine
--------------------------------------------------------------------------
# The MySQL server
[mysqld]
bind-address = 100.100.100.10
port = 3306

her i'm getting the following ERROR "could not connect to the following instance" ERROR nr 1045
Why this error ??
--------------------------------------------------------------------------
# FTP
# Local, or you can specify an IP address.
#
BindInterface 100.100.100.10

#
# The BindPort directive specifies which TCP port should be used to listen for
# incoming connections. The standard FTP port is 21.
#
BindPort 21
This also works fine
--------------------------------------------------------------------------
#XMAIL
I couldn't start Xmail incombination with 2 network adaptors !!

If i have changed the Apache directives, would it change the ip settings automaticly for XMAIL,FTP ect ?????

Please HELP

Sorry for the trouble, i've found my problem for Xmail.
The problem was in the second networkadaptor the DNS-setting, i had to fill in my Primary and Secundary DNS.

Maby you could help me to bind MSQL to a IP
This doesn't work.!













"RootDomain" "MYDOMAIN.COM"
"SmtpServerDomain" "MYDOMAIN.COM"
"POP3Domain" "MYDOMAIN.COM"
"HeloDomain" "MYDOMAIN.COM"
"PostMaster" "postmaster@MYDOMAIN.COM"
#"Pop3SyncErrorAccount" "psync@MYDOMAIN.COM"
#"ErrorsAdmin" "errors@MYDOMAIN.COM"
#"TempErrorsAdmin" "send-failures@MYDOMAIN.COM"
#"DefaultSMTPGateways" "192.168.1.2,192.168.1.15"
#"RemoveSpoolErrors" "0"
"DisableEmitAuthUser" "1"
#"NotifyMsgLinesExtra" "8"
#"NotifySendLogToSender" "0"
#"NotifyTryPattern" "1"
#"MaxMTAOps" "16"
"ReceivedHdrType" "0"
"FetchHdrTags" "+X-Deliver-To,+Received,To,Cc"
"SmtpMsgIPBanSpammers" "550 Denied due inclusion of your IP in our spam lists"
#"SmtpMsgIPBanSpamAddress" "550 Denied due inclusion of your email address in our spam lists"
#"SmtpMsgIPBanMaps" "550 Denied due inclusion of your IP in the following map"
#"CustomSMTPMessage" "A Custom SMTP Errror Message"
#"MaxMessageSize" "20000"
"EnableAuthSMTP-POP3" "1"
#"AllowNullSender" "1"
"AllowSmtpVRFY" "1"
"AllowSmtpETRN" "1"
#"SmtpMinDiskSpace" "100000"
#"SmtpMinVirtMemSpace" "64000"
#"Pop3MinVirtMemSpace" "64000"
#"CustMapsList" "list.dsbl.org.:1,blackholes.mail-abuse.org.:1,dialups.mail-abuse.org.:0"
#"SMTP-RDNSCheck" "1"
#"CheckMailerDomain" "1"
#"SmartDNSHost" "dns.home.net:tcp,192.168.1.1:udp"
"DynDnsSetup" "members.dyndns.org,80,/nic/dyndns?action=edit&started=1&hostname=YES&host_id=yourhost.ourdomain.ext&myip=%s&wildcard=OFF&mx=mail.exchanger.ext&backmx=NO,foouser,foopasswd"
#"SmtpConfig" "mail-auth"
"DefaultSmtpPerms" "MRVZT"
--------------------------------------------------------------------------
Thank you Vlad
Back to top  
 
       Apache2Triad Help, Support and Development Forum Index -> Apache
Page 1 of 1


Powered by phpBB Search Engine Indexer
Powered by phpBB 2.0.13 © 2001, 2002 phpBB Group