Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to get web hosting running?

Status
Not open for further replies.

hunghsun

Programmer
Aug 25, 2002
31
US
Hi,

I am trying to figure out how to turn my PC into a webserver. Below are the spec of my system.

1. Cable modem (Linksysm) and it's hook to the 4 port router (Linksys)
2. 1 Desktop and 1 laptop hook to 2 of the 4 ports on the router.
3. Have IIS/Installed on Desktop. when i use I see the sample page i created, but when i typed in i get error 404 (page not found)
4. I've ask some friends to type in the external IP address and they got nothing (time out).

My questions now are
1. How do I get to point to work?
2. How do I let my friends see my pages? (i.e. hosting)

Please let me know as much as you can, appreciate your help in advance.

Hung-Hsun Su
 
Instead of using local host try and if you want your friends to be able to see your pages from the outside world you need to have your pages available to the world wide web which means that you would need to have a domain name parked somewhere so that they could find them or else a static ip address. The 192.168.1.2 is a lan address.

Hope that helps
Roj
 
I was trying that and gave my friend my external IP address, but they always get timeout. Any idea why that may be?

Hung-Hsun Su
 
There is a setting in IIS that lets you set the time out. I don't remember exactly where but if you nose around in the MMC you should find it easily enough.

Roj
 
I don't know much about cable modems, but what I do to achieve the same result you are looking for is...

open command prompt and type:
Code:
ipconfig

Look through the output, and find what it says for the 'IP Address', this will be the IP address your friends can use to view your website.

BTW, do you have a firewall in place? If so you may have to relax the settings in order to let your friends view your site. But beware this is also how hackers can get in and do all kinds of things on your machine.

:)

The New Zealand Site
 
That is not exactly true. The IP that using IP config will give you is your machines ip. The ip that your friends will have to use is the ip that the isp gives you. You can get this through some web pages. You can find your IP Address at this address
Roj
 
WHat IP address are you looking at? I'm not sure about cable modem connections, but with my dial-up I can look in my firewall and see what IP address my ISP has assigned to me, I can also use IP config and the same IP address is listed under PPP adapter <ISP name>. I have definitely sent that IP address to friends and they have been able to visit the sites hosted on my local machine.

Is it different for cable modem connections? The New Zealand Site
 
It can be. It all depends on weather or not your isp gives you a static or dynamic ip.

Roj
 
Okay, here's what ya do. Connect a computer directly to the modem, get you IP from that( ipconfig ), now, make sure that the DMZ (on the router) is allowing external traffic to the computer that you want to host your web site. People can see your site by typing the IP address supplied by you ISP. If you want a domain name, you have to register one. After, you can have a DNS server somewhere point the domain name to your IP (usually the place that you register a domain name will point the DNS records for you if you don't have a DNS server of your own).

Hope this helps, WMH
MCP+I, MCSE
smashfreakb.gif
 
(3)The 192.168.1.2 is a lan address.

True and being as such, the outside world (WAN) can't access that IP address.

(4)I've ask some friends to type in the external IP address and they got nothing.

You need to configure your Linksys router to direct all incoming requests for port 80 to you external IP address (WAN) to 192.168.1.2. Yor friends will be able to access you site by IP address. Using yandso's site will tell you your (WAN) external address.

To see page by typing allow IIS to listen on all interfaces.

Vince Grice
vgrice@hotmail.com
MCSE Win2K, NT; MCSA; MCP+I
favicon.ico

I not only use all the brains I have, but all I can borrow.
- Woodrow Wilson
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top