LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 06-20-2004, 09:13 PM   #1
tommytomato
Member
 
Registered: Nov 2003
Location: Narrogin Western Australia
Distribution: GUI Ubuntu 12.04 - Server 12.04.4 LTS
Posts: 935

Rep: Reputation: 32
viewing URL's on local network


Hello we have a short problem

We are able to view our url's ( domain names ) via XP browser ok
as long as we edit the hosts file on Win and Linux.

sample : 192.168.2.16 www.my_domain_name.com
192.168.2.16 my_domain_name.com

how ever when trying to add in a address like so 192.168.1.56:81 on a win hosts file.

We cant not view the url ( www.my_domain_name.com )

Server dumbie is 192.168.1.56:81 www.my_domain_name.com

Can any one tells us what's going on, or can it be done ?



TT
 
Old 06-20-2004, 09:56 PM   #2
michaelk
Moderator
 
Registered: Aug 2002
Posts: 11,753

Rep: Reputation: 719Reputation: 719Reputation: 719Reputation: 719Reputation: 719Reputation: 719Reputation: 719
AFAIK the hosts file is just an IP address to name translation and does not include information about specific ports. The default webserver port is 80. If your server is running on another port then the URL will be:
www.name.com:81

Then just bookmark that URL. If anyone else has a better idea....
 
Old 06-21-2004, 12:06 AM   #3
indeterminate
Member
 
Registered: Oct 2003
Location: Virginia, US
Distribution: Debian, Ubuntu, Knoppix.
Posts: 76

Rep: Reputation: 17
Heh, if you *really* want multiple private domain names for each computer on your LAN or whatever, you can always install BIND or some other dns server, and point all the desktops to that. There are some minor pluses to doing this anyway, like setting it up as a caching nameserver, but configuring it can be a bit of a pain. Good thing there are howtos everywhere. Just make sure the box with bind isn't accessible from outside the lan.

[edit] oh yeah, you might also have to set up virtual servers, so when a different name is requested it forwards it to a different port. or something. i'm not entirely sure what I was talking about when I started this reply...

Last edited by indeterminate; 06-21-2004 at 12:10 AM.
 
  


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 On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Trouble viewing .php on local apache server using Mozilla shortname Linux - Software 2 03-25-2005 03:07 PM
Viewing a network drive Omnica Linux - Networking 3 01-18-2005 10:25 AM
Cannot resolve local addresses on local network danielgrenyer Linux - Networking 6 01-14-2004 11:03 AM
Viewing Windows Network johnnabn Linux - Networking 3 04-06-2003 06:04 PM
Viewing Network Keith Miller Linux - Networking 1 02-08-2003 10:14 AM


All times are GMT -5. The time now is 02:30 PM.

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