Page 1 of 1

Is it possible to redirect user base on subdomain?

Posted: 08 Sep 2011, 02:28
by commonjunks
Hi,

I am planning to buy Imagevue and would like to know if it is possible to redirect user to different content folder base on subdomain?
Lets say www.mygalary.com have contentfolder=\ but if a user use maco.mygalary.com then can system use contentfolder=\macro?

I was planning to let users use my site for free and upload their images but they should be able to create unique subdomain and use same imagevue hosted on mygalary.com.

Don't know if my question made any sense or not but will appreciate any help.

Regards,
CJ.

Re: Is it possible to redirect user base on subdomain?

Posted: 08 Sep 2011, 13:09
by Nick
The easiest way would be to put a few index.html files into each of the subdomains with the following content:
Code
<meta http-equiv="refresh" content="0;url=http://gallery/#folder">
So they will take care of redirection.