Term “Hosting” in internet world refers to space in the server to put some files so they can be available for internet users or people who want to access that files over internet. Generally there are many hosting providers who offer hosting services but today we are going to host files in our own personal computer and make it available to internet users.
To create a hosting server basically following are the requirements
1. Server System
2. Static Public IP and
3. Access to Router to port forward 8080 to our server.
You can install either Windows or Linux in your server but basic hosting technique remains the same. Today I am going to illustrate you with each example for two different operating systems Linux and Windows.
STEP 1 :
LINUX OPERATING SYSTEM : INSTALLING L.A.M.P
L.A.M.P stands for Linux Apache MySQL PHP is the software that installs set of softwares mentioned to support hosting services.
To install L.A.M.P on your ubuntu use the command
sudo tasksel install lamp-server
which will install default L.A.M.P stack on your personal computer , If you got any doubts regarding installation of L.A.M.P please refer to UBUNTU HELP GUIDE HERE
WINDOWS OPERATING SYSTEM : INSTALLING W.A.M.P
W.A.M.P stands for Windows Apache MySQL PHP is the software that installs set of softwares mentioned to support hosting services.
To install W.A.M.P server in your windows operating system , point to http://www.wampserver.com/en/ to download latest W.A.M.P software and install it in your personal computer.
That is it thats the end of Step one , Now you can see that there is something at http://localhost/ or which is nothing but “http://YOUR IP ADDRESS/” and if you are a little aware of how to create a website then you can build your own website and host in your site , if you are not aware of how to create a website please refer it HERE
STEP 2 : PORTFORWARDING AND POINTING TO YOUR IP
By this time you came to know that you have created a server that hosts your files , Next step is all about how to make this files available in internet. To make it available we need a static public IP , To know about what is this Public and Private IP addresses refer HERE
To find your IP use FIND MY IP website and use this IP to access your website from any where in the INTERNET but before you can do that you should port forward 8080 from your router to your server so that http requests from internet can be pointed to that particular server. Port Forwarding techniques changes from router to router but ultimately it is nothing but
80-80 = Inbound HTTP request- Outbound HTTP request
should be pointed to your server IP address so that it can handle http requests from internet.
when you are done with port forwarding then it is done , now you can access your local host from internet by typing your IP address in the address bar.
STEP 3 : CREATING A DOMAIN NAME FOR YOUR WEBSITE
If you want to secure your computer from internet or you want to create a domain name for your website then use services offered by NO-IP or DYNDNS which creates a domain name for your website pointing it to your ip.
Thats it now your website is ready to be served from your personal computer to the people in the internet mean while you will come to know the problems like number of connections limitation and hardware limitation for hosting which can be known along your course of journey but what matters is that flexibility to operate your website.
You pointed roughly finicky subject matter. These tips are very beneficial.
Android Phones