How To Create Web Server On PC, The Fast Way

Advertisement

Every blogger should have a test site. I have 5, (3 online 2 offline/localhost). Why test site, some may asked. Test sites allows you to put your website (whether it is a blog, forum, CMS, etc) to a test and experiment it locally (even if you are offline) with new plug-ins/themes so you don’t have to interrupt your on-running live site all the time. Click to skip if you already know about Apache web server.

A little background information..

How do you achieve test site on local PC and make sure it react exactly like your pay hosting? Before I start writing mine, I checked out Wiki-How just to make sure the end results of theirs and mine will still be the same.

Wiki-How break the installation of web server into 4 parts, the installing of

  • Apache Webserver
  • MYSQL
  • PHP Engine
  • PhpMyAdmin

A little intro for those who are unsure of that these are. I’m trying my best not to sound too technical, so here goes. Apache webserver is the things that runs your dynamic website; You’ll need MYSQL if your website keeps data/record in database; PHP Engine lets you run PHP scripts on your webserver; PhpMyAdmin interact with MYSQL so you can update your database records.

With the traditional way, these four components will have to be downloaded separately and configured and link properly if order to achieve “Localhost”. That is tedious for novices.

Creating webserver on the fly

First and foremost, download Reactor Server. Reactor Server is a one-click-installation that will configure all these 4 components for you.

Once the .exe if downloaded, double click to launch it. Keep hitting next until you reach the installation of files. Once installation’s done, Reactor icon and folder (see left) will be created on your desktop. Double click on Reactor Server icon, click on Start Server and basically that’s it! Your local webserver is up and running.

Reactor Server comes with OpenSSL, Zend, PhpMyAdmin, Php-Nuke, Zina, Apache, PHP, Perl and MySQL preinstalled.

By default, PHP-Nuke CMS will appear when you clicked Localhost or type http://localhost/ in your browser. To remove PHP-Nuke, simply delete all files inside Desktop\Reactor\Core\htdocs\. Remember, whatever files you put inside \htdocs will be accessible as web pages.

Example
\htdocs\index.html = http://localhost/index.html
\htdocs\mywebpage\index.php= http://localhost/mywebpage/index.php

Related Contents

Sponsors

Posted by hongkiat in Web Tricks , at 02.13.07

Comments

  1. CincauHangus February 13th, 2007

    I use WAMP (http://www.wampserver.com)

    WAMP stands for Windows, Apache, MySQL, PphMyAdmin.

    Too bad we won’t see an IIS in any of these softwares..

    Reply
  2. CincauHangus February 13th, 2007

    Oh ya, I occationally use MySQL Adminstrator to configure MySQL as well… very simple to use GUI and it’s much more powerful tool compared to phpmyadmin.

    but of course, it’s an application.. not a webapplication..

    Reply
  3. hongkiat February 14th, 2007

    Cincaul: Yeap, thanks. WAMP is nice. Just tried it. Don’t think we’ll see IIS in these softwares. Hmm, isn’t Windows CD comes with IIS? I’ve been using phpMyAdmin since I don’t know when. That’s perhaps they are the only php< ->mysql web application OS independent.

    Reply
  4. kubus February 17th, 2007

    Looks nice.

    So how do you create an actual website, as in with a domain such as “www.namehere.com” ????????

    Reply
  5. hongkiat February 17th, 2007

    Easiest way is to sign up with a web hosting website. They will register and have everything done for you.

    Reply
  6. Davey February 19th, 2007

    Pretty good tutorial.

    Q.

    So how do you create an actual website, as in with a domain such as “www.namehere.com” ????????

    A.

    The way i did it was with everydns.net, add the domain, then add an A record pointing to your IP address, oh and make sure to create a CNAME. host http://www.yoursite.com -> yoursite.com

    Davey

    Reply

Leave a reply