Click to See Complete Forum and Search --> : PHP and Asp Host?
blis102
09-12-2007, 02:22 PM
Hey All,
Does anyone know of a good web host that can do both ASP and PHP (and mysql) on the same server? I know its sort of a weird request but its required for a project I'm involved with currently (Front end is PHP and store is in ASP).
I'm assuming it would be a Windows machine with integrated PHP support, but my knowledge of hosting only goes so far...
Any leads would be great!
Thanks!
ArthurKay
09-12-2007, 05:22 PM
I do know that Windows machines (which run classic ASP) can be fitted to run PHP, I think, by partitioning the drive to create a virtual server.
As for hosting companies that do this... you'll probably have to call around and ask.
Two questions: 1) have you asked your current host, and 2) why not use separate machines and alias the urls (yourdomain.com and store.yourdomain.com)? Your network administrator or hosting company should be able to set that up...
blis102
09-12-2007, 08:49 PM
Hey AK,
Thanks for the response. My current host, and my clients host are solely linux/pc hosts respectively. The clients host is outdated and has poor products and services. We are looking for a new Windows host that can do both, or find some other means to achieve the same thing. The problem is that the store is in a folder on the site (eg: www.example.com/shop/) so the sub domain thing wont work, but if you can think of a way to do this, please let me know, I would be in your debt.
Thanks again,
blis102
Fatal Error
09-13-2007, 10:32 AM
I think there might be a way to have a sub directory of a site point to a different server, meaning you could have example.com and example.com/shop/ be on 2 different servers, but I'm not sure how you would accomplish that...
blis102
09-13-2007, 12:32 PM
Fatal,
Thanks... now if i could only find a way to do it :)
You could register for a "vanity" domain (http://en.wikipedia.org/wiki/Vanity_domain), which is similar to a subdomain, however this section of the site doesn't have to reside at the same IP address.
eg. http://store.example.com
KDLA
felgall
09-13-2007, 05:13 PM
There is a version of ASP that can be installed onto Apache and which can therefore run on web hosting that also has PHP installed. Since Apache can run on both Windows and Linux this gives you all the possible combinations of operating system/scripting language you are likely to want.
I don't know of any hosting provider that provides both on the same hosting space though - but there must be some. It may be a lot more expensive than other hosting since they need double the staff to support both scripting languages properly.