Professional Documents
Culture Documents
OPTIMIZE
Here are instructions on getting your small business website up and running
with Apache on Linux or Windows.
Apache (http://httpd.apache.org/) is the most widely used web server on the planet -- and with good reason. Not only is
Apache flexible and powerful, but it's also quite easy to get running and to start serving up content.
The idea of using a web server that relies so heavily on the command line and flat text file configuration might be
rather daunting, but it doesn't need to be. I'll walk you through setting up a basic website with the latest iteration of
Apache on Linux or Windows (I'm assuming you have a Linux or Windows machine ready for the task). After you
follow this tutorial, you'll have either a Windows, Apache, MySQL, PHP (WAMP) or a Linux, Apache, MySQL, PHP
(LAMP) server running and a "Hello World" page greeting your users.
WAMP
There are lots of WAMP servers you can install to get your Windows-based Apache server set up, but my favorite is
the
(http://www.wampserver.com/en/)WampServer (http://www.wampserver.com/en/)
To get your website set up and running, the most important information you need is:
Document Root: This is where your website files will live. For the WampServer, these files will be in
C:\wamp\www.
index.html: This is the most basic page for your website and should reside within the Document Root.
By default, WampServer will use the index.php file for its default page. Within the C:\wamp\www directory, rename
the index.php file to OLD_index.php. In that same directory, create the index.html file and put this single line in the
document:
<h3>Hello world!</h3>
Save that file and make sure your WampServer is running. Open your web browser and point it to the address of your
WampServer. You should see the text (in bold):
Hello world!
If you do, congrats! Your WampServer is up and running.
Linux
I'll demonstrate how you can have a full-blown LAMP server up and running with just a couple of commands. For
Bank Rate
Affilicoach
247w allst.com
Editor's Picks
Take advantage of
Google Now on your
Android tablet
DOWNLOAD NOW
WHITE PAPERS // FROM CLEARSWIFT
Subscribe
Week in Review
Subscribe
IT Buying Cycle
Learn more
Discover
Investigate
Compare
Resource Center
Useful content from our premier sponsors
See what best practices for SMBs are emerging. Visit ZDNet today!
Justify
Optimize