Post: [TUT]How to turn your computer into a webserver-Windows
08-09-2011, 02:59 AM #1
Pedo Leader
I’m too L33T
(adsbygoogle = window.adsbygoogle || []).push({}); Hello everyone, this is my tut on how to make your workstation a webserver, this is mainly for practice purpose so you can test your html,php,java and many other scripts.
Okay so first of all, we need to download apache, apache is a software that will aid us in turning our computer into a webserver.
This is the download link for the latest version of apache at this time of writing.


    
[color=#1E90FF]https://httpd.apache.org/download.cgi#apache22[/color]

This is the download for windows, i will advise you to download Win32 Binary without crypto (no mod_ssl) (MSI Installer).


Installation
1. Once your download is done, run the program, it should open up this screen You must login or register to view this content.

2. (optional) Read the little write up at the third 'Next' it will help you better understand what apache is all about.

3. You will come to this screen You must login or register to view this content. just fill in some sample values, you can follow my template although it is not neccessary. Note: you cannot create a domain just by typing it in. For the domain to work, you must already have it registered and set up to point at your computer.

4. I would recommend you choose to install apache on port 80, this installs it as a service and apache will start everytime you turn on your computer, you might get a warning about a firewall conflict with the web server if you have a firewall set up, in this case, i recommend only using your service as localhost and firewall the server completely.

5. Choose typical installation You must login or register to view this content. and install it to your computer You must login or register to view this content. it may ask for elevated privileges but don't worry, it's normal.

6. If the installation was successful, you should see this screen You must login or register to view this content. you will notice a new program in the system tray, double click on it. A screen like this You must login or register to view this content. should pop up, this is the window you will use to restart your web server, you need this when working with your language of choice, y'know php, javascript, html...the sorts.

Testing
1. Type localhost in your browser, notice i did not add any .com or .net to it, if you see You must login or register to view this content. then you suceeded, now you can go have a chug party.

2. If you don't see 'It Works!' Then don't fret yet, there's still hope, type 127.0.0.1 into your browser, Voila!

3. If it still doesn't work, try going through all the steps again and see what you did wrong, if it still doesn't work, try using google to help you.


It took me a while to write this so please don't put it on any other website.
08-09-2011, 03:06 AM #2
Pichu
RIP PICHU.
Can this give a custom domain?

Copyright © 2024, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo