Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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

2 Answers 2

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

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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