Re: Home web server hosting
- From: Tim McNamara <timmcn@xxxxxxxxxxxxx>
- Date: Sun, 05 Aug 2007 10:36:22 -0500
In article <f946rp$pfq$1$8300dec7@xxxxxxxxxxxxxxxx>,
Alan Fry <ajf@xxxxxxxxxxxxxxxx> wrote:
I am trying to set up a web server on my Mac so that a third party, for
whom I am developing a web site, can look in from time to time to
monitor progress. Speed is not really an issue here, and there will only
ever be one visitor to the site at any one time.
Apache is up and running and the inside IP is fixed by setting IPv4 to
'Using DHCP with manual address'.
I have a fixed IP -- namely 83.104.56.91 which resolves to
'afco.demon.co.uk'. Broadband internet connections work as they should.
The wireless LAN here also functions properly.
What I cannot get to work is an external (ie another computer on the
internet) connection to the Apache server. I have tried the following:
a) Enquired of my ISP (demon.net) if it is permitted -- answer yes it is.
b) Set the Thomson 'SpeedTouch' modem/router NAPT to 'Inside
192.168.254.10:80' and 'Outside 83.104 56.91:80' (The inside IP finds
the Apache test page from http://192.168.254.10)
Does this mean that you have turned on port forwarding in your router?
That's a rather crucial step. And just to check, your server's address
is 192.168.254.10 but the router's inside-the-lan IP address (i.e., the
gateway address) is something different, right? Maybe 192.168.254.1? Do
you have all the IPs entered correctly in the computer and on the
router? Can the server connect to the Internet through a Web browser and
surf?
c) I have set up a 'dyndns' as 'thatchedbarn.dyndns.org'with the DynDNS
Updater daemon running.
Despite all these things an external calls from the internet to either
'http://83.104.56.91' or 'http://thatchedbarn.dyndns.org' fail.
Both failed for me with the server not responding.
I would be grateful if anyone can give me advice as to how to get this
working.
Could also be something is messed up in httpd.conf. Did you edit that
and restart Apache? It's at /etc/httpd/httpd.conf
So basically there are three places to check. First, check whether your
LAN is set up correctly to allow the server to receive requests and for
the packets it sends to find their way out of the LAN past the router to
get to the Internet. My hunch is you've got something messed up there.
If all that is correct, then the next thing would be to make sure that
your DNS service resolves correctly.
And finally triple check your httpd.conf file to make sure that you have
edited it correctly.
.
- References:
- Home web server hosting
- From: Alan Fry
- Home web server hosting
- Prev by Date: Re: Home web server hosting
- Next by Date: Re: Thoth - unable to switch ports?
- Previous by thread: Re: Home web server hosting
- Next by thread: Re: Home web server hosting
- Index(es):
Relevant Pages
|