LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 08-04-2004, 12:19 PM   #1
lawadm1
Member
 
Registered: Jul 2003
Location: Illinois
Distribution: Fedora 11, Ubuntu 9.04
Posts: 80

Rep: Reputation: 15
Question Accessing Web Server over Internet


This may be a dumb question, but I am not familiar with how this works quite yet.

I have Fedora Core 2 and I'm running Apache. I'm able to access the web page from all PC's on my network. Now my question is, can I access my web page over the internet from any other PC?

If I have the IP Address for my cable modem, is that all I need?

I also have a Linksys router between the cable modem and PC's, so will there need to be some router setting changes that need to be made as well?

Thanks,
 
Old 08-04-2004, 12:39 PM   #2
belorion
Member
 
Registered: Aug 2003
Distribution: Slackware 10.0
Posts: 124

Rep: Reputation: 16
Yes, you can.

First thing you need is your cable modem IP, which it sounds like you have.
Second thing you need to do is to tell your firewall to port forward any requests on port 80 to the local ip of your server.

That should do the trick.
 
Old 08-04-2004, 01:17 PM   #3
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,592

Rep: Reputation: 5880Reputation: 5880Reputation: 5880Reputation: 5880Reputation: 5880Reputation: 5880Reputation: 5880Reputation: 5880Reputation: 5880Reputation: 5880Reputation: 5880
Furthermore,
Set the gateway on the webserver to your routers internal IP address.
You should be able to access the webserver if you know the IP address assigned to the WAN port of the router (myip.com or look at the routers configuration page).
http://ipaddress
or
sign up for at a dynamic IP service like noip.com and then anyone can your access your site without knowing the IP address
http://yoursite.com
 
Old 08-04-2004, 07:36 PM   #4
lawadm1
Member
 
Registered: Jul 2003
Location: Illinois
Distribution: Fedora 11, Ubuntu 9.04
Posts: 80

Original Poster
Rep: Reputation: 15
Well I got the IP address for my modem, but whenever someone puts that IP address in their browser, it brings up the router sign in form.

I tried to enter the destination IP of my fedora box in the advanced routing section of my router config page, but it doesn't seem to be working.

Not sure how to tweak the router firewall since it only has 'enable' or 'disable'.

Also, if you could let me know where to enter the cable modem IP on the fedora box (as the gateway), I would appreciate it. Is it in the httpd.conf file?

Thanks.....
 
Old 08-04-2004, 07:51 PM   #5
lawadm1
Member
 
Registered: Jul 2003
Location: Illinois
Distribution: Fedora 11, Ubuntu 9.04
Posts: 80

Original Poster
Rep: Reputation: 15
Nevermind...I got it!

I needed to enter the info into the 'port range forward' page. I was in the wrong spot. WORKS GREAT!

Thanks for all your help!!
 
  


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
Accessing server remotely through internet? redrobin77 Fedora 5 11-19-2005 07:03 PM
Accessing Apache server from internet wisdom Linux - Networking 3 12-22-2004 11:05 AM
Accessing web server by the domain name technician Linux - Networking 6 12-01-2004 02:21 PM
PROBLEM WITH ACCESSING WEB PAGE FROM INTERNET EXPLORER ON A XP MACHINE TO SuSE 9.0 Adrian13 Linux - Networking 2 10-19-2004 11:17 PM
Problems accessing my RH9 Apache web server from the URL! kman2045 Linux - Networking 7 01-10-2004 08:14 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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

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