Forum Moderators: buckworks & webwork

Message Too Old, No Replies

Using one account to host multiple domains

domain forwarding dns hosting

         

rickdark

8:43 pm on Sep 22, 2004 (gmt 0)



I am confused about how to have multiple domains on the same hosting account. I don't fully understand all the implications of the domain forwarding/DNS/hosting concept.

I already have one existing domain name that is hosted by another company. I would like to purchase more domain names to use on my main hosting account to provide secondary hosting for other clients. So the domain names I purchase from this other domain provider would not need to be separately "hosted" per se, since they are just forwarding to various directories on an existing account. For example:

Master account is www.example.com
and I buy 3 domain names and have them forwarded like so:
www.joespage.com -> www.example.com/joespage
www.maryspage.com -> www.example.com/maryspage
www.stevespage.com -> www.example.com/stevespage

And of course I would use domain masking, such that to visitors, those three domains would appear to be completely independent web sites. But my hosting account does NOT offer domain forwarding on their end. So would I then be able to use the forwarding service provided by my domain provider for all of my domains, even though those domains are not really hosted? And if so, how do I set this up, and who would provide the DNS?

Please advise, thanks.

[edited by: tedster at 8:56 pm (utc) on Sep. 22, 2004]
[edit reason] use example.com [/edit]

webdude

5:07 pm on Sep 24, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



There are several ways to do this. One would be in ASP. I am not sure of the code, but I have read that it can be done.

go to...
[google.com...]

and click the first result for an example...

Another for IIS 4 and 5 is to use Host Header Names. You can check this out searching for Microsoft Knowledge Base Article - 308163.

On Linux, you can do this via the httpd.conf file.

However, in all the cases above except for the ASP, you would have to have full access to the server. I don't think a hosting company is going to allow multiple sites using any server methods without some extra charges. I may be wrong about this though. It wouldn't hurt to ask.