Web Server
#16
Posted 27 November 2003 - 05:22 PM
#17
Posted 27 November 2003 - 05:25 PM
Stuart
#18
Posted 27 November 2003 - 05:26 PM
Edited by PanMaster, 27 November 2003 - 05:27 PM.
#19
Posted 27 November 2003 - 08:52 PM
Have you heard of the IIS server? I thought Stuart did PHP programing that uses a server and you can your IIS server and Microsoft's Personal Web Server (PWS). Here is how to find it:
How to install IIS and run ASP on Windows XP Professional.
Note: You cannot run ASP on Windows XP Home Edition.
Insert the Windows XP Professional CD-Rom into your CD-Rom Drive
From your Start Button, go to Settings, and Control Panel
In the Control Panel window select Add/Remove Programs
In the Add/Remove window select Add/Remove Windows Components
In the Wizard window check Internet Information Services, click OK
An Inetpub folder will be created on your harddrive
Open the Inetpub folder, and find a folder named wwwroot
Create a new folder, like "MyWeb", under wwwroot.
Use a text editor to write some ASP code, save the file as "test1.asp" in the "MyWeb" folder
Make sure your Web server is running - The installation program has added a new icon on your task bar (this is the IIS symbol). Click on the icon and press the Start button in the window that appears.
Open your browser and type in "http://localhost/MyWeb/test1.asp", to view your first ASP page.
Note Do not install any server untill you know what you are doing with it and how to put your pc on stanbye so like it is shuttdown bu it isen't they can be dangaruse.
Thats every thing.
Edited by Richard H, 28 November 2003 - 05:04 PM.
#20
Posted 28 November 2003 - 06:53 AM
If you typed panmaster on you computer it will work because your computer will just go to localhost. I tried it in a few minutes after you made the post asking people to try it and it didnt work. You cant just type the name of your computer into the address bar and get to it from the internet, what if somebody had the same computer name. This is why we have Internet Protocol, when you connect, instead of using you computer's name to identify its self, you use an IP address. If you want people to be able to just type panmaster and get your computer, you should get a DNS.no i don't, it works, just type panmaster, i'll create a page other than under construction
Stuart
#21
Posted 28 November 2003 - 09:06 AM
#22
Posted 28 November 2003 - 09:12 AM
In order for someone else to connect to your server, you must have a UNIQUE ip address. To do this, you must publish your ip address, which means you must buy or rent that IP address from a provider.
Buying or renting an ip from a provider is VERY expensive. You pay according to the traffic on your site, and if your site is popular – the price will be very high.
That’s why you have hosting services – they owe the IP, they are already connected – and they can limit the amount of traffic you are running through – which mean they can make sure they still make profit.
IIS or apache is great if you have your own intranet that you share with people around you – but to connect that server to the Internet is an expensive business.
#23
Posted 28 November 2003 - 04:39 PM
BigG, i don't think even this site is on a real server, leased lines cost 20 grand a year.
Edited by PanMaster, 28 November 2003 - 04:41 PM.
#24
Posted 28 November 2003 - 04:53 PM
#25
Posted 28 November 2003 - 04:59 PM
Actually there is a way for home users to run a web server, If you have a broadband connection like me you can setup a server on your local machine and install apache etc. The software sets up port forwarding so any incoming port 80 (HTTP) requests will result in the user being served the pages in your HTTP folder.Guys - listen. You are missing the point. You can have a server until tomorrow. Still, nobody will be able to connect to it.
In order for someone else to connect to your server, you must have a UNIQUE ip address. To do this, you must publish your ip address, which means you must buy or rent that IP address from a provider.
Buying or renting an ip from a provider is VERY expensive. You pay according to the traffic on your site, and if your site is popular ? the price will be very high.
That?s why you have hosting services ? they owe the IP, they are already connected ? and they can limit the amount of traffic you are running through ? which mean they can make sure they still make profit.
IIS or apache is great if you have your own intranet that you share with people around you ? but to connect that server to the Internet is an expensive business.
Usually with a broadband provider you keep the same IP address (which is leased to your cable modem) unless you switch it off and DHCP will assign you a new one when you come back online.
I've run an experimental server on my home machine without problems. If you are going to try it make sure your system is secure! Best way to do it is to get a router/firewall combo and place your server under a DMZ.
#26
Posted 28 November 2003 - 07:38 PM
#27
Posted 29 November 2003 - 09:56 AM
Panmaster, you need to read up on this subject if you want to get it going properly, it's pretty simple once you know how. First of all I would suggest removing IIS or putting it back into it's dungeon within Windows and use Apache. Your computer will have to be on all of the time if it is to be of any use to anyone, I have my Linux servers on 24/7 (they've been on for 95 days now, i'm going for personal best lol ). Then if you have a dynamic IP, you can get something that will always update a domain record with your IP as it changes, so people will always be able to access your computer. Have a look at www.dyndns.org
#28
Posted 29 November 2003 - 11:03 PM
Actually there is a way for home users to run a web server, If you have a broadband connection like me you can setup a server on your local machine and install apache etc. The software sets up port forwarding so any incoming port 80 (HTTP) requests will result in the user being served the pages in your HTTP folder.
Is there any way of setting up a server if you have a local area network behind the connection? My connection goes cable modem, firewall/router, hub and so presumably I would need to replace the router with a dedicated PC? Otherwise how would HTTP requests get routed internally to the correct PC with apache on it?
Tris
#29
Posted 30 November 2003 - 08:39 AM
stuart-computer or 192.168.0.1
as that is the name and IP of my computer.
I am not sure how to block requests from the internet but I do it by putting my ports into stealth mode for the internet and sharing mode for the LAN.
Stuart
Edited by Stuart, 30 November 2003 - 08:41 AM.
#30
Posted 30 November 2003 - 01:18 PM
Your firewall/router should have a "port forwarding" [or similar] section on it. In this section you can set it up to forward incoming connections on a specific port [say, 80 for web requests] to a specific port on another IP address [the IP address of the web server on your internal network]how would HTTP requests get routed internally to the correct PC with apache on it?
You can also use this to doe tricks whereby you force all outgoing web requests to go via a caching web-proxy [eg: squid on linux].
Redirect all outgoing connections on port 80 to proxyserver on port 3128 [for example]
This will improve the apparant speed of your web browsing no-end.
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users