I have a dedicated pc (usa based) with the following configaration (please see the image) http://img703.imageshack.us/img703/5935/configy.jpg My plan is live audio streaming from here. (i have only one drive c There is a dir "c:/inetpub/wwwroot" If i put a audio file inside wwwroot folder then I can stream it. If i put a html file then I can browse it (like http://_my_server_ip/radio.html) (only html file ork on browser) PROBLEM: Actually I want that pc to make complete web server so that I can run php files and connect with mysql database. I thik I have to setup Apache, php, mysql etc. But I dont know how to do that. Some one please help me.
Start->AdministrativeTools->InternetInformationServicess(IIS)Manager to configure your webserver Install php for windows Install mysql
atxsurf , Thank you for your reply. Actually I am new in server setup. I have already a directory ".../inetpub/wwwroot" in c: If I browse my domain (ex: www.mynewsite.com) then it display files from that wwwroot folder. If I install Apache, PHP, Mysql then where they will be installed? What will be my host directory? Would you please tell me step by step (if you have time) I will greatfull to you. Thakn you
Have you tried going with the much cheaper and easier solutions online? There's a few places that offer an offsite server so that you don't have to run the hardware in your home/office.
In my personal pc I use XAMPP and I can run php with mysql. There my url is http://localhost/anydir If I setup XAMPP to that pc then is it possible to access using my domain (ex. www.mynewsite.com)? If yes, then what happen about wwwroot dir that is previously located on c:
for apache on windows you specify where your web root directory is going to be (at least I did). If you install apache but already have IIS listening on port 80, that will be a problem (you will need to disable IIS or change it to another port where it won't interfere)
You don't necessarily need Apache for what you need to do. IIS may work just fine. Has your ISP issued you a static IP to your home? That's one of the first steps or necessities of having that PC become a web server. Although, your ISP may only have a handful of IP's in the pool that are generated to you dynamically and this can vary, such as powering off/on your modem may initiate a new IP or over time too. After you have configured IIS, you'll want to create a new website underneath the root directory and then you can modify the homepage and physical path, etc.. You might be better off following a tutorial on the web somewhere vs. comments from here because you may only get confused from different setup routines and advice..
static ip is usually not necessary as long as your keep your modem always on, so it never has a chance to change