Have you ever wondered to setup a website without signing up at any web hosting site? Learning web site designing and want to keep testing how your web pages look? Free Web hosting sites removing you phishing pages? So solution to such kind of things is in this post. Basically we are going to turn our pc to a server.
Now you would want to get a domain name instead of using the Public IP to check out your contents.But how can we get a domain name because our IP is dynamic and to which IP domain name would point?
Don’t worry, we have a solution.
What is a server?
Server is we can say, any computer that is serving something. Like webserver serves webpages, ftp server files. Any computer can be turned into a server by simply installing server software. In this post,
I am using XAMPP. By installing this, contents of a particular directory of our computer would accessible all over internet. Means one could access those contents from any part of the world through our Public IP address.
You can place your web pages or whatever you wish in that directory.
Download XAMPP from here. This package consists of Apache http server (A), MySQL database (M), php (P),Perl (P) and X represents cross platforms.
After downloading it, simply install it.
At last stage on installation you will get this. Press 1 to start XAMPP control panel.
The control panel would look like this
Click Start to start apache server. Now let’s check whether it’s working,
Open your web browser and visit your local machine address that is 127.0.0.1 or localhost. Hopefully you must get the XAMPP page as shown.
Now check whether it is accessible on internet. Type your Public/External Ip in your web browser and hit enter.
If you got a page as shown, follow the instructions: -
· Go to file httpd-xampp.conf
· Remove "deny from all" and save the file.
· Now restart the server and hopefully it would be all right now.
Now what?
There must be a directory 'htdocs' at location C:\xampp\. The contents of this particular directory will be available to everybody. Suppose you place a file anything.html in 'htdocs' directory. It would be accessible at
( Obviously above two links going to work on your own computer only.)
2. http://xxx.xxx.xxx.xxx/anything.html (where xxx.xxx.xxx.xxx is your IP address)
You can start/stop this service simply through the control panel.
That’s all. And you have also use Filezilla(ftp server software) and Mysql (database) as per your need.
Get a domain name?
Now you would want to get a domain name instead of using the Public IP to check out your contents.But how can we get a domain name because our IP is dynamic and to which IP domain name would point?
Don’t worry, we have a solution.
· Log on to www.no-ip.com and sign up for an account. Choose available domain name.
· Download their dynamic DNS update client and run on PC.
This client would automatically keep updating your dynamic IP address and that is how the selected domain would always be pointing to your IP address.
Note: You might need do port forwarding if you are behind a router. Kindly mention the queries regarding that in comments.
Note: This is illegal and is for educational purpose only. Any loss/damage happening will not be in any way our responsibility.
If u like then ple follow my blog & also help to promote. Don’t forget to leave comment.
Incoming Search: -
To make web server
To make webpage to your own computer
To setup a website without signing up
Free Web hosting sites
0 comments:
Post a Comment