LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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 12-26-2006, 04:20 AM   #1
serabut
LQ Newbie
 
Registered: May 2006
Posts: 8

Rep: Reputation: 0
surfing a website within LAN


Hi,

here is my problem, i've setup one pc (linux) at my remote office to served as web server and ftp server. there is one router at this office. it only accessible (for administration) through web based interface, within LAN only.

how do i browse to this server from my linux machine. i've tried links, lynx and links2. none of them are working when it comes to clicking a buttons.

please help me.
 
Old 12-26-2006, 08:46 PM   #2
ScooterB
Member
 
Registered: Sep 2003
Location: NW Arkansas
Distribution: Linux Redhat 9.0, Fedora Core 2,Debian 3.0, Win 2K, Win95, Win98, WinXp Pro
Posts: 344

Rep: Reputation: 31
Is your lan and the lan at the other office using private IP's? Like through a VPN or something else. Can you ping the router at the other office? If you can, then can you ping the private IP of the web server? If you can, just go into your host file (etc/hosts) and add a line for it showing the private IP as the address. Entry would be something like:

www.yourdomain.com 111.222.333.444 (substitute private IP for the numbers)

When you have a default gateway to get out to the internet, and your server has a public IP and it will of course have the private IP, your gateway doesn't know what gto do with it. So if you edit your hosts file to reflect the private IP it should work just fine (assuning of course that you can ping the IP from your office). If not, then you have to resolve the router issue as well. Take a look at these things and then repost.
 
  


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
limited internet surfing with Suse Linux 10.0 and Fritz!Box DSL (LAN setting) quantumnicity Linux - Networking 4 02-14-2006 03:13 AM
Lan surfing Issues gunnyrock Linux - Networking 0 03-23-2004 04:27 PM
How to restrict website access in a LAN? mummrra Linux - Networking 3 12-05-2003 01:56 PM
LAN website twantrd Linux - General 9 10-22-2003 02:28 AM
LAN box needs to see my website? can see all but that? piratebiter Linux - Networking 3 09-11-2003 08:35 PM

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

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