Facebook massage

Tuesday, December 27, 2016

Building Up Own Server

eb application) sends shared root directory(public_html or www directory files of web application) to the clients where index.php is the main page of host server.Then the page is shown to the clients browser.also if data storing system is available,the web application also interracts with mySQL database(to store client info for recognising them next time) too.
So,we need these things in our computer for making it a web server :
1.one static IP address that never changes(experts suggest this.because,if your IP changes continuously,requests from clients wont reach to your web application and it wont interract with client)
2.a dedicated computer with faster internet connection that will be kept turned on 24 hour everyday.if you turn it off,server will go offline.
3.An Web Application software for ex. "XAMPP/WAMPP"
4.a domain name
turn on your apache(in XAMPP) server and mySQL server(in XAMPP)[confused?google please!] service and connect your domain with it.
[not understanding?google please for the video tutorial]
now,when your domain is successfully connected with web app,you can see apache default page if visit the domain from browser(from anywhere)
go to your public_html or www directory and put your scripts(the site files or whatever you want to share)[this directory can be found in your apache installation folder(in default C:\apache)]
Thanks for reading :P
N.B : I never took my computer online as server so,no experice of running a worldwide web server.wrote from knowledge.apology for mistakes :3
Google is always open for help :)

No comments:

Post a Comment