#1  
Old 3rd November 2007, 03:24
wpwood3 wpwood3 is offline
Senior Member
 
Join Date: Oct 2007
Location: Atlanta, GA USA
Posts: 197
Thanks: 21
Thanked 30 Times in 20 Posts
Question Subdomain DNS question

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...

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.
__________________
CentOS 5.4 64bit (the Perfect Setup)
ISPConfig 2.2.40
WP3 Photography

Last edited by wpwood3; 3rd November 2007 at 03:35.
Reply With Quote
Sponsored Links
  #2  
Old 3rd November 2007, 17:53
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,486
Thanks: 813
Thanked 5,256 Times in 4,121 Posts
Default

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
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
The Following User Says Thank You to till For This Useful Post:
wpwood3 (3rd November 2007)
  #3  
Old 3rd November 2007, 18:22
wpwood3 wpwood3 is offline
Senior Member
 
Join Date: Oct 2007
Location: Atlanta, GA USA
Posts: 197
Thanks: 21
Thanked 30 Times in 20 Posts
Default

Thanks Till

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

I don't have to use "postconf -e" do I?
__________________
CentOS 5.4 64bit (the Perfect Setup)
ISPConfig 2.2.40
WP3 Photography
Reply With Quote
  #4  
Old 4th November 2007, 11:22
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,735 Times in 2,571 Posts
 
Default

You can either edit main.cf directly, or use the postconf -e command. Both are ways to achieve the same thing.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Newbie DNS question Upyr Server Operation 12 17th October 2007 05:29
DNS Configuration Problems VMartins Installation/Configuration 10 24th July 2007 14:40
Unable send receive emails vassilis3 Installation/Configuration 15 19th May 2007 14:34
No SPF record. beryl Installation/Configuration 6 17th May 2007 19:52
ubuntu 6.06 dns question jwan Server Operation 4 22nd December 2006 16:16


All times are GMT +2. The time now is 23:10.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.