Hosting a Website from Home PC that can be accessed from anywhere worldwide


Probably some may be already knowing this ,but many dont... so this tutorial is for the second lot of the people ie for those who don't know how to use their own personal desktop machine to host an website which can be accessed from anywhere round the world.


Requirements: 
To start off u'll just require a PC with windows loaded in it. Pretty much works on all windows version ..



Step 1 :

Goto DynDNS. Click on Sign In. 
It should look something like this:

Resized to 72% (was 1366 x 768) - Click image to enlargePosted Image




Step 2 :

Then Click on Create an Account. You should be redirected to the registration page which looks like this:
Resized to 72% (was 1366 x 768) - Click image to enlargePosted Image


Fill in all the necessary details as required.After filling the page would look somethin like this: 
Resized to 72% (was 1366 x 768) - Click image to enlargePosted Image


Then click on Create Account and you should be redirected to page showing that account is created which looks like this : 
Resized to 72% (was 1366 x 768) - Click image to enlargePosted Image



Step 3 :

Goto the email id which you provided during the registration. In my case the email went to the spam box. 
Open the email and goto the mail from dyndns. 
It looks something like this 
Resized to 72% (was 1366 x 768) - Click image to enlargePosted Image

Click on the confirmation link. On clicking it you would be redirected to dydns site where it asks for password confirmation. Enter your password which you entered during registration and you will be shown a page that states account activated.
Resized to 72% (was 1366 x 768) - Click image to enlargePosted Image

Resized to 72% (was 1366 x 768) - Click image to enlargePosted Image



Step 4 :

Click on Add Hostname.
This takes you to next page.
Enter any hostname of your choice and enter your current machine's Ip adress in the specified slot.
After filling it should look something like this :
Resized to 72% (was 1366 x 768) - Click image to enlargePosted Image


Now click on Add to cart at the bottom of the page.
This take you to a page : 
Resized to 72% (was 1366 x 768) - Click image to enlargePosted Image

Click Next
It takes you to a price summary page which looks like 
Resized to 72% (was 1366 x 768) - Click image to enlargePosted Image

Click Activate services on the page which take you to this page:
Resized to 72% (was 1366 x 768) - Click image to enlargePosted Image



Step 5 :

Now click on support on the top of the page and then on update client on the left hand side. 
This takes you to this page: 
Resized to 72% (was 1366 x 768) - Click image to enlargePosted Image

Now download the DyDNS Updater on to you local machine.
Resized to 72% (was 1366 x 768) - Click image to enlargePosted Image



Step 6 :

Now time for Installation :smile: 
When you open the installer file it looks something like this: -------image 16
Go on Clicking Next ...
Resized to 72% (was 1366 x 768) - Click image to enlargePosted Image

When installation ends, you get this: 
Resized to 72% (was 1366 x 768) - Click image to enlargePosted Image

Click Finish.

When it opens, you see this : 
Resized to 72% (was 1366 x 768) - Click image to enlargePosted Image

Select the DNS host which we created sometime back and Click Apply and then Click Ok .

On clicking Ok... you can see this : 
Resized to 72% (was 1366 x 768) - Click image to enlargePosted Image

Coool... so ur Ip is in sync with the hostname 



Step 7 :

Now my machine does not have Apache server installed.. so i'll gotohttp://httpd.apache.org
The page looks something like this: 
Resized to 72% (was 1366 x 768) - Click image to enlargePosted Image

Now click on "from a mirror" link on the left hand side. This takes you to the downloads section which looks like : 
Resized to 72% (was 1366 x 768) - Click image to enlargePosted Image

Now you can either choose the latest version available or the most stable version thats available in the downloads section.
I'll choose the most stable version ie 2.2.17.
So, click on the Win32 Binary including OpenSSL and download it . 



Step 8 :

Then, launch the Apache Installation. The main screen when you open download is as : 
Resized to 72% (was 1366 x 768) - Click image to enlargePosted Image

When you click on next you get a screen like: 
Resized to 72% (was 1366 x 768) - Click image to enlargePosted Image

which asks you for some details.

The details have to be filled in the way last tym we had enterd for dyndns. Enter your email id for admin email id.

The filled details will look like this : 
Resized to 72% (was 1366 x 768) - Click image to enlargePosted Image

Click next . Then you get this screen 
Resized to 72% (was 1366 x 768) - Click image to enlargePosted Image

Click Finish.


Step 9 :

Now, to test whether what all the settings are proper and we can view our local website on the WWW , we open our browser and enter the host adress of the dyndns which we setup earlier. 

Its looks something like this. 
Resized to 72% (was 1366 x 768) - Click image to enlarge


Means we are done setting up our website using our local PC and this website can be viewed fro any place round the world .

and for the others who feel that this is fake and am just viewing it cos its hosted on my local machine and am accessing it by localhost, lets use any online proxy site and visit the link to see if we can view the website.

I choose our own.. hidemyass.com ... The homepage looks like this :
Resized to 72% (was 1366 x 768) - Click image to enlargePosted Image

When i open the pre specified URL in the online proxy , the site is visited via an IP diffrent from ours ie similar to a way a diffrent machine may view the URL .. and what we see is ...
Resized to 72% (was 1366 x 768) - Click image to enlarge
Posted Image



Step 10 :

To others who are new to this and don't know, where to put the files so at host the website, put your own "index" page and the other files at the location : C:\Program Files\Apache Software Foundation\Apache2.2\htdocs ... just replace the index file and you can view the new site which you will be uploading. The place you upload your new index file and the other files looks like this.. 
Resized to 72% (was 1366 x 768) - Click image to enlargePosted Image


Hope this tutorial was helpful for u'll ... Kindly comment and let me know whether you like it or not or +Rep