LinuxQuestions.org
Help answer threads with 0 replies.
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 07-02-2005, 01:26 AM   #1
NanoFxJ
Member
 
Registered: Nov 2004
Location: Hacienda Heights, CA
Distribution: Debian
Posts: 60

Rep: Reputation: 15
can't see the server


Hi,
I just setup a Debian box, and I don't have any experience with setting up servers. So, I use apt to install apache2, and I also have a domain name from DynDNS point to my IP. My internet is cable and all my computers are behind a D-Link Router. I can see the Apache Welcome page on my other computer, but people outside of LAN can't see it. I just want to start with the basic of setting up apache, then later php, mysql.....and other services. What configurations I have to do? Any help will be appreciated, thanks in advance.
 
Old 07-02-2005, 09:18 AM   #2
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
You will need to login to your router and configure it to forward port 80 to the internal IP of your server. Any remote users should then be able to connect via your public IP address.
 
Old 07-02-2005, 04:48 PM   #3
NanoFxJ
Member
 
Registered: Nov 2004
Location: Hacienda Heights, CA
Distribution: Debian
Posts: 60

Original Poster
Rep: Reputation: 15
thanks for your reply
I did do that, but people still can't see it....I used the virtual server setting in D-Link's router
 
Old 07-02-2005, 04:59 PM   #4
Darkborg
LQ Newbie
 
Registered: Jul 2005
Posts: 9

Rep: Reputation: 0
Have you cheked your firewall?
 
Old 07-02-2005, 05:09 PM   #5
NanoFxJ
Member
 
Registered: Nov 2004
Location: Hacienda Heights, CA
Distribution: Debian
Posts: 60

Original Poster
Rep: Reputation: 15
my firewall is open for that port too
 
Old 07-02-2005, 06:03 PM   #6
Brian1
LQ Guru
 
Registered: Jan 2003
Location: Seymour, Indiana
Distribution: Distribution: RHEL 5 with Pieces of this and that. Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700

Rep: Reputation: 65
Just to make sure disable the firewall completely on the server to rule it out and see if you can see the web server from outside. Since it can be seen from other computers I doubt that this is it. But it does not hurt to rule it out.

Also have you tried typing in your external IP instead of the domain name. http://x.x.x.x of your external routers IP.

Posiable your provider has block use of common ports. Configure the router to port forward an outside port of say 8888 to internal port 80 of machine.

Not sure how dyndns works but maybe it can be configured so when you type in your domain name that it points to your External IP and say port 8888 if cable provider blocks common ports.

Brian1
 
Old 07-02-2005, 09:06 PM   #7
stefan_nicolau
Member
 
Registered: Jun 2005
Location: Canada
Distribution: Debian Etch/Sid, Ubuntu
Posts: 529

Rep: Reputation: 32
Quote:
Not sure how dyndns works but maybe it can be configured so when you type in your domain name that it points to your External IP and say port 8888 if cable provider blocks common ports.
No, dyndns is just a regular dns, but you update it often. People will have to access your site at http://www.you.dyndns.org:8888, if you decide to use port 8888. Be aware that this can cause proxy problems.

Note: Are you trying to contact your external ip address from your own network? On many rouers, this won't work.
 
Old 07-02-2005, 09:30 PM   #8
NanoFxJ
Member
 
Registered: Nov 2004
Location: Hacienda Heights, CA
Distribution: Debian
Posts: 60

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by stefan_nicolau

Note: Are you trying to contact your external ip address from your own network? On many rouers, this won't work.
I can see the apache welcome page from a browser on a machince within the lan, but I want people outside my network to see the web page, too.

Quote:
Brian1Configure the router to port forward an outside port of say 8888 to internal port 80 of machine.
I don't know how to do that, do you have any experience doing it with D-Link 604 Router?

Thanks

Last edited by NanoFxJ; 07-02-2005 at 09:35 PM.
 
Old 07-02-2005, 10:02 PM   #9
stefan_nicolau
Member
 
Registered: Jun 2005
Location: Canada
Distribution: Debian Etch/Sid, Ubuntu
Posts: 529

Rep: Reputation: 32
Quote:
I can see the apache welcome page from a browser on a machince within the lan, but I want people outside my network to see the web page, too.
I know. What I am asking is if you are performing the tests from your own LAN, or from some other place.

Quote:
I don't know how to do that, do you have any experience doing it with D-Link 604 Router?
On the di-624, you must create a virtual server and set 'public port' to 8888 and 'private port' to 80
Before doing this, check that your ISP is really blocking port 80.
 
Old 07-02-2005, 11:29 PM   #10
NanoFxJ
Member
 
Registered: Nov 2004
Location: Hacienda Heights, CA
Distribution: Debian
Posts: 60

Original Poster
Rep: Reputation: 15
Quote:
I know. What I am asking is if you are performing the tests from your own LAN, or from some other place.
From my own LAN

Quote:
On the di-624, you must create a virtual server and set 'public port' to 8888 and 'private port' to 80
Before doing this, check that your ISP is really blocking port 80.
I have a DI-604, but it should not be a big difference. Thanks.
 
Old 07-03-2005, 06:25 AM   #11
stefan_nicolau
Member
 
Registered: Jun 2005
Location: Canada
Distribution: Debian Etch/Sid, Ubuntu
Posts: 529

Rep: Reputation: 32
Quote:
From my own LAN
On many/most routers, if you are on the lan side and you attempt to access the router by its public ip, it will fail. Ask a friend to try to connect to your web site in order to know if you really have a problem.

Quote:
I have a DI-604, but it should not be a big difference. Thanks.
THe DI-624 is the wireless version of the DI-604.
 
Old 07-03-2005, 10:14 AM   #12
Brian1
LQ Guru
 
Registered: Jan 2003
Location: Seymour, Indiana
Distribution: Distribution: RHEL 5 with Pieces of this and that. Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700

Rep: Reputation: 65
Doing a little research on dyndns and wondered if you went through thier tech and faq questions. Go over these questions from thier site and see if any of these are the problem. http://www.dyndns.com/support/kb/arc...my_server.html

Brian1
 
Old 07-03-2005, 12:48 PM   #13
NanoFxJ
Member
 
Registered: Nov 2004
Location: Hacienda Heights, CA
Distribution: Debian
Posts: 60

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by Brian1
Doing a little research on dyndns and wondered if you went through thier tech and faq questions. Go over these questions from thier site and see if any of these are the problem. http://www.dyndns.com/support/kb/arc...my_server.html

Brian1
Thanks, I read through it and several other articles in it, and I figured that my ISP blocked the port 80. So I tried the web hop service they have, and now it works fine
 
Old 07-03-2005, 02:35 PM   #14
Brian1
LQ Guru
 
Registered: Jan 2003
Location: Seymour, Indiana
Distribution: Distribution: RHEL 5 with Pieces of this and that. Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700

Rep: Reputation: 65
I hate those ISP that stop someone from using common ports.
Glad to see you have it going

Brian1
 
  


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
How the DNS-server is connected to work of a web-server and a mail-server? ukrainet Linux - Newbie 2 01-10-2005 09:18 PM
Relay Server<-> GatewayServer<->filtering server: PostFix, amavis,spamassassin, cyrus admore Linux - General 0 11-02-2004 08:46 AM
can we configure a Linux server with mail server,file server and web server kumarx Linux - Newbie 5 09-09-2004 06:21 AM
Unable to access my ssh server and ftp server from the Internet, but smtp works foxone Linux - Networking 1 05-28-2004 05:17 PM
How do you make the ip masquerade server/dhcp server broadcast dns to lan cmisip Linux - Networking 6 01-25-2003 10:43 PM

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

All times are GMT -5. The time now is 03:45 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