Subdomain DNS question

Discussion in 'Installation/Configuration' started by wpwood3, Nov 3, 2007.

  1. wpwood3

    wpwood3 New Member

    I have 2 dedicated servers at my webhost.

    Server-A is the primary domain server that NS1 and NS2 point to.
    It hosts mysite.com and www.mysite.com on ISPConfig.

    Server-B hosts store.mysite.com

    My question is what do I need to do in ISPConfig on Server-A to allow Server-B to function? I think all I need to do is add an A record on Server-A that has hostname: store and the IP for Server-B.

    Is that correct?

    Oh and a bonus question... :D

    What do I need to do in postfix on Server-A to allow Server-B to relay mail through Server-A? I assume I need to add Server-B's IP somewhere in the config.
     
    Last edited: Nov 3, 2007
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Just create a A-Record for store.mysite.com on the primary dns server for mysite.com pointing to the IP address of server B.

    Postfix:

    add the IP of server B to the mynetworks variable in postfix main.cf on server A
     
  3. wpwood3

    wpwood3 New Member

    Thanks Till

    Do I just edit main.cf directly and then restart postfix?

    I don't have to use "postconf -e" do I?
     
  4. falko

    falko Super Moderator ISPConfig Developer

    You can either edit main.cf directly, or use the postconf -e command. Both are ways to achieve the same thing. :)
     

Share This Page