PLEASE HELP: Hot to make web server ?

Discussion in 'Site & Server Administration' started by KingCobra, Jan 8, 2011.

  1. #1
    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.
     
    KingCobra, Jan 8, 2011 IP
  2. atxsurf

    atxsurf Peon

    Messages:
    2,394
    Likes Received:
    21
    Best Answers:
    1
    Trophy Points:
    0
    #2
    Start->AdministrativeTools->InternetInformationServicess(IIS)Manager to configure your webserver
    Install php for windows
    Install mysql
     
    atxsurf, Jan 8, 2011 IP
  3. KingCobra

    KingCobra Well-Known Member

    Messages:
    289
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    103
    #3
    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
     
    KingCobra, Jan 8, 2011 IP
  4. FW-David

    FW-David Peon

    Messages:
    62
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    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.
     
    FW-David, Jan 8, 2011 IP
  5. KingCobra

    KingCobra Well-Known Member

    Messages:
    289
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    103
    #5
    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:
     
    KingCobra, Jan 8, 2011 IP
  6. atxsurf

    atxsurf Peon

    Messages:
    2,394
    Likes Received:
    21
    Best Answers:
    1
    Trophy Points:
    0
    #6
    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)
     
    atxsurf, Jan 9, 2011 IP
  7. rllunzmann

    rllunzmann Active Member

    Messages:
    1,796
    Likes Received:
    9
    Best Answers:
    0
    Trophy Points:
    80
    #7
    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..
     
    rllunzmann, Jan 11, 2011 IP
  8. atxsurf

    atxsurf Peon

    Messages:
    2,394
    Likes Received:
    21
    Best Answers:
    1
    Trophy Points:
    0
    #8
    static ip is usually not necessary as long as your keep your modem always on, so it never has a chance to change
     
    atxsurf, Jan 11, 2011 IP