Mobile app version of vmapp.org
Login or Join
Sent6035632

: Multiple shared hosting accounts hosting different subdomains of same addon domain? I have two shared hosting accounts, each with limited storage space: HostingAccountA with 'PrimaryDomainA', and HostingAccountB

@Sent6035632

Posted in: #301Redirect #Cname #MultiSubdomains #SharedHosting #WebHosting

I have two shared hosting accounts, each with limited storage space:
HostingAccountA with 'PrimaryDomainA', and HostingAccountB with 'PrimaryDomainB'.
A negligible amount of storage is being used directly by these primary domains.

If I'd like to create many subdomains of a third domain, 'AddonDomain', but the total required storage space is greater than what is available in a single hosting account -- is it possible to split the deployment of these multiple subdomains across more than a single hosting account?

Specifically, I'd like to add this same domain as an add-on domain in both HostingAccountA and HostingAccountB, and then somehow have it appear as if (in the end, maybe through a combination of CNAME- and/or 301-redirections?):


HostingAccountA host subdomains: 'sub1.AddonDomain', 'sub2.AddonDomain', and 'sub3.AddonDomain'
HostingAccountB host subdomains: 'sub4.AddonDomain', 'sub5.AddonDomain', and 'sub6.AddonDomain'


I realize that the nameservers for the 'AddonDomain' can only point to one of the hosting accounts, but not both. Thus it would seem that in HostingAccountB, subdomains 4, 5, and 6 would have to be created as subdomains of, say, 'PrimaryDomainB'.

Thus my question now becomes: is it possible -- perhaps via some mix of CNAME- and/or 301-redirections -- to have subdomains 'sub4.PrimaryDomainB', 'sub5.PrimaryDomainB', and 'sub6.PrimaryDomainB' appear to the end-user as 'sub4.AddonDomain', 'sub5.AddonDomain', and 'sub6.AddonDomain' (respectively), despite the fact that the nameservers for 'AddonDomain' are pointing to HostingAccountA (where 'AddonDomain' has already been defined as an add-on domain)?

10.01% popularity Vote Up Vote Down


Login to follow query

More posts by @Sent6035632

1 Comments

Sorted by latest first Latest Oldest Best

 

@Heady270

This would depend on what your host will allow. It is certainly possible to point your DNS record for a subdomain to a different web host entirely. In that case you would certainly be able to use a separate account.

You host may or may not have the ability to have two accounts for the same customer and distinguish which one should have which subdomain associated with it. To get further information you would have to ask your web host technical support team.

For a subdomain to be served from a hosting account two things need to happen:


The DNS for that subdomain needs to point to the correct server. You can use either a CNAME or an A record. Whichever your host tells you is appropriate
That server needs to be configured to serve documents for your subdomain. A single server may host many domains and subdomains. Each one must have a "virtual host" configured that specifies where the relevant documents are.

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme