04-11-04 11:34 PM
martinsmith34 wrote:
> Im trying to setup a webserver at home.
Read this tutorial very carefully:
http://www.diywebserver.com/index.php
> My ISP uses static IP, therefore I use Zoneedit.com.
You need to clearly state if you are using a
"dynamic" connection or a "static" connection.
Dynamic means your ip address changes frequently,
usually each time you logon to your server. Setting
up a webserver for dynamic ip addresses is challenging
and inherently, there are a lot of problems.
Static address, piece of cake.
You will not use Zone Edit if you have a static
ip address connection.
> They gave me two nameservers which I should...
> I have done that more than 72 hours ago.
Allow seven to fifteen days for your domain name
server address to propagate. You will not be
able to connect in seventy-two hours, very
rarely does this happen.
> that im using a D-link DI-604 to share the ADSL
> altogheter three computers. (One webserver)
WAN connection on your router plugs into
your DSL modem. Be sure you use the right
type of cable, straight versus cross over.
LAN 1 - computer one
LAN 2 - computer two
LAN 3 - computer three (Apache)
Again, check your cable type needed.
Turn off dynamic address assignment inside
your router. Set it for static addresses.
Using a typical 192.168.1.x address scheme,
computer 1 - 192.168.1.2
computer 2 - 192.168.1.3
computer 3 - 192.168.1.4 (Apache)
Set your router to forward port 80 to your
computer three which is loaded with Apache.
Addresses can be changed to your liking
just be sure port 80 is forwarded to
your Apache machine.
Note a block of ip addresses inside your
router are reserved and cannot be used.
They are for dynamic addressing.
You are good to go once you work past your
DSL connection concerns. I know little about
Zone Edit and understand only the basis of
how sites like that work.
Be sure your Zone Edit software is installed
correctly and running, at all times.
Your router should be configured with several
items for its frontend connection to your
DSL modem.
Dynamic connection addressing, if dynamic is
what you are actually using.
At least two domain name servers (DNS) provided
by your DSL company. Those are used only for
your browser connections, outward.
Your router device address, often an address
of 192.168.1.1 or similar.
Subnet mask, most often 255.255.255.0
You need to clarify if your DSL connection is
via dynamic addresses or a static address.
This makes a critical difference in router
configuration and your server DNS needs.
Consult your router manual to be sure all
is configured correctly.
> I know that my ISP allows webservers and keeps port 80 open.
This is extremely rare unless you have a commercial
level account. If not allowed, your DSL provider
will shut off your connection via your modem MAC
address, as soon as they scan and discover a
webserver on your line. Check with them.
Address security, instantly, like right now.
Do not enable Apache as an internet server
until you address security. If you do not
address security, your machine will be taken
over in less than twenty-four hours. You
are broadcasting the location of your
router and machines. People with less than
good intent, will be visiting.
You are running an NT 5 machine which is the
most insecure machine made to date.
Ninety percent of your efforts should directed
at addressing very high level security.
Purl Gurl
[ Post a follow-up to this message ]
|