Apache2Triad Help, Support and Development Forum Index Search Profile Log in to check your private messages Log in Register Memberlist Attachments Statistics Crew/Ranks Archive
 One or more network interfaces
Google
Post new topic Reply to topic
Author Message
Amrit
 
 


Joined: 18 May 2006
Posts: 16
Location: Holland

PostPosted: Wed Jan 31, 2007 9:51 pm Reply with quoteBack to top

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?
View user's profileSend private messageMSN Messenger
Vlad Alexa Mancini
lead developer
lead developer


Joined: 07 Jul 2003
Posts: 1539

PostPosted: Sat Feb 03, 2007 9:47 am Reply with quoteBack to top

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
View user's profileSend private message
Amrit
 
 


Joined: 18 May 2006
Posts: 16
Location: Holland

PostPosted: Sat Feb 03, 2007 8:58 pm Reply with quoteBack to top

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
View user's profileSend private messageMSN Messenger
Display posts from previous:      
Post new topic Reply to topic


 Jump to:   



View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum
Powered by phpBB © 2001, 2002 phpBB Group :: FI Theme
All times are GMT