This week's book giveaways are in the Refactoring and Agile forums.
We're giving away four copies each of Re-engineering Legacy Software and Docker in Action and have the authors on-line!
See this thread and this one for details.
Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to deploy an application on web server

 
jignesh soni
Ranch Hand
Posts: 150
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
To make an application a web application , it has to be deployed on web server, right ? Now if I have got apache web server installed on my computer and there are many folders on my computer. So when somebody tries to access my web application how do I make sure that only the web application is accesssed and nothing else ? (Is it that, when we deploy an application on the web server, only that application will be accessed by the user ? in that case, how do we make sure that when user tries to access the server, only web server is accesse ? I mean how do I setup my IP address with web server, say web adress is "www.newbank.com" and IP adress is "78.126.0.234" , how do I connect this IP adress with my web server only ?

Thanks for reply in advance
 
Akhilesh Trivedi
Ranch Hand
Posts: 1599
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by jignesh soni:
To make an application a web application , it has to be deployed on web server, right ? Now if I have got apache web server installed on my computer and there are many folders on my computer. So when somebody tries to access my web application how do I make sure that only the web application is accesssed and nothing else ? (Is it that, when we deploy an application on the web server, only that application will be accessed by the user ? in that case, how do we make sure that when user tries to access the server, only web server is accesse ? I mean how do I setup my IP address with web server, say web adress is "www.newbank.com" and IP adress is "78.126.0.234" , how do I connect this IP adress with my web server only ?

Thanks for reply in advance


I don't know if i am getting you right, do you want to register domains say www.JigneshSoni.com on internet, if so you would need to register it.

http://en.wikipedia.org/wiki/Web_hosting_service

Further please be clear with what you know and what you want to know and in which thread to channelize your question, because technically there is a significant difference between "applcation", "web application", "web service", "deployement" and "registering domain names".
 
Peer Reynders
Bartender
Posts: 2968
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by jignesh soni:
say web adress is "www.newbank.com" and IP adress is "78.126.0.234" , how do I connect this IP adress with my web server only ?


In order to respond to any type of network request a process on your computer has to be listening on a port. The default port for the HTTP protocol is port 80. So "http://www.newbank.com" is equivalent to "http://www.newbank.com:80" and "http://78.126.0.234" is equivalent to "http://78.126.0.234:80". Your web server will listen to port 80 (unless configured differently) on your computer and serve these HTTP requests. So it is the web server that is giving access to your computer's resources.

If anybody tries to connect to a port on your computer that nothing is listening to then no connection is established. If somebody tries to use an FTP (default port 21) client against your address nothing will happen unless you have an ftp server listening to port 21 (note however that under the right circumstances malware can install programs that listen on ports for incoming requests - and you wouldn't know it unless you knew what you are looking for as there are many programs that may be listening to other ports for legitimate reasons).
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic