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 ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
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 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/ |
|
|||
|
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 |
|
|||
|
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 |
|
|||
|
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 |