2

I want to know if this is still possible.. How can i point my subdomain from one server (server A) to another (server b) if server b does not have a domain yet, only server hosting.

Basically what i'm doing right now is add A Record from server A DNS and point it to server B IP address. Can I add that same subdomain record on server B for then?

Confused.

1
  • 2
    The question is very confused, with a lot of strange vocabulary (what is "pointing a subdomain from a server"???). Is Chris Thorpe's rewriting correct?
    – bortzmeyer
    Feb 3, 2010 at 9:46

3 Answers 3

4

If I understand your question correctly, your infrastructure looks like this:

In this instance, you need to create an additional CNAME record subdomain.yourdomain.com and point it at ServerB-IP like the original A record.

Then on IIS on Server B, you need to configure it to serve a different site depending on the Host Header Name. See the following link for a full explaination:

http://www.microsoft.com/technet/prodtechnol/WindowsServer2003/Library/IIS/b77cf015-017f-489c-9b5b-65ca4a679392.mspx?mfr=true

Apologies in advance if I've guessed incorrectly, and you're not in a Windows/IIS environment.

There's another guide for this here:

http://content.websitegear.com/article/subdomain_setup.htm


If I've misread your question and your website is currently hosted entirely on Server A, but you want only a specific subdomain to redirect to server B, then you need to create a second A Record, and set it to subdomain.mydomain.com pointing at the IP for Server B. Then you install IIS on Server B and setup the subdomain web content.

7
  • I apologize if i got you guys confused on this as i am not so familiar with these thingy. 3 servers : - SERVER A is a hosting server. - SERVER B is a DNS server - SERVER C is another hosting server (IIS Server) * SERVER A holds the main website pages (e.g. www.isolutions.com) * SERVER B contains DNS records that points to SERVER A - SERVER C does not have any domain name registered yet so it is just an IP address. I wanted to make a subdomain for isolutions.com we call it bankin.isolutions.com and this time have it point to SERVER C instead. SERVER C is a windows server.
    – jan
    Feb 4, 2010 at 7:52
  • 1
    Gotcha jan ;) You need to create a CName record on SERVER B for 'bankin.isolutions.com' which points to SERVER C IP address. No domain registration is necessary for a subdomain, if you already own the parent domain name. Feb 5, 2010 at 6:58
  • thanks chris! im with asiaregistry.com as my dns provider now the problem is when i add a cname record it asks for host and a hostname it wont let me enter an IP address. and i can't put any hostname because they don't have a domain... or am i doin something else wrong?
    – jan
    Feb 6, 2010 at 17:43
  • hostname should be 'bankin' or the fqdn bankin.isolutions.com Feb 7, 2010 at 1:06
  • i'm putting host: to be the IP address and the hostname to be bankin.isolutions.com i hope I am doing it right. thanks chris! i will check on it after a few days.
    – jan
    Feb 7, 2010 at 6:03
1

It's pretty straightforward really, you just need to a new A record for the domain at your domain registrant. I am using GoDaddy, so this is how it worked for me:

  1. Log into account
  2. Open the Domain Manager
  3. Click the domain you are working with
  4. Click "Total DNS Control and MX Records"
  5. The first group in this area should be A (Host), on the top right of this bar, click Add New A Record
  6. Enter the host name, in my case it was "test.knowaptitude.in"
  7. Enter the IP address of the server you wish to point at.
0

Yes, you can do that if you know the DNS settings of your server b.

1
  • i have access to the dns settings of server b. its in asiaregistry.com the thing is i have added already an A record that points to server c but i get dns unresolved name error... what do i have to do next?
    – jan
    Feb 4, 2010 at 11:27

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .