Post: How to make a site on "Localhost" [Noob Friendly]
05-04-2012, 03:50 PM #1
(adsbygoogle = window.adsbygoogle || []).push({}); In this thread I'm going to show you how you can create a fully working Apache server on your PC/Laptop. It's super duper simple and handy, if you ever want to create a dev site or something to work on when you're bored without over people being able to access it. This is for people who don't know much about these type of things, most people know how to do this. But yeah no hattin'.

So first off what your going to have to do if download a WAMP package, like xampp or easyphp. I'll post links to a few sites bellow.

You must login or register to view this content.
You must login or register to view this content.
You must login or register to view this content.

For this thread I'm going to use Easyphp as my example.

After you have installed make sure it is running. Then type You must login or register to view this content. into your browser, this will take you to the easyphp administration page for your Apache server.

It should look like this: You must login or register to view this content.

It's very easy to understand how to use easyphp, it more or less has a step by step guide on this page. Anyway to access phpmyadmin you can either go here: You must login or register to view this content. or simply click the module link at the bottom of the administration page which leads to the same place anyway.

To upload files that can be viewed on You must login or register to view this content. simply go to your installation directory for easyphp, for example mine is C:\Program Files (x86)\EasyPHP-5.3.9\ it will probably be different for you if you use a different version or just chose to install it in a different location. Anyway getting to the point to upload files that can be viewed simple to go the "/www/" folder within the easyphp folder and upload the files/folders. For example if I upload a folder called "test" with the file "index.php" in it I would have to go to You must login or register to view this content. to view that file.

You must login or register to view this content.

You can use to do whatever you like, a vBulletin dev site, script testing, testing deface pages.. What ever you want. As long as the mysql and php version supports what it is you're trying to do.

It's been a while since I've actually done anything with localhost/WAMP etc.. So if I said a few things that didn't quite make sense forgive me, if you have any issues or need any help quote me or private message me and I'll try my best to help.


You must login or register to view this content.
When installing Xampp you will want to click the buttons to install Apache and MySQL. Filezilla is optional, I never really use it but it's up to you if you wish to install it.

If you get an error during installing saying, "Port 80 or 443 is already in use. Installation failed!" then it's probably because you are using Skype.
You can fix it by going to Tool > Options > Advanced > Connection and un-tick the, "Use port 80 or 443 as alternatives for incoming connections" then click save.
You must login or register to view this content.

Once you have installed it, open your Xampp control panel and start the Apache service and mysql service. Then go simply type "localhost" into your address bar on your browser. You should see a Xampp splash screen, if you do then everything has worked so far. Click the country of the language you speak on the splash page to progress to the next page, where it will tell you about Xampp. Down the left you should see tab like links click the link that says "Security" it will show you how to change the default mysql password. Default password and username is root:root I think.

Okay so once you have done all that you can access phpmyadmin here: You must login or register to view this content. if you wish to add databases edit tables etc..

To upload files and folder to access them on the Apache server simple go to folder you installed xampp in, for example mine is C:\xampp\.
To upload files that can be viewed on "https://localhost" simple go to "C:\xampp\htdocs" or whatever your installation directory was. Upload the files/folders you wish to views on localhost into the htdocs folder. So for example, if I uploaded a folder called "test" with a file called "index.php" inside it, I would have to go to You must login or register to view this content. to view the folder.

But yeah that's a very simple way to turn your PC/Laptop into a fully working Apache server with Xampp. You can more or less do whatever you want as long as what you're doing is supported by the MySQL version and php version in the WAMP package. So you could create a vBulletin dev site if you wished, or simple use it to test out scripts.

It's been a while since I've used xampp so if I said to look for things that aren't there forgive me, if you have any problems feel free to private message me and I'll try my best to help you out!



Tutorial written by Sheldon Cooper :fa:
(adsbygoogle = window.adsbygoogle || []).push({});

The following 8 users say thank you to Sheldon Cooper for this useful post:

chris2k7sears, Lovol, Ninja, xRaW, ZoneHD
05-04-2012, 04:47 PM #2
Ameht!
Dark Knight
Thanks a lot for sharing with the community

The following user thanked Ameht! for this useful post:

ZoneHD
05-05-2012, 02:01 AM #3
Default Avatar
x iJB x
Guest
Great tutorial, will definitely help people who'd like to begin programming and coding with web elements, but don't have a server.
05-08-2012, 12:53 AM #4
This is actually quite useful and I'll try this later. +rep for you :fa:

What if you portforward that port and make it accessible to the internet? :|
05-08-2012, 12:34 PM #5
Originally posted by Ninja View Post
This is actually quite useful and I'll try this later. +rep for you :fa:

What if you portforward that port and make it accessible to the internet? :|


If you have then xmapp gives you an option to put a htaccess on your web directory :p

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo