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.

link|improve this question

57% accept rate
feedback

2 Answers

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

link|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
feedback

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.

link|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
feedback

Your Answer

 
or
required, but never shown

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