1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

web server advice

Discussion in 'Web Development & Web Hosting' started by twizzle, Feb 6, 2009.

Click here to banish ads and support Certforums by becoming a Premium Member
  1. twizzle

    twizzle Gigabyte Poster

    One of my work collegues wants to setup an in house webserver for testing. He wants to use it for testing website html and php code we're working on.

    What he wants to know is what do we need to set this up? Apart from the obvious liek a PC!
    Whats teh bestter OS for this Linux or Windows, does it need to be server based? Would it be an idea to install and run Apache or is that too much?

    This is only for basic PHP coding and we design, nothing too fancy, just to test before we put it live.
    Certifications: Comptia A+, N+, MS 70-271, 70-272
    WIP: Being a BILB,
  2. dalsoth

    dalsoth Kilobyte Poster

    Either Linux or Windows i would say and run Lamp (Linux) or Wamp (Windows) for the apache and php side of things. Should be up and running in 5 minutes rather than messing about with configs in the full apache for the next week :p

    That's how i would do it anyway if it is just a test server to mess about on.
    Certifications: MCSE, MCP, MCDST, MCSA, ITIL v3
  3. wagnerk
    Highly Decorated Member Award

    wagnerk aka kitkatninja Moderator

    I would use a Windows based machine, as you can get/use php, apache, IIS, etc on a Windows box. I don't believe you can get IIS on Linux??? But I maybe wrong.

    Why Windows? Just personal preference :)

    However you may want to test it on a similar box to what it's going to be sitting on when live :)

    Certifications: CITP, PGDip, BSc, HNC, LCGI, PTLLS, MCT, MCITP, MCTS, MCSE, MCSA:M, MCSA, MCDST, MCP, MTA, MCAS, MOS (Master), A+, N+, S+, ACA, VCA, etc... & 2nd Degree Black Belt
    WIP: MSc in Tech Management
  4. soundian

    soundian Gigabyte Poster

    You don't need a server for HTML files but you do for PHP, it being a server side language.
    Linux distros normally come with Apache but if you're already using windows stick to that.
    Try looking for AMP packages (Apache, Mysql, PHP) that will self-install all three components.
    Certifications: A+, N+,MCDST,MCTS(680), MCP(270, 271, 272), ITILv3F, CCENT
    WIP: Knuckling down at my new job
  5. westernkings

    westernkings Gigabyte Poster

    Wamp is the easiest way of doing it, but if you're going to be using a proper server then you best get used to to setting up databases and whatnot and IIS.
  6. supernova

    supernova Gigabyte Poster

    I only really use LAMP based servers for websites and webapps, however, i often carry out development on a windows box.

    I tend to use XAMPP from Apache Friends as it takes only a minute to install and set-up a Apache,PHP, MYSQL test bed on a windows machine.

    I then edit my hosts file to set-up a host/domain name to point to my localhost, just for local usage and testing without messing up DNS or live sites etc.

    It takes a little more effort to add virtual domains for multiple website/projects and also into install PEAR addons but it is documented if you google for it.

    However, i am probably going to find a small micro distro of linux to run as a VM something like Arch Linux, possibly even with XAMPP for Linux
    Certifications: Loads
    WIP: Lots
  7. BosonJosh

    BosonJosh Gigabyte Poster

    What platform will the code be deployed on? I always try to test my code on the platform on which it will ultimately be running. If that's not an issue, I'd use whatever platform you're most comfortable with. As the others have mentioned, there's plenty of resources for using either Linux or Windows.
  8. twizzle

    twizzle Gigabyte Poster

    At the moment i've plumped to use WAMP as it seemed straight forward enough for testing. If i can get to use this at work then my collegue can at home as well. As we're both going to be doing things in PHP now, it makes some sort of sense to use the same thing.
    Certifications: Comptia A+, N+, MS 70-271, 70-272
    WIP: Being a BILB,
  9. Gav

    Gav Kilobyte Poster

    Install CentOS and install LxAdmin Host-in-a-box or whatever it's called. It should install everything you need (e.g. apache, sql, php etc) and give you a nice panel to manage it.

    Alternatively, I think 'Webmin' does the same thing.

    You don't have to install a panel but it makes life so much easier as it automates most of the tasks.

Share This Page