LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 03-14-2005, 11:19 PM   #1
gtgoku
Member
 
Registered: Jul 2003
Location: India
Distribution: Slackware 10; FreeBSD 4.10
Posts: 77

Rep: Reputation: 15
Question Setting up a Web Server


I am a complete newbie to networking and stuff in linux so please bare with me.
I want to setup a webserver but i dont seem to be getting anywhere.
I am running slack 10 with apache running.

The problem is i am having a dynamic ip and when i tracert my ip address given to me by my ISP (192.168.1.3) from http://www.dnsstuff.com/
I get this:
Can not route to 192.168.1.3
I went to http://www.whatismyip.com/ and found my ip to be 59.144.16.206 which i guess is the dynamic ip my ISP provides me, so when i try tracert to this ip , this what i get:
Quote:


Tracert to 59.144.16.206
Generated by www.DNSstuff.com at 05:16:50 GMT on 15 Mar 2005.

Hop Time 1 Time 2 Time 3 IP Hostname Return TTL Country Time
1 1 ms 6 ms 7 ms 216.26.129.91 [www.DNSstuff.com 1st hop] 252 UNITED STATES
2 1 ms 4 ms 4 ms 216.26.128.181 edge-rtr02.ge-0-3-0.sdf.xodiax.net. 252 UNITED STATES
3 7 ms 11 ms 11 ms 65.117.168.137 chi-edge-09.inet.qwest.net. 251 UNITED STATES
4 921 ms 926 ms 926 ms 205.171.20.121 chi-core-01.inet.qwest.net. 250 UNITED STATES
5 70 ms 59 ms 79 ms 205.171.8.193 svl-core-03.inet.qwest.net. 249 UNITED STATES Unix: 5:16:52.213
6 60 ms 70 ms 79 ms 205.171.205.30 pax-brdr-02.inet.qwest.net. 249 UNITED STATES
7 60 ms 70 ms 79 ms 205.171.1.2 [Missing reverse DNS entry] 247 UNITED STATES
8 60 ms 70 ms 79 ms 203.208.168.125 ge-3-3-0.plapx-cr2.ix.singtel.com. 247 SINGAPORE
9 68 ms 78 ms 87 ms 203.208.168.110 ge-4-0-0.plapx-ar3.ix.singtel.com. 245 SINGAPORE
10 310 ms 279 ms 289 ms 203.208.168.166 [Missing reverse DNS entry] 247 SINGAPORE
11 288 ms 298 ms 307 ms 61.95.180.5 [Missing reverse DNS entry] 246 INDIA Unix: 5:16:53.364
12 324 ms 340 ms 350 ms 61.95.240.130 [Missing reverse DNS entry] 245 INDIA
13 306 ms 286 ms 316 ms 61.95.227.134 ras-Chn-134.227.95.61.touchtelindia.net. 116 INDIA
14 * * *
15 * * *
16 * * *
17 * * *
[4 hops with no response; assuming we hit a firewall that blocks pings]

Done!

So can someone tell me whether i will be able to set up a webserver on this sytem.

I am having a Globespan Vitara Router and an ADSL connection.

Last edited by gtgoku; 03-14-2005 at 11:25 PM.
 
Old 03-14-2005, 11:22 PM   #2
puffinman
Member
 
Registered: Jan 2005
Location: Atlanta, GA
Distribution: Gentoo, Slackware
Posts: 217

Rep: Reputation: 30
192.168.1.3 is a local address (192.168.x.x is the local subnet). 59.144.16.206 is the address of the gateway, which would be the address that the rest of the world sees. You need to have the gateway forward web requests to your server, which the gateway would know as 192.168.1.3.

Last edited by puffinman; 03-14-2005 at 11:24 PM.
 
Old 03-14-2005, 11:26 PM   #3
gtgoku
Member
 
Registered: Jul 2003
Location: India
Distribution: Slackware 10; FreeBSD 4.10
Posts: 77

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by puffinman
192.168.1.3 is a local address (192.168.x.x is the local subnet). 59.144.16.206 is the address of the gateway, which would be the address that the rest of the world sees. You need to have the gateway forward web requests to your server, which the gateway would know as 192.168.1.3.
How should i get the gateway to forward web requests to my server.

Please Help
 
Old 03-14-2005, 11:34 PM   #4
alunduil
Member
 
Registered: Feb 2005
Location: San Antonio, TX
Distribution: Gentoo
Posts: 684

Rep: Reputation: 62
Assuming you are using a router, then you need to log into the router management tool which is usually located at http://192.168.1.1, but can be different. Inside of this utility you can set persistent port forwarding to forward your incoming transmissions on port 80 (the httpd port) to your web server.

Hope this helps,

Alunduil
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Setting up own web server kirtimaan_bkn Linux - Networking 14 11-20-2005 09:33 PM
Setting up a web server and not only that... axelwing Linux - Newbie 4 05-19-2005 09:40 AM
Setting up a web server Spyiish Mandriva 15 11-09-2004 08:06 PM
setting up password protected web forms on an apache web server AZDAVE Linux - Security 3 07-07-2004 12:03 PM
Help setting up web server KnightEagle Red Hat 4 10-05-2003 12:20 AM


All times are GMT -5. The time now is 08:41 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration