Welcome to WebmasterWorld Guest from

Forum Moderators: phranque

Message Too Old, No Replies

host subdomain to another server

question about www.subdomain

5:01 am on Jan 26, 2010 (gmt 0)

Junior Member

10+ Year Member

joined:Sept 12, 2003
votes: 0

Hi i set up my main domain, domain.com with B hosting company, and created a A record at cpanel, pointing a subdomain to C hosting company.

I added this subdomain into the hosting account with C hosting company.

My website works fine, if i type [subdomain.example.com,...] it goes to C hosting's files.

However, if i type [subdomain.example.com,...] it shows page not found, how should i set it up?


[edited by: buckworks at 5:29 am (utc) on Jan. 26, 2010]
[edit reason] Please use "example.com" - it will never be owned [/edit]

12:44 am on Jan 28, 2010 (gmt 0)

Senior Member

WebmasterWorld Senior Member 10+ Year Member

joined:May 31, 2005
votes: 0

If you want the www.subdomain.example.com working, I think you need a CNAME record for www.subdomain.example.com pointing to subdomain.example.com
You could also do it by creating another A record for the www.subdomain.example.com, but the CNAME is better.

If you are using CPANEL, it will be a link on your control panel called "WWW pointer/ServerAlias"