Koozali.org: home of the SME Server
Legacy Forums => General Discussion (Legacy) => Topic started by: John on June 07, 2002, 05:47:33 AM
-
I'm not sure if this is a feature or I have to create this in index.php (write code). Please bear with the question.
I would like to redirect a virtual domain to another area.
eg a.domain.com and b.domain.com
a.domain.com runs the default page whereas when b.domain.com I would like to redirect it to a.domain.com/new_area.
In Windoze I can easily setup in IIS manager to redirect based on name.
At the moment if I select b.domain.com it defaults to a.domain.com.
Thanks.
-
in the b.domain.com html folder create a file called index.php
and use the php function header to redirect the browser.