Page 1 of 1

Help needed regarding Dynamic Subdomain creation for my site

Posted: Fri Nov 11, 2005 5:33 am
by swishdina
Hi,
I am dinakaran, I am very happy to post my doubt in this webmasterworld.com since this site cleared of many doubts.So, I hope i can get the correct solution for my doubt posted here.
My doubt:
I want to create the subdomain for my site which is in linux server.for eg.,

subdomain.sitename.com (dynamically i have to create using PHP)

the url must show like this and redirect to the folder nameds subdomain.please anyone help me to create the subdomain like this. If you provide the step by step procedure it will be more helpful for me.

I am waiting for your reply,

Thanks
Dinakaran

Posted: Fri Nov 11, 2005 9:08 am
by AbsoluteBreeze
You will need to create a wildcard DNS record (your host might/need to do this for you)

And then use a redirector via .htaccess