Networking Forums

Networking Forums > Computer Networking > Linux Networking > Newbie question - web server

Reply
Thread Tools Display Modes

Newbie question - web server

 
 
Michael
Guest
Posts: n/a

 
      03-02-2004, 02:54 AM
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
 
 
 
 
David Efflandt
Guest
Posts: n/a

 
      03-02-2004, 09:12 AM
On 1 Mar 2004 19:54:11 -0800, Michael <(E-Mail Removed)> 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
 
Thomas Wilde
Guest
Posts: n/a

 
      03-02-2004, 09:20 AM
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
 
Dan
Guest
Posts: n/a

 
      03-02-2004, 01:26 PM
On Tue, 02 Mar 2004 11:20:16 +0100, Thomas Wilde <(E-Mail Removed)>
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
 
Grant Edwards
Guest
Posts: n/a

 
      03-02-2004, 02:02 PM
On 2004-03-02, Dan <(E-Mail Removed)> 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
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 On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
(Yet another) Newbie question Marten Kemp Network Routers 4 04-21-2008 11:09 PM
ISA server newbie question Bob Windows Networking 3 10-28-2005 06:53 PM
newbie windows server 2003 vpn setup question ms Windows Networking 3 03-19-2005 02:31 PM
Newbie server 2003 question. Jim Warren Windows Networking 1 05-03-2004 03:12 AM
Linux server features - newbie question VD Linux Networking 3 12-11-2003 03:16 PM



1 2 3 4 5 6 7 8 9 10 11