Hello,
I am struggling with a site I built & with its setup.
The site is a aCMS and works with 2 subdomains: 'preview' and 'www'. The site was developped so it works from one folder on the server, the subdomain being used to detect which site to display.
The problem I have is that I need to install this site on an ISP server which does not work the same way as my localfolder. With this ISP, when you create a subdomain, it creates a new subfolder where files can be dropped in. So now I have the www/ and preview/ subfolders and that is big issue. And I do not want to duplicate my files.
However I believe it is possible to redirect to folders using .htaccess. Could anyone point me to the right direction as to how to do this?
Thanks