Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

My main domain (example.com) sits on a server with IP address 1.

I need to have a subdomain (forum.example.com) pointing to a server with IP address 2.

Both servers are hosted at iWeb, so I have a cPanel interface to manage them, but I can't find the right way to do that. I tried a .htaccess redirection, which works, but the visible address in the browser changes too.

Any help on how to do this would be appreciated.

share|improve this question

closed as off-topic by HopelessN00b, Jenny D, MadHatter, ptman, masegaloeh Feb 23 at 18:47

This question appears to be off-topic. The users who voted to close gave this specific reason:

If this question can be reworded to fit the rules in the help center, please edit the question.

up vote 1 down vote accepted

In common cPanel you can find the Simple DNS Zone Editor ! It allows you to enter Autoritative records for your domain name.

Redirects mysubdomain.mydomain.net to 128.128.12.12 : alt text

share|improve this answer
    
Thanks, that works! Now, right now, on server2, my account is IP_ADDRESS/~forum1 . Do you know what do i have to do in cPanel so that forum.example.com points to the ~forum1/ folder? – pixeline Apr 8 '10 at 16:24

I'm not familiar with iWeb but you should just be able to set up another A record for forum.domain.com to point to the ip address 2.

i.e. you need to set this up in DNS.

share|improve this answer
    
+1, right answer. Shouldn't have anything to do with your host, only with your registrar. – Satanicpuppy Apr 5 '10 at 21:49
    
thank you, your answer helped. I had to vote the other answer as the best one since it answered specifically for cpanel. I've +1-ed yours though. – pixeline Apr 8 '10 at 16:39

Not the answer you're looking for? Browse other questions tagged or ask your own question.