LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 06-09-2004, 06:20 AM   #1
jax8
Member
 
Registered: Feb 2004
Location: Australia
Distribution: Ubuntu, Fedora 10
Posts: 632

Rep: Reputation: 31
setting up web server and D-Link router


Hi All

I am setting up a web server from my machine at home.

I have a ADSL connection and am using a D-Link DSL-504G router.

The web server is set up correctly and works fine.

I just need to know how to configure the router for port forwarding. I know where to do this but I dont really know what I should do. Here is the current port forwarding configuration in the D-Link router


Code:
Virtual Servers List 
#           Private IP             Protocol             Private Port                Public Port   
1           10.1.1.2                All                       80                                 80
How do you access the web server from outside the lan? I have currently been doing

293.245.323.445:80

Is this right?

Is there anything else I need to do set up on the web server maching?

I am running FEDORA CORE 1, with the default APACHE web server
 
Old 06-09-2004, 06:35 AM   #2
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,702

Rep: Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895
Can you access the web server from the internet?

BTW a web browser assumes a web server is using port 80.

I assume 293.245.323.445 is a dynamic address. You can use one of the free dynamic IP address website like noip.com. This provides a hostname that always points to your IP address.
 
Old 06-09-2004, 11:54 AM   #3
phatboyz
Member
 
Registered: Feb 2004
Location: Mooresville NC
Distribution: CentOS 4,Free BSD,
Posts: 358

Rep: Reputation: 30
I am really supriesed that your ISP is letting you server web pages. Usually they block port 80 so users can not host web sites. In your TOS it will tell you this.

What you should do is get a static ip, register a domain name, use port forwarding to use another port that you ISP doens't block
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Wireless Router D-Link DSL-G604T - intermittent web page retrieval on Fedora Core 4 shogunmike Linux - Wireless Networking 3 07-05-2005 01:29 AM
ADSL Router Web configuration pages appears instead of Personal Web Server Pages procyon Linux - Networking 4 12-20-2004 05:44 PM
setting up password protected web forms on an apache web server AZDAVE Linux - Security 3 07-07-2004 12:03 PM
D-link router and web server problem peteABK Linux - Networking 0 06-02-2003 03:30 PM
router, name server, web server, ssh, mailserver dilberim82 Linux - Security 9 07-26-2001 06:14 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 10:09 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration