Home Web Server: Single Page Guide: Difference between revisions
Home Web Server: Single Page Guide (view source)
Revision as of 07:39, 24 November 2010
, 24 November 2010no edit summary
mNo edit summary |
Upazixorys (talk | contribs) No edit summary |
||
Line 1: | Line 1: | ||
=[http://ehiqikag.co.cc Page Is Unavailable Due To Site Maintenance, Please Visit Reserve Copy Page]= | |||
<span id="top"></span> | |||
<div style="padding:0;margin:0; border-bottom:3px inset #000000"> | |||
{| | {| | ||
| [[Image:uc_small_logo.gif | MPG UniCenter]] || | | [[Image:uc_small_logo.gif | MPG UniCenter]] || | ||
Line 14: | Line 15: | ||
[[Home Web Server: Known Problems | Problems]] | [[Home Web Server: Known Problems | Problems]] | ||
|} | |} | ||
</div> | |||
{| cellpadding= | {| cellpadding="2" | ||
| | | | ||
__TOC__ | __TOC__ | ||
|| | || | ||
'''Quick Home Web Server''' | '''Quick Home Web Server'''<br>'''Home Web Server Uniform Server 3.5-Apollo.''' | ||
|} | |} | ||
This page provides a quick tutorial showing how easy it is to put a home web server on-line using Uniform Server 3.5-Apollo. | This page provides a quick tutorial showing how easy it is to put a home web server on-line using Uniform Server 3.5-Apollo. | ||
== Install Uniform Server 3.5-Apollo == | == Install Uniform Server 3.5-Apollo == | ||
{|cellpadding= | {|cellpadding="4" | ||
|- | |- | ||
|valign= | |valign="top"|1&nbsp;||Create a new folder named '''uniserver''' (you can choose whatever name you like) | ||
|- | |- | ||
|valign= | |valign="top"|2||Download [http://sourceforge.net/project/showfiles.php?group_id=53691&package_id=48193 Uniform Server] (the file you are looking is '''UniServer3_5.exe''') save it to the folder you created in step 1 | ||
|- | |- | ||
|valign= | |valign="top"|3||Extract files by '''Double-clicking''' on the file '''UniServer3_5.exe''', accept the defaults. | ||
|- | |- | ||
|valign= | |valign="top"|4||Once unpacked you will see a new folder named '''Uniform Server''' open this folder. | ||
|- | |- | ||
|valign= | |valign="top"|5||Start the servers by double-clicking on '''Server_Start.bat''', when challenged by your firewall allow connection on all ports. | ||
|- | |- | ||
|valign= | |valign="top"|6||Your browser will start (if not already running) and a web page will open displaying your web server control panel (apanel).<br> '''''Note'':''' You can run apanel at anytime by typing the following into your browser '''<nowiki>http://localhost/apanel/</nowiki>''' | ||
|- | |- | ||
|valign= | |valign="top"|7|| With apanel displayed scroll down to the '''Configurations''' section of the left menu. | ||
*Click '''MySQL Server Configuration''' at the bottom of this section. | *Click '''MySQL Server Configuration''' at the bottom of this section. | ||
*The default password ('''''root''''') needs changing, type in a new MySQL Password and click change. ('''[[Home Web Server: Security#Set MySQL Password |details]]''') | *The default password ('''''root''''') needs changing, type in a new MySQL Password and click change. ('''[[Home Web Server: Security#Set MySQL Password |details]]''') | ||
|- | |- | ||
|valign= | |valign="top"|8|| Stop the servers by double-clicking on '''Stop.bat''' in folder Uniform Server. | ||
|} | |} | ||
Line 54: | Line 55: | ||
To put the servers on-line edit .htaccess as follows: | To put the servers on-line edit .htaccess as follows: | ||
xxxxxxxxxxxxx | xxxxxxxxxxxxx | ||
{|cellpadding= | {|cellpadding="4" | ||
|- | |- | ||
|valign= | |valign="top"|&nbsp;9&nbsp;||Open folder '''www''' | ||
|- | |- | ||
|valign= | |valign="top"|10||Open the file '''.htaccess''' in a text editor and change the fourth, fifth and sixth lines to this: | ||
:''' | :'''<nowiki>#</nowiki>Order Deny,Allow'''<br> | ||
:''' | :'''<nowiki>#</nowiki>Deny from all'''<br> | ||
:''' | :'''<nowiki>#</nowiki>Allow from 127.0.0.1''' | ||
|- | |- | ||
|valign= | |valign="top"|11||'''Save''' the file. | ||
|- | |- | ||
|valign= | |valign="top"|12||Start the servers, Double-click '''Server_Start.bat''' | ||
|} | |} | ||
Line 71: | Line 72: | ||
=== Test local access === | === Test local access === | ||
Type ''' | Type '''<nowiki>http://localhost/</nowiki>''' into your browser, Uniform Server image logo displayed (centre of the web page) confirms pages are being served. | ||
=== Test on-line access === | === Test on-line access === | ||
If you have a fixed IP address us that in the following test otherwise you need to determine your IP address. | If you have a fixed IP address us that in the following test otherwise you need to determine your IP address. | ||
To do this quickest way is to use the following link [http://www.whatismyip.com/ http://www.whatismyip.com/] type this IP address into your browser for example''' | To do this quickest way is to use the following link [http://www.whatismyip.com/ http://www.whatismyip.com/] type this IP address into your browser for example''' <nowiki>http://12.345.67.899/</nowiki>''' | ||
Uniform Server image logo displayed (centre of the web page) confirms pages are being served to the Internet. | Uniform Server image logo displayed (centre of the web page) confirms pages are being served to the Internet. | ||
Line 104: | Line 105: | ||
Create an account at '''[http://www.dyndns.org/ DynDNS]''' log in and set up your account as follows: | Create an account at '''[http://www.dyndns.org/ DynDNS]''' log in and set up your account as follows: | ||
{|cellpadding= | {|cellpadding="4" | ||
|- | |- | ||
|valign= | |valign="top"|1&nbsp;||'''Login''' to DynDNS using your '''name''' and '''password'''. | ||
|- | |- | ||
|valign= | |valign="top"|2||Click on '''My services''' (either use left menu or top right link) | ||
|- | |- | ||
|valign= | |valign="top"|3||Click on '''Add New Hostname''' (link to the right of Hostnames) | ||
|- | |- | ||
|valign= | |valign="top"|4||Enter '''Hostname''': that you wish to use (example: '''fred''')to the right select the second part from the drop down menu (example: '''gotdns.com''') | ||
|- | |- | ||
|valign= | |valign="top"|5||Check the '''Wildcard''': box | ||
|- | |- | ||
|valign= | |valign="top"|6||'''Service Type:''' select the radio button '''Host with IP address''' | ||
|- | |- | ||
|valign= | |valign="top"|7||'''IP Address:''' If the IP address field is not automatically filled in click '''Use auto detected IP address''' link | ||
|- | |- | ||
|valign= | |valign="top"|8||Click '''Create Host''' (You may have to repeat this process if that domain is already in use) | ||
|- | |- | ||
|valign= | |valign="top"|9||'''''Note'':''' When you now click My services you will see your host listed (example fred.gotdns.com) and your IP address.<br> | ||
If you need to manually change your IP address click on your host link it takes you to the config page. | If you need to manually change your IP address click on your host link it takes you to the config page. | ||
|} | |} | ||
Line 159: | Line 160: | ||
I prefer a portable solution and have written a detailed installing guide the steps are as follows: | I prefer a portable solution and have written a detailed installing guide the steps are as follows: | ||
{|cellpadding= | {|cellpadding="2" | ||
|- | |- | ||
|valign= | |valign="top"|&nbsp;1&nbsp;||Go to [http://kanasolution.com/download.php?i=36 Kanasolution.com] | ||
|- | |- | ||
|valign= | |valign="top"|&nbsp;2||Scroll down the page to '''Without Setup''' and click the download image to download the file '''DynDNS-3.1.0.15.zip''' | ||
|- | |- | ||
|valign= | |valign="top"|&nbsp;3||Save this file to folder '''Uniform Server'''. (contains the start and stop batch files) | ||
|- | |- | ||
|valign= | |valign="top"|&nbsp;4||Extract the files, right click on the file '''DynDNS-3.1.0.15.zip''' and select extract all, click '''Next''' and '''Next''' again. | ||
|- | |- | ||
|valign= | |valign="top"|&nbsp;5||This creates a new folder named DynDNS-3.1.0.15 rename it to '''dyndns_updater''' | ||
|- | |- | ||
|valign= | |valign="top"|&nbsp;6||If you wish to save disk space delete the file '''DynDNS-3.1.0.15.zip''' | ||
|- | |- | ||
|valign= | |valign="top"|&nbsp;7||Connect to the Internet | ||
|- | |- | ||
|valign= | |valign="top"|&nbsp;8||Open folder '''dyndns_updater''' and double click on '''DynDNS.exe''' | ||
|- | |- | ||
|valign= | |valign="top"|&nbsp;9||Welcome page is displayed click '''Next''' | ||
|- | |- | ||
|valign= | |valign="top"|10||Choose your connection type: '''Select Local Area Network''' click '''Next''' | ||
|- | |- | ||
|valign= | |valign="top"|11||Public IP address: Click '''Detect My IP''', and check that it detects and displays your IP address. Click '''Next''' | ||
|- | |- | ||
|valign= | |valign="top"|12||Hostname Group: Enter '''ALL''' (choose anything you like). Click '''Next''' | ||
|- | |- | ||
|valign= | |valign="top"|13||Enter your DynDNS account information '''Username''' and account '''Password'''. Repeat the password in the Confirm box. Click '''Next''' | ||
|- | |- | ||
|valign= | |valign="top"|14||Make sure the '''YES''' radio button is selected. This downloads all the hosts that exist in your account. Click '''Next''' | ||
|- | |- | ||
|valign= | |valign="top"|15||Hostname Information: '''Check''' the box for each host that you want DynDNS updater to update. Click '''Next''' | ||
|- | |- | ||
|valign= | |valign="top"|16|| '''Check''' the box enable automatic update. Click '''Next''' | ||
|- | |- | ||
|valign= | |valign="top"|17||Leave both radio buttons '''un-selected'''. Click '''Next''' | ||
|- | |- | ||
|valign= | |valign="top"|18||Click '''Finished'''. | ||
|} | |} | ||