Forum Moderators: phranque
I have a website running on f.e. www.domain.com which is running on IIS.
I want to switch this website to Apache (because the need of mod rewrite-support)
Switching to Apache is easy BUT...
I have several subsites running on www.domain.com/site1, www.domain.com/site2 etc...
and the most annoying part is that those sites in the subdirs are using Coldfusion (on IIS)
Is it possible to transfer my 'main' site to Apache and leave the other sites running on IIS because they need Coldfusion support?
Am I stuck with IIS/Coldfusion for those sites? If it's possible, please advise what to do. I really have no clue how to fix this.
Thanks.
Regards.
Do these sites have their own domain names, or do you actually use the "www.example.com/site1"-style URL to access them?
If they have their own domain names, or even just their own subdomains of example.com, then this is a simple DNS change.
If you are really using "www.example.com/site1"-style URLs to access these 'sites,' then you might as well register another domain name and move either the main domain or the other sub-sites to a new domain; It will be impossible to permanently separate these 'sites' if they are all on the same domain -- You'd end up having to proxy requests from one server to the other server forever, which is unnecessarily complicated and inefficient at best. Alterntely, you can move these sites to their own subdomains of the main domain, and then break them up across multiple servers using DNS.
The 'cost' of doing this will be a temporary loss of search engine ranking, and best results will be obtained if you can get most of these sites' back-links updated to point to the new domain or subdomain.
For future projects, I strongly suggest using subdomains instead of subdirectories; This makes moving a given subdomain from one server to another a simple matter of updating your DNS Zone file.
Note that if you opt to redirect from one or more old domains to a new domain or subdomain, or to set up one or more old domains as proxies for the subdomains or domains on the new server, you may need to look into purchasing ISAPI Rewrite, the IIS equivalent of Apache mod_rewrite. The code to redirect from the old host or to proxy through the old host will need to be implemented on the old host itself. Therefore, these questions will be about IIS, and not about Apache.
Of course, having purchased ISAPI Rewrite, you may not need to move to Apache after all. But I imagine you won't enjoy paying for something in IIS that comes built-in on Apache... :(
Jim