Should You Host Your Own Site?

It’s definitely worth thinking about getting a cheap hosting plan elsewhere, likeBluehostorHostgator.

If you just want a local development server, then keep reading.

Beginner Geek: How to Host Your Own Website on Windows (WAMP)

What is “WAMP”?

WAMP is an acronym that stands for “Windows, Apache, MySQL, and PHP”.

When you download a WAMP, you are just downloading a program that installs three different things.

img_550d6f5a75428

Otherwise, you’d have to download the three packages separately.

Apache- This is the program that is used to actually host your website.

With it alone, you might host HTML files and other static web content.

Article image

MySQL- This provides a database for your web content.

A lot of dynamic web pages need to store data (i.e.

usernames and password for web accounts), which is where MySQL comes in.

/wordpress/wp-content/uploads/2013/12/2-explorer.jpg

PHP-The most popular languagefor writing dynamic web content - by far.

WordPress, Facebook, Joomla, and many other websites and content management systems utilize PHP.

If you plan to host anything more than static web pages, PHP will be an essential companion.

/wordpress/wp-content/uploads/2013/12/3-firewall-exception.jpg

If you’re running Linux instead of Windows, you’ll need toinstall a LAMP.

Installing WAMP

There are a lot of WAMP programs available, but we’ll be working withWampServer.

Head over to their website and download the latest version of their program, then start the installation.

/wordpress/wp-content/uploads/2013/12/4-notification-area.jpg

The installation prompts are self-explanatory; just keep everything at its default value and keep clicking Next.

You should see the program running in your notification area.

If you see this screen, then you’ve successfully installed a WAMP server.

/wordpress/wp-content/uploads/2013/12/5-first-test.jpg

By default, your website is currently only accessible by the computer that WampServer is installed on.

Access httpd.conf (Apache configuration file) by left-clicking the WampServer menu and looking under the Apache folder.

Your site should now be accessible from the World Wide Web.

/wordpress/wp-content/uploads/2013/12/6-www-directory.jpg

If not, ensure that you haveforwarded port 80 to your computeron your router.

/wordpress/wp-content/uploads/2013/12/6.1-php-file.jpg

/wordpress/wp-content/uploads/2013/12/7-put-online.jpg

/wordpress/wp-content/uploads/2013/12/8-httpd.conf_.jpg

/wordpress/wp-content/uploads/2013/12/9-restart-all-services.jpg