Hi There!, I want to set up an intranet. All i have is 4 workstations and a server. Do i have to install IIS on the server and personal web server on the workstations? well what is the difference between personal web server and IIS. Waiting for u.... arvind karanth
I assume from your mention of IIS and PWS that all these machines run Windows of some form. You don't need to use IIS or PWS at all if you don't want to. There are a lot of other (free) web servers which work generally faster and easier as well as having better Java support. I personally like Resin which works happily on all Windows32 systems as well as Unix and Linux. I'm surprised that you plan to put web servers on all your workstations It's more normal to just run a webserver on the server, and access it from the workstations. Please let us know a bit more about what you would like to do with this system.
Hi Frank, Thanks for that reply. Well it is like this i am working on ASP and also may be Servlets to get some pages ready for a website. These pages include registration forms. I already have IIS so i would like to work on it. Basically i wanted an idea on how to go about installing this stuff. As u said I can install IIS on the server. Will that be fine? once i do that can i work in an environment similar to that of an internet. I know that i will be able to work on ASP's but what about Servlets? So that was my idea, when i finish up my project and when i load those set of files on the Server from where it will be assessible to others on the Internet. If i am going to work in this setup of IIS will the above idea work???
posted 19 years ago
Sure. To run servlets/JSP with an IIS server you will also need a Servlet Container which plugs in to IIS. Resin (URL above) and JRun are both popular Servlet Containers which plug in to IIS. Or you can run another servlet server alongside IIS on a different port (eg. 8080 instead of the default 80). When you come to put your systems on the real internet you will either need a dedicated connection to your machine(s), a dedicated machine in someone's network center, or space on someone's servlet-capable hosting service. All of the above are possible at differing prices. If cost is an issue, the cheapest by far is the third solution. If you plan to go this route, you should seriously consider getting the same software setup as the hosting provider, so you can do real tests on your local network before publishing your work to the internet at large. Also bear in mind that most low-cost hosting providers use Linux (they can be cheaper because they don't have to pay Uncle Bill). Indeed the majority of servers on the internet run Linux, so if you are really keen on setting up your own mini-internet, you should consider having at least one machine running Linux so you can become familiar with its operation.
Hello Frank, That was one good reply. Yes i must try to work on the same environment as the web hosting server. Since i am some what possessed by this IIS i would like to go ahead and work with it. Tell me Frank, if get all those plug-ins for my Servlet or JSP to work on IIS and later when i transfer all my set of files to the web hosting server, does that server need to have IIS installed.
One more problem... I've got my home PC on which i installed NT Server 4.0 with a MS LoopBack Adapter, i believe it almost acts as a virtual lan card because i don't have one. And finally i installed IIS. Now I have given a name to my system say "TRISHUL". When i type "http://trishul" on the address bar of my Internet Explorer 4 (IE4) i get my default home page. As you said i am going to need some plugins to get my Servlets or JSP to run on IIS. But right now IIS is not executing my ASP files. When i run it, it shows the contents of the ASP page on the IE4 and nothing else. What should i do regarding this?
[This message has been edited by Arvind Karanth (edited November 23, 2000).]
posted 19 years ago
OK, in order: 1. If you are careful, stick to the published Servlets 2.2 specification with no server extensions, and are aware of any other machine differences (file locations, operating system file/path separators, databases etc.) you should be able to publish your servlets, JSPs and static files on any conforming Servlet Container. Whether you will be able to also publish ASPs, CGIs or other dynamic content is hard to tell without knowing a lot more about the machine setup and what you plan to do. My suggestion is first to find a hosting provider which offers a product you like at a price you like, then set up a home system as close to that as possible for development. Otherwise you are letting yourself in for lots of headaches. 2. You should be able to access a web server on the same machine either by using the machine's name, or the special name "localhost" which always refers to the machine you are running on. 3. I have no experience with ASP under IIS, so I hope someone else can help on this one.