I bought a domain from GoDaddy. Let's call this domain abc.com
.
I've a hosting account at web hosting A with abc.com
as my primary domain.
I created a sub-domain pic.abc.com
and I wish it to be pointed to my new hosting account.
This web hosting B also uses abc.com
as the primary domain.
The main purpose of doing this is because I only want to use web hosting B to host my pic.abc.com
contents. That's all. Other content from *.abc.com
and abc.com
will be remain at web hosting A.
How to do this?
Additional notes...
I tried to add
pic.abc.com
as an add-on domain to my web hosting B account. Unfortunately, I couldn't do that.I also tried to use URL forwarding method using DNS management service like DNS Social. It doesn't work.
I'm using WordPress on the
pic.abc.com
site. Both web hosting A and B running cPanel - Apache servers (shared hosting).
A
records (orCNAME
records for that matter) won't work by itself. There needs to be something setup (ie. the subdomain) at Host B, but the main domain (abc.com) points to another server. I'm thinking that maybe Host B should be set up initially to usepic.abc.com
and not simplyabc.com
, since that already points elsewhere. (?)