C Board  

Go Back   C Board > Community Boards > Tech Board

Reply
 
LinkBack Thread Tools Display Modes
Old 12-20-2003, 01:23 AM   #1
Registered User
 
Join Date: Oct 2002
Posts: 118
HTTP Server Through Router Question

I am having a problem that I just can't seem to figure out on my own. I hope someone here can point me in the right dirrection. I recently set up a web server running on my Macintosh. I am a PC tech, so when it comes to Macintosh I know nothing. I set it up, and found a problem that is stopping it from working. I have a router hooked up to my high speed cable connection, so that I can run my two PC's, and my Macintosh on the net with only the one ISP connection. The problem is, my router is assigning each PC/Mac an IP address. If I hook the Mac up to my internet connection and don't use the router at all, it works fine because I just use my static IP address as the domain name and up pops the webpage. But, I want to continue using my router so that all my computers can access the net. How is it possible to make the routers IP address available on the net? Thanks in advance!
__________________
"The distinction between past, present and future is only an illussion, even if a stunning one."
-Albert Einstein
Tommaso is offline   Reply With Quote
Old 12-20-2003, 05:47 AM   #2
It's full of stars
 
adrianxw's Avatar
 
Join Date: Aug 2001
Posts: 4,833
Your router is acting as a DHCP server - when a machine boots, it asks the router for an IP to use, and the router assigns it an unused one. Almost all routers have the capability to allocate the same address to a machine each time - mine certainly does. Look in your routers setup for DHCP settings or similar.

To run an http server, you'll need to open port 80 on the router for that machine as well.
__________________
Wave upon wave of demented avengers march cheerfully out of obscurity unto the dream.
adrianxw is offline   Reply With Quote
Old 12-20-2003, 11:30 AM   #3
Registered User
 
Join Date: Oct 2002
Posts: 118
Thanks for pointing me in the right direction! I'll check out the router documentation, and if I have problems I'll be back. Thank a million.
__________________
"The distinction between past, present and future is only an illussion, even if a stunning one."
-Albert Einstein
Tommaso is offline   Reply With Quote
Old 12-26-2003, 01:42 AM   #4
Registered User
 
Join Date: Oct 2002
Posts: 118
Thanks for the help above. I have now figured out what I must do. It is actually pretty simple. For my router, which is a Linksys, I just type in a web address in my browser, and it gives me access to my IP Forwarding controls in standard website format. From there I can specify which port number can be re-directed to a specific computer on my network. So, if I wanted an FTP site on port 21, I set it. If there is any activity on port 21, it goes directly to the specific computer that I have selected for FTP access. An HTTP site on port 80 can be directed to another computer on the network. This allows multiple computers on a network to be used for specific purposes. Just thought I'd let you know how it worked, in case someone else needs to know. Thanks for the help!
__________________
"The distinction between past, present and future is only an illussion, even if a stunning one."
-Albert Einstein
Tommaso is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Tokenize HTTP server response maganese187 Networking/Device Communication 2 03-09-2009 07:17 AM
HTTP Server? Nebbuchadnezzar Tech Board 9 07-30-2005 03:46 PM
SMTP Server Not Working (TNT) Networking/Device Communication 1 07-15-2003 05:33 AM
HTTP question Sang-drax A Brief History of Cprogramming.com 3 11-06-2002 06:27 PM
a question on server stuff DavidP A Brief History of Cprogramming.com 9 10-05-2001 02:54 PM


All times are GMT -6. The time now is 11:57 PM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.2

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22