var sidebar_align = 'right';
var content_container_margin = parseInt('350px');
var sidebar_width = parseInt('330px');
main domain on my server, subdomain on another
hello guys i have a problem.
i saw the other thread http://www.webhostingtalk.com/showth...hreadid=236016 but don't quite understand. I'm a reseller with a server.
My client 's domain.com is hosted on my server. He wants a subdomain sub.domain.com to point to another server without affecting the main domian.com.
I'm using whm and cpanel cpanel doesn't have the capability, so i created another account for him sub.domain.com in whm and "Edit a DNS zone" for "sub.domain.com"
now thats the problem comes in:
1. i'm not sure whether i should be creating another account sub.domain.com or should i edit the dns from domain.com
2. i'm also not sure what to type in the "Edit a DNS Zone" as he only have the IP address (assume 220.127.116.11) and no ns.
so for the "Edit a DNS zone" for "sub.domain.com" i edit to:
Domain | TTL | Record Type
sub.domain.com. 14400 A 18.104.22.168
localhost.sub.domain.com. 14400 A 22.214.171.124
mail 14400 CNAME sub.domain.com.
www 14400 CNAME sub.domain.com.
ftp 14400 A 126.96.36.199
and i click save and:
zone me.aquaterra.com.sg/IN: loaded serial 12345678
Bind reloading on unix using rndc zone: [sub.domain.com]
but when i go to sub.domain.com the page is still the one on my server?? did i do anything wrong alone the way?
Sorry to be abit long-winded and thank you for your time.
you should edit the zone for domain.com and add an A record for sub.domain.com to point to the other servers IP - the other user should be able to give that to you.
create account sub.domain.com on server 2 as a normal account
edit zone for domain.com on server 1
add two NS records for sub as the nameservers of server2