Rewards1 Forums

Rewards1 Forums (http://forums.rewards1.com/index.php)
-   Guides (http://forums.rewards1.com/forumdisplay.php?f=26)
-   -   Setting Up a Personal Web Server (http://forums.rewards1.com/showthread.php?t=67114)

LSWTMP 04-26-2011 07:58 AM

Setting Up a Personal Web Server
 
How to setup a personal web server

Prerequisites:

Download the Uniform Server Package:
Website link here: http://www.uniformserver.com/
Download link here: http://sourceforge.net/projects/mini...1.exe/download

Let's get started:

Brief Intro:
Since you're reading this, I'm going to assume you are either wondering what in the world I'm talking about; interested in doing this yourself; or know exactly how to do stuff like this and are just going to read it anyway.

(for those of you who don't know, a web server is what hosts each individual website you visit on the internet, and that's in simple terms ;) )

Basically my whole point in doing this is to help out those who have always wanted to host their own website. Now don't go around thinking you'll be able to host some mega-site, because to be honest, while computer may be able to handle it, your ISP may not like it so much; so plan on a relatively small scale, or check with your ISP first; of course, you'll need a dedicated server for that (mega-site) though (or two or three).

Step 1:
Assuming you have downloaded the Uniform Server Package as already directed, go ahead and run the executable.

Step 2:
Change the 'Extract to:' path to 'C:\' (assuming 'C' is your drive letter). You can change the folder name and path if you like;however, for best compatibility, I'd recommend that the path has no spaces in it. The extraction process will extract everything to a new folder name 'UniServer', so in the end, the folder path is actually 'C:\UniServer'. IMAGE

Step 3:
Pretty easy, just click the 'Extract' button to extract the contents to the predefined folder. IMAGE

Step 4:
Navigate windows explorer to the 'C:\UniServer' folder and run the 'Run_pre_check.exe' file. You should get a window like this: IMAGE

If you don't, then that means another program is using the required ports and your web server will not function properly. If you have Skype or a similar program that utilizes port 80, then you'll need to close it out while running the web server. If you absolutely must have both running/working at once (skype and the web server), then you'll need to change your server ports (or your other app's ports).

Step 5:
If your ports are clear, and you're ready to move on, let's get that server going. Just double-click the 'Start.exe' file, and you'll get a window like this: IMAGE

Click 'OK' and then find the icon on your taskbar that looks like this: IMAGE

Left-click the icon then click 'Start UniServer (Apache MySQL)'. IMAGE

Your web browser should now open up to the default file in your web directory. IMAGE

Step 6:
Drop your website files in the 'C:\UniServer\www' folder and refresh your webpage or re-open it by going to 'http://localhost'. If you see your website or test files, then congratulations! Your web server is now up and running! =D IMAGE

Note:
This is the first part to this guide. I will be posting the rest (how to setup your server for external access, along with any other related material) in the next post.

LSWTMP 04-26-2011 07:59 AM

Part 2: Setting up external access and other related material
 
RESERVED
See above post

Blockis 04-26-2011 01:06 PM

For Macs, check out MAMP. Really simple.

Blockis

LSWTMP 04-26-2011 05:14 PM

Quote:

Originally Posted by Blockis (Post 795661)
For Macs, check out MAMP. Really simple.

Blockis

Cool. I don't own a Mac, so I wouldn't know. Seems to have even more features built-in too. (then again, Mac's always seem to) Thanks for posting, I'm sure it'll help someone out. =)

Blockis 04-26-2011 05:49 PM

Well, I've only messed with the standard settings, never added MySQL or anything.

Blockis

LSWTMP 04-26-2011 05:51 PM

Never messed with MySQL? o_0
What kind of web dev are you?
Lol, jk =P


All times are GMT -8. The time now is 02:05 AM.

Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.