Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Enthusiast Zone > Networking > Webserver problem.

Webserver problem.
Thread Tools
Mac Elite
Join Date: Sep 2003
Location: In a gadda da vida.
Status: Offline
Reply With Quote
Oct 27, 2003, 01:22 PM
 
hi,

After a lengthy battle of the minds between me and home netowrking, I've managed to get my webserver up and running, and an andsl modem, and router.

Ran into a slight problem though, the site can be seen by anyone outside my network, but if I try and view it behind the firewall/network, it throws up the router's web-based interface instead of the site, not sure what's going on, but any help appreciated.
Rockstar Games - better than reality.
     
Administrator
Join Date: Apr 2001
Location: San Antonio TX USA
Status: Offline
Reply With Quote
Oct 27, 2003, 01:58 PM
 
It's probably a function of having the server in a "DMZ" in your router. This makes it visible to the outside world, but protects the rest of your network from the outside world.

Is there a reason you don't want to go through the Internet connection to see what the world is seeing on your site?
Glenn -----
OTR/L, MOT, Tx
     
Mac Enthusiast
Join Date: Nov 2002
Location: over yonder
Status: Offline
Reply With Quote
Oct 27, 2003, 02:10 PM
 
I think what's happening is that you have set up port forwarding on you router. What this does is that whenever your router receives a packet on the web port (80) from outside the network it forwards it to the machine serving as the webserver. What this also means, is that the address for your webserver is the same as your router since your router is pretending to be that server, but instead just being a relay point. Inside your network, when you type in the address for you webserver, it goes to the router, but it is not forwarded since the request came from inside the network.

Take a look at the network settings on your webserver to determine the internal (DHCP) IP address your webserver has been assigned, and type that into the browser on the other machine behind your network.
chown -R us:us yourbase

Dissent is not un-American.
     
Mac Elite
Join Date: Sep 2003
Location: In a gadda da vida.
Status: Offline
Reply With Quote
Oct 27, 2003, 02:29 PM
 
Originally posted by fromthecloud:

Take a look at the network settings on your webserver to determine the internal (DHCP) IP address your webserver has been assigned, and type that into the browser on the other machine behind your network.
Thanks, that's it, I used the internal IP address of the server assigned by the router, and it displayed the page fine.

Thanks again.
Rockstar Games - better than reality.
     
Mac Elite
Join Date: Sep 2003
Location: In a gadda da vida.
Status: Offline
Reply With Quote
Oct 27, 2003, 02:34 PM
 
Originally posted by GHPorter:
It's probably a function of having the server in a "DMZ" in your router. This makes it visible to the outside world, but protects the rest of your network from the outside world.

Is there a reason you don't want to go through the Internet connection to see what the world is seeing on your site?
I did have the server in the DMZ for a while cause it wouldn't see the Net at all, but I took it off and found out that the problem was something else. what fromthecloud said was what was happeneing, and once I put in the local IP address, it was fine.

Thanks.
Rockstar Games - better than reality.
     
Administrator
Join Date: Apr 2001
Location: San Antonio TX USA
Status: Offline
Reply With Quote
Oct 27, 2003, 06:58 PM
 
Great. Happy surfing (and serving!).
Glenn -----
OTR/L, MOT, Tx
     
Mac Elite
Join Date: Mar 2001
Location: CO
Status: Offline
Reply With Quote
Oct 28, 2003, 10:16 AM
 
Could I impose on you to describe your setup? I'd like to start dabbling in serving from home setup with an extra OS X box I've got around.

You know, like: what mac cpu; what IP service (cable, provider); what sort of router; what sort of serving process (Personal Web Sharing / Xserve / any MySQL dbs) ; where did you find an overview of how to set it up?

Don't mean to impose, but I'd like to start self-training in these black arts
     
Mac Elite
Join Date: Sep 2003
Location: In a gadda da vida.
Status: Offline
Reply With Quote
Oct 28, 2003, 12:18 PM
 
Originally posted by Love Calm Quiet:
Could I impose on you to describe your setup? I'd like to start dabbling in serving from home setup with an extra OS X box I've got around.

You know, like: what mac cpu; what IP service (cable, provider); what sort of router; what sort of serving process (Personal Web Sharing / Xserve / any MySQL dbs) ; where did you find an overview of how to set it up?

Don't mean to impose, but I'd like to start self-training in these black arts
Yeah, of course.

The computers I have:

Apple Powerbook G3 400mhz (Pismo) running Panther on the internal HD, and Jaguar (10.2.8) on an external firewire drive.

2x SGI Octane R10k one with MXI Graphics, the other with ESI.

Windows XP Athlon based computer.
They're hooked up to some cheapo router which I got jsut so I could try out a home network, but seems to be fine so far. The adsl modem is a d-link 300g+ and that';s also plugged into the router.

I'm in the UK and using bulldogdsl as my service provider http://www.bulldogdsl.com , they're pretty good, offer some excellent packages too.

At the moment, the Powerbook is used as the webserver, but i'm going to use one of the SGI's for it, just need to set it up.
For the webserver, I'm using Apache2 so I don't use Panther's built-in server, which is Apache 1.3. Server logistics offer a nice installer and Sys Prefs tool to control it, http://www.serverlogistics.com

One of the reasons for setting it up was because my g/f wants to use MySQL, and set up an online shop, and then later for us to use the DB for clients.

I'm not really that knowledgeable about networks, and most of it is done through trial and error, reading up, and getting help in here and other forums. The people at this forum were really helpful: http://www.broadbandreports.com/forum/sharing

Hope that helps.

Regards
Rockstar Games - better than reality.
     
Mac Elite
Join Date: Sep 2003
Location: In a gadda da vida.
Status: Offline
Reply With Quote
Oct 28, 2003, 12:27 PM
 
Originally posted by GHPorter:
Great. Happy surfing (and serving!).
Thanks for the help. Cheers
Rockstar Games - better than reality.
     
Mac Elite
Join Date: Mar 2001
Location: CO
Status: Offline
Reply With Quote
Oct 28, 2003, 01:30 PM
 
Thanks for the MOST excellent help, Sanity... and the good news. Actually I've also got an extra Pismo 400 that I want to use (and, thanks to eSuite Apache2 on it).

Also want to have a local place for testing out PHP/MySQL operations - so sounds similar.

Thanks again - and good luck to your g/f's online shop - now THERE's an ambitious undertaking.

Regards to the UK!
     
Mac Elite
Join Date: Sep 2003
Location: In a gadda da vida.
Status: Offline
Reply With Quote
Oct 28, 2003, 01:53 PM
 
Originally posted by Love Calm Quiet:
Thanks for the MOST excellent help, Sanity... and the good news. Actually I've also got an extra Pismo 400 that I want to use (and, thanks to eSuite Apache2 on it).

Also want to have a local place for testing out PHP/MySQL operations - so sounds similar.

Thanks again - and good luck to your g/f's online shop - now THERE's an ambitious undertaking.

Regards to the UK!
Thank you for the kind comments. Well, she's got her own machine running XP too and been battling her way through SQL, PHP, and anythign else she can lay her hands on, it's quite a task though, and progress is slow at times. She's fortunate in that she's a lecturer at a college os has quite a number of resources at hand, I'm staying well away from the real techy side of things though .

Good to hear you've got a Pismo, cracking machine, and makes a great web developing tool.

Good luck also in what you're doing, make it fun.

Regards
Rockstar Games - better than reality.
     
Mac Enthusiast
Join Date: Nov 2002
Location: over yonder
Status: Offline
Reply With Quote
Oct 28, 2003, 03:19 PM
 
Originally posted by Love Calm Quiet:
Thanks for the MOST excellent help, Sanity... and the good news. Actually I've also got an extra Pismo 400 that I want to use (and, thanks to eSuite Apache2 on it).
Extra Pismo! I want an extra Pismo!
chown -R us:us yourbase

Dissent is not un-American.
     
   
Thread Tools
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 08:03 AM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2