LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 02-02-2004, 03:14 AM   #1
neyoung
LQ Newbie
 
Registered: Feb 2004
Posts: 17

Rep: Reputation: 0
View my site on network with url, not the local ip#


ok, I have my linux box and my windows box behind a linksys router. The linux box is setup with apache and the router has port 80 forwarded to the linux box. The only way that I can view my site on my network is by using the local ip #. I would like to be able to use the url to my site to view the page instead of the local ip. Is this posible, could it be a setting on my router?

Thanks a bunch,
Nick
 
Old 02-02-2004, 10:33 AM   #2
Pcghost
Senior Member
 
Registered: Feb 2003
Location: The Arctic
Distribution: Fedora, Debian, OpenSuSE and Android
Posts: 1,820

Rep: Reputation: 46
Do you have an entry in /etc/hosts resolving the ip and hostname of your linux box? If not, that is the first thing I would do. Then check network neighborhood on the windows machine to see if the Linux box appears correctly. At that point point your web browser to //compname/pagename.html and you should be set.

Additionally, you can also set the same entry (for the linux box), in /winnt/system32/drivers/etc/hosts on the WinXP machine. That should cure any resolving issues the machine may be having.

Last edited by Pcghost; 02-02-2004 at 10:34 AM.
 
Old 02-02-2004, 04:17 PM   #3
neyoung
LQ Newbie
 
Registered: Feb 2004
Posts: 17

Original Poster
Rep: Reputation: 0
Thanks that worked great! Just how I wanted it to work.
 
Old 02-02-2004, 07:51 PM   #4
Pcghost
Senior Member
 
Registered: Feb 2003
Location: The Arctic
Distribution: Fedora, Debian, OpenSuSE and Android
Posts: 1,820

Rep: Reputation: 46
Anytime. Welcome to LQ. :-)
 
  


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
apache virtual hosts: how do I view them on local network? wendallsan Linux - Software 2 01-16-2005 11:57 PM
forwarding url to local IP helot Linux - Networking 4 01-02-2005 08:53 AM
How do I link a file to a URL site. AZDAVE Linux - Networking 2 10-14-2004 06:30 PM
How to correlate web site URL with IP addr. in weblizer? htm Linux - Software 3 05-02-2004 08:02 PM
Unable to run webpage on local server using ip in the url MakingOfAGeek Linux - Newbie 16 11-15-2003 07:09 AM

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

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