Personal Windows Server Setup Tutorial for Beginners

At present there are hundreds of CMS (content management system) used by millions of site on the net. Most of them are free. To start one on your site you first need to work with them. Another more important thing, before crafting your art on the real one, if you can made a test and feel how it looks, it will be more professional. But learning a CMS like WordPress or Joomla is not like learning a program from your system. Because they can be run on servers having some required specification. For instance WordPress requires:

  • PHP version 5.2.4 or higher
  • MySQL version 5.0 or higher

If your server has this specification then you can run WordPress 3.4.2 properly. To learn it don’t thing to install it on your business server. Learning over the net will cost you a huge amount of data, money and time depending on your net speed.

On the other hand, if you use your own PC as a server to install different scripts then no data, time and money will be wasted. This is the basic cause why we detailed a server setup tutorial here. Besides you can also set up a static website as well as dynamic website. You can host as many separate sites as you wish.

Benefits of a Personal Server:

After setting up a personal server you will have these benefits:

  • You don’t need an internet connection to access your server
  • No resource limit like free servers
  • You can host different scripts at a time on it
  • Design your site and feel it in real time
  • Go to every corner of your site without any risk

So if you want a freedom server, follow this portable server setup tutorial.

Step-1: Server setup Tutorial: Download

There is a lot of ways to use your PC as a server. We will use portable XAMPP installer here. It is very easy to run, doesn’t require installing and doesn’t make any system change. First download the portable 7zip or zip archive file from Apache Friends. Then extract it anywhere in your local disk. In folder XAMPP you will find some files & folders. First find setup_xampp.bat and run it. Do as it says, it will close then.

XAMPP Server Setup Tutorial

Setup of XAMPP is done. Now run xampp_start.exe and minimize the window. Select unblock if firewall blocks. XAMPP is now running in your system. Open browser and go to http://localhost. You will see a page appears and then set your language. After that welcome home screen of your XAMPP server comes like the snap below.

Windows Server Setup Tutorial

The left side navigation will help you to go several sections of your server.

Step-2: How to Host a Site on your Server

There is a folder htdocs in folder xampp. This is the root of http://localhost. You have to create a new folder and put your files to there to host a site on localhost.

For example, if you create a folder blog in htdocs put all files there you can access this site from http://localhost/blog. This is the address of your new site. You can host as many different sites as you wish on localhost. Just create a different folder, put your files and locate the name after localhost from your browser.

Step-3: How to Setup a MySQL Database

Most of the CMS requires a MySQL database to store data. There is a file passwords.txt in folder ‘xampp’ where you will find username & passwords for different apps of your server such as phpMyAdmin. If you want a new database to use in any need, here are the steps to follow.

  • Go to http://localhost then phpMyAdmin.
  • Click on ’Database‘ tab.
  • In the box below the text ‘Create database Documentation’ put a name for new database.
  • Keep the one to Collation; then click Create.
  • You will see your new database name in the list.

To install WordPress on your Computer click here for a step by step guide.

Tagged , . Bookmark the permalink.

Leave a Reply

Your email address will not be published.