bind + apache question

I have a question about bind and apache

is there a way so that any_sub_domain.domain.com will go to a certain apache virtual server

like

sub1.domain.com
sub2.domain.com
sub3.domain.com
sub4.domain.com
sub5.domain.com

all go to a certain apache vistual server.

BUT, without making seperate A records for each in BIND, and without making url aliases in the apache server

basically i want to offer a redirect service on my site, where they can have username.domain.com point to their site. Then have a php page on the virtual server which will detect the url, and open the correct url within a frame.

Hope you understand what i mean

// PS, no cpanel installed.... im editing everything via the config files

Thanx in advance

Matt.

 

 

 

 

Top