Redirect a subdomain to a different ip address.

I'm not sure if this is the right place to ask, but I'll give it a shot.

I have a hosted website and a private server that I would like to share the same domain name in a way.
When people go to I'd like it to go to the webserver and I set up a subdomain with the ip address for the private server as the redirected address so that I can go to 2066 and connect with a telnet session on port 2066 on the private server. But it doesn't seem to be forwarding it.

I don't have full access to the server as it's a hosted web site, but I have access to the cPanel (10.8.1) and can set up subdomains.

Any help would be appreciated! Am I barking up the wrong tree? trying to do something I can't?
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

You would need to do this on the DNS level.  You can't set it up like a regular HTTP redirect and expect it to work with non-HTTP requests  If you aren't running the DNS servers that handle your domain, you would need to contact whoever is running them (your hosting company, probably) and ask them to set your sub domain to point to the private IP address.

Hope that helps! ;)

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Tomeeboy is absolutely correct, you need to modify the DNS zone records for your domain.  Not all registrars or hosting companies will let you do this.  However, (one of the biggest) will allow it through their "Total DNS Control" tool.

If you aren't using godaddy as your registrar, then I'd recommend switching to them.

If you haven't mucked around in DNS records before, you may want to do some reading about 'A records' and 'cnames'.  I use one 'A' record for my website that points to my hosting provider.  So it looks like this: "Host: @  Points To:  TTL: 3600".  Then I have a CName that goes to another machine, for example, "CNAME: news  Points To:  TTL: 3600".

Now '' goes to my website, but '' goes to CNN.  More importantly, if you telnet to it is exactly the same as telnet to

GizaAuthor Commented:
Thanks for the help guys
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Web Development

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.