Bluehost.com Web Hosting $6.95

Newbie question - web server

This is a discussion on Newbie question - web server within the Linux Networking forums, part of the Linux Forums category; I have been a MS Windows usser for many years but decided to take the plunge and build a web ...


Go Back   Usenet Forums > Linux Forums > Linux Networking

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 03-02-2004
Michael
 
Posts: n/a
Default Newbie question - web server

I have been a MS Windows usser for many years but decided to take the
plunge and build a web server with Linux. Although I have some
limited experience w/ html, this is a learning experience for me so
forgive my ignorance. Here is the situation:

I installed Linux, got Apache configured and working properly (per my
test to http:/localhost/), registered a domain name, and even found a
DNS hosting service. Now, what is the next step? I have a D-link
DL-604 firewall and DHCP is in effect from my ISP so there may be some
issues here. I am not sure what I need to do now to get everything to
work. Are there any step-by-step guides? Any help will be appreciated.
Reply With Quote
  #2 (permalink)  
Old 03-02-2004
David Efflandt
 
Posts: n/a
Default Re: Newbie question - web server

On 1 Mar 2004 19:54:11 -0800, Michael <msingletary@nc.rr.com> wrote:
> I have been a MS Windows usser for many years but decided to take the
> plunge and build a web server with Linux. Although I have some
> limited experience w/ html, this is a learning experience for me so
> forgive my ignorance. Here is the situation:
>
> I installed Linux, got Apache configured and working properly (per my
> test to http:/localhost/), registered a domain name, and even found a
> DNS hosting service. Now, what is the next step? I have a D-link
> DL-604 firewall and DHCP is in effect from my ISP so there may be some
> issues here. I am not sure what I need to do now to get everything to
> work. Are there any step-by-step guides? Any help will be appreciated.


On the DI-604 you need to forward port 80 to your Linux server. This most
reliable if your Linux box has a static IP on your LAN. But if your ISP
blocks port 80 you will have to configure your router and apache for some
other port (non-standard port would need to be included in URLs). Also
make sure that any Linux firewall is not blocking port used.

Once you get that working to your IP URL from an internet host (or another
PC on dialup), you need to figure out how to have your dynamic DNS hosting
service aquire your internet IP. Some of them have a client that can run
as a daemon behind a router to periodically have them grab your connecting
internet IP. However, when I was using a DI-704, I hacked its firmware to
display its WAN IP on its login page, where I could monitor it and update
DNS from a Perl LWP daemon script without having to log onto the router.

Now Linux is my adsl router, so I update DNS from /etc/ppp/ip-up (which
could similarly be done by dhcp related scripts for cable modem
connections).

--
David Efflandt - All spam ignored http://www.de-srv.com/
Reply With Quote
  #3 (permalink)  
Old 03-02-2004
Thomas Wilde
 
Posts: n/a
Default Re: Newbie question - web server

Hi !

Michael wrote:

> I have a D-link
> DL-604 firewall and DHCP is in effect from my ISP so there may be some
> issues here. I am not sure what I need to do now to get everything to
> work. Are there any step-by-step guides? Any help will be appreciated.


There are two issues:
- You probably want to use a dynamic DNS service to associate a domain
name with your (dynamic) internet-IP-adress. Try for example
www.dyndns.org. Most distros provide packages for dyndns (name is
ddclient, IIRC), which keep your DDNS-record at the provider up2date.
- You need to configure your router for port-forwarding. I don't know if
the DL-604 is able... the idea is:
incoming packets from the internet to your port 80 should be forwarded
to your linux-box port 80.

greez
Thomas
Reply With Quote
  #4 (permalink)  
Old 03-02-2004
Dan
 
Posts: n/a
Default Re: Newbie question - web server

On Tue, 02 Mar 2004 11:20:16 +0100, Thomas Wilde <thomas.wilde@gmx.de>
wrote:


>- You probably want to use a dynamic DNS service to associate a domain
>name with your (dynamic) internet-IP-adress. Try for example
>www.dyndns.org.


As far as I know, dyndns provides dynamic dns for your own domain name
for a fee. I would suggest www.zoneedit.com, as they provide a free
service. I use them and I use ddclient for the update.

Dan


Reply With Quote
  #5 (permalink)  
Old 03-02-2004
Grant Edwards
 
Posts: n/a
Default Re: Newbie question - web server

On 2004-03-02, Dan <dan@dontspammecauseidontlikit.com> wrote:

>>- You probably want to use a dynamic DNS service to associate a
>>domain name with your (dynamic) internet-IP-adress. Try for
>>example www.dyndns.org.

>
> As far as I know, dyndns provides dynamic dns for your own domain name
> for a fee.


True. It's free if you use a hostname under one of their
domains (e.g. mymachine.dnsalias.net).

> I would suggest www.zoneedit.com, as they provide a free
> service. I use them and I use ddclient for the update.


--
Grant Edwards grante Yow! I need "RONDO".
at
visi.com
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting 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 Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT +1. The time now is 10:58 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0