Virtual Site / Sub-Domains..

Hi all,

I've just ordered my co-located setup, etc.., br running Debian 3, and I was just wondering how I could create a virtual site.. by virtual site I mean like if I have:

my "main" (is that correct terminology) IP as 123.123.123.123, and I have my "main" site on that IP, e.g. www.mycompany.com

and I aslso want to use that IP, as to not use up my other IP's (as I have been leased 4, 1 will be used for my "main" site, and two for the name servers) - how can I go about doing this.

And whilst I'm on the same topic, how would I go about creating a subdomain? - and also so that it is and is NOT accessible by going to:

http://sub.mycompany.com only, and

http://sub.mycompany.com and http://www.sub.mycompany.com respectivly.

Thanks in advance,
Skid.

 

 

 

 

Top