Beginner's Quick Guide: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
No edit summary
Line 1: Line 1:
'''Before We Begin'''
<span id="top"></span>
__TOC__
==Before We Begin==


First, I'm not a professional or something, I'm just a teen who uses the computer regularly and surf the Web everyday, and all the time, though I'm a bit of an open source fanatic, and I do like collecting portable software.
First, I'm not a professional or something, I'm just a teen who uses the computer regularly and surf the Web everyday, and all the time, though I'm a bit of an open source fanatic, and I do like collecting portable software.
Line 11: Line 13:
Now, let's get started.
Now, let's get started.


'''''Note:''''' Please click a image to view larger version.


 
==Getting the Uniform Server==
'''Getting the Uniform Server'''


First, go to [http://www.uniformserver.com/ www.uniformserver.com] then click the ''/download'' link,
First, go to [http://www.uniformserver.com/ www.uniformserver.com] then click the ''/download'' link,
Line 39: Line 41:
[[Image:Bqguide_2007-12-29_220134.jpg‎  | 341x186px]]
[[Image:Bqguide_2007-12-29_220134.jpg‎  | 341x186px]]


'''''[[#top | Top]]'''''


 
==Starting the Uniform Server==
'''Starting the Uniform Server'''


Browse into that folder, double click on ''UniController.exe'' to run it. Then click ''Start'' as shown in the image.
Browse into that folder, double click on ''UniController.exe'' to run it. Then click ''Start'' as shown in the image.
Line 62: Line 64:
Congratulations! Now you have your very own Web server up and running.
Congratulations! Now you have your very own Web server up and running.


'''''[[#top | Top]]'''''


 
==Admin Panel Configuration==
'''Admin Panel Configuration'''


Start your Uniform Server and get to the server administration page at ''http://localhost/apanel/''. Scroll down a little on the right frame and you should see there's a Security Checklist.
Start your Uniform Server and get to the server administration page at ''http://localhost/apanel/''. Scroll down a little on the right frame and you should see there's a Security Checklist.
Line 124: Line 126:
[[Image:Bqguide_2007-12-31_201443.jpg | 320x200px]]
[[Image:Bqguide_2007-12-31_201443.jpg | 320x200px]]


'''''[[#top | Top]]'''''


 
==Private Server Configuration==
'''Private Server Configuration'''


Now click on the "''here''" link on the line:
Now click on the "''here''" link on the line:
Line 152: Line 154:
then save the file.
then save the file.


'''''[[#top | Top]]'''''


 
==MySQL Server Configuration==
'''MySQL Server Configuration'''


Now back to the administration panel's Security Checklist. The first line previously:
Now back to the administration panel's Security Checklist. The first line previously:
Line 174: Line 176:
Right now, just enter the password, remember that the username is "''root''", then click ''Change''.
Right now, just enter the password, remember that the username is "''root''", then click ''Change''.


'''''[[#top | Top]]'''''


 
==Running the Security Console==
'''Running the Security Console'''


Now back to the administration panel, and at the Security Checklist, there should be only one line left:
Now back to the administration panel, and at the Security Checklist, there should be only one line left:
Line 200: Line 202:
For example, if you place the file ''index.html'' in the ''www'' folder, you will be able to access it at ''http://localhost/index.html'' by typing this address in your Web browser's address bar and go. If you place the file ''thisfile.jpg'' in a folder, let's say, ''images'', in the ''www'' folder, then you will be able to access it at ''http://localhost/images/thisfile.jpg''.
For example, if you place the file ''index.html'' in the ''www'' folder, you will be able to access it at ''http://localhost/index.html'' by typing this address in your Web browser's address bar and go. If you place the file ''thisfile.jpg'' in a folder, let's say, ''images'', in the ''www'' folder, then you will be able to access it at ''http://localhost/images/thisfile.jpg''.


'''''[[#top | Top]]'''''


 
==Accessing Your Web Server Inside Your Network (Locally)==
'''Accessing Your Web Server Inside Your Network (Locally)'''


Okay, now that you have your server up and running. Whenever you place a file in the ''www'' folder of your ''Uniform Server'' folder, you can access that file via ''http://localhost/your.file'' or ''http://127.0.0.1/your.file''.
Okay, now that you have your server up and running. Whenever you place a file in the ''www'' folder of your ''Uniform Server'' folder, you can access that file via ''http://localhost/your.file'' or ''http://127.0.0.1/your.file''.
Line 212: Line 214:
That is how your Web server can be accessed inside your network, or, locally.
That is how your Web server can be accessed inside your network, or, locally.


'''''[[#top | Top]]'''''


 
==Accessing Your Web Server From Anywhere Outside Your Network (via the Internet)==
'''Accessing Your Web Server From Anywhere Outside Your Network (via the Internet)'''


Now if you want your Web server to be accessible anywhere outside your network, say from a public computer which is connected to the internet in an internet cafe, or from your friend's laptop 1000 miles away from where your computer is, then there are a few things you need to do.
Now if you want your Web server to be accessible anywhere outside your network, say from a public computer which is connected to the internet in an internet cafe, or from your friend's laptop 1000 miles away from where your computer is, then there are a few things you need to do.
Line 222: Line 224:
Before we go on, make sure you are using static IP address and DHCP is turned off.
Before we go on, make sure you are using static IP address and DHCP is turned off.


'''''[[#top | Top]]'''''


 
==Static IP Address==
'''Static IP Address'''


To use static IP address, or check whether you are on static IP address, first, open your ''Control Panel'', double-click ''Network Connections'', then double-click ''Local Area Connection'', or right-click on it and choose ''status''.
To use static IP address, or check whether you are on static IP address, first, open your ''Control Panel'', double-click ''Network Connections'', then double-click ''Local Area Connection'', or right-click on it and choose ''status''.
Line 237: Line 239:
If your IP address is already static, leave it. Otherwise, click [http://www.portforward.com/networking/staticip.htm here] and follow the steps there to configure a static IP address specific to your router and system.
If your IP address is already static, leave it. Otherwise, click [http://www.portforward.com/networking/staticip.htm here] and follow the steps there to configure a static IP address specific to your router and system.


'''''[[#top | Top]]'''''


 
==Port Forwarding==
'''Port Forwarding'''


When your computer's IP address is already set to static, the next thing to do is port forwarding. Click [http://www.portforward.com/english/routers/port_forwarding/routerindex.htm here] and find the router/ADSL modem you are using, or the most similar one, for your ADSL connection, then click on it.
When your computer's IP address is already set to static, the next thing to do is port forwarding. Click [http://www.portforward.com/english/routers/port_forwarding/routerindex.htm here] and find the router/ADSL modem you are using, or the most similar one, for your ADSL connection, then click on it.
Line 247: Line 249:
After you're done with that, if you've done it correctly, then you already did the port forwarding part.
After you're done with that, if you've done it correctly, then you already did the port forwarding part.


'''''[[#top | Top]]'''''


 
==External IP Address==
'''External IP Address'''


Now, get your external IP address. One of the many ways this can be done is by going to Websites like [http://whatismyip.com/ www.whatismyip.com]. Now give your external IP address to a friend via an instant messenger, or anybody at a computer connected to the internet outside your local area network. Ask him/her to type this external IP address (while your server is up and running, and properly configured) in his/her Web browser and see if he/she can access your Web server.
Now, get your external IP address. One of the many ways this can be done is by going to Websites like [http://whatismyip.com/ www.whatismyip.com]. Now give your external IP address to a friend via an instant messenger, or anybody at a computer connected to the internet outside your local area network. Ask him/her to type this external IP address (while your server is up and running, and properly configured) in his/her Web browser and see if he/she can access your Web server.
Line 267: Line 269:
Fortunately, this can be done via some online services.
Fortunately, this can be done via some online services.


'''''[[#top | Top]]'''''


 
==Registering For a Free Dynamic DNS Service==
'''Registering For a Free Dynamic DNS Service'''


One of those services is ''No-IP.com''. Click [http://www.no-ip.com/ here] to go to ''No-IP.com''. Click ''Sign-up Now!''. Then, fill in your details and create a new account.
One of those services is ''No-IP.com''. Click [http://www.no-ip.com/ here] to go to ''No-IP.com''. Click ''Sign-up Now!''. Then, fill in your details and create a new account.
Line 329: Line 331:
Now close the window but make sure the ''No-IP DUC'' is running in the background.
Now close the window but make sure the ''No-IP DUC'' is running in the background.


'''''[[#top | Top]]'''''


 
==Good Luck On Setting Up Your Web Server!==
'''Good Luck On Setting Up Your Web Server!'''


If you followed this guide correctly, then by now, you should already have a working Web server. And if you have properly configured your network, got a free address for your external IP, then you should be able to access your Web server via the address, but only from outside your own network of course.
If you followed this guide correctly, then by now, you should already have a working Web server. And if you have properly configured your network, got a free address for your external IP, then you should be able to access your Web server via the address, but only from outside your own network of course.




Line 368: Line 369:
thus commenting them out, and save the file. Otherwise you won't be able to access your administration panel.
thus commenting them out, and save the file. Otherwise you won't be able to access your administration panel.


'''''[[#top | Top]]'''''


 
==Reference==
'''Reference'''


[http://jikan-no-gia.blogspot.com/2008/01/beginners-quickguide-to-setting-up-web_02.html http://jikan-no-gia.blogspot.com/2008/01/beginners-quickguide-to-setting-up-web_02.html]
[http://jikan-no-gia.blogspot.com/2008/01/beginners-quickguide-to-setting-up-web_02.html http://jikan-no-gia.blogspot.com/2008/01/beginners-quickguide-to-setting-up-web_02.html]

Navigation menu