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-03-2005, 10:48 PM   #1
anubhuti_k
LQ Newbie
 
Registered: Oct 2004
Location: India
Distribution: Suse 9.1
Posts: 29

Rep: Reputation: 15
uploading a website


Hi there
I am uploading a website of my institute comp society 'Utkarsh' on my intranet. it works fine. I have got Suse distro. It already has apache server. IP address of my server is 10.20.81.158. When i type 10.20.81.158 in address bar in any of the comps in LAN it gets the correct page but I want that on typing 'Utkasrh' in address bar I should get this websit. What shud i do?
Thanks
 
Old 02-04-2005, 04:49 AM   #2
bitpicker
Member
 
Registered: Jul 2003
Location: Germany
Distribution: Xubuntu, Ubuntu
Posts: 416
Blog Entries: 14

Rep: Reputation: 35
There's a file /etc/hosts (if not, try to find that file 'hosts' wherever it is). In this file you can enter the IP adress and the name you want your browser to use (just follow the examples included in the file). The browser takes the IP address from that file when you enter the name in the browser.

Robin
 
Old 02-04-2005, 10:11 AM   #3
anubhuti_k
LQ Newbie
 
Registered: Oct 2004
Location: India
Distribution: Suse 9.1
Posts: 29

Original Poster
Rep: Reputation: 15
thanks a lot! that worked but that way i will have to make that entry in etc files of all the comps in the lan..isnt there any way that i can do it in a simple so that i have to make the entry only on server..

Thanx
 
Old 02-04-2005, 03:10 PM   #4
bitpicker
Member
 
Registered: Jul 2003
Location: Germany
Distribution: Xubuntu, Ubuntu
Posts: 416
Blog Entries: 14

Rep: Reputation: 35
Depending on the size of the network you might want to look into setting up a NIS server. NIS distributes network relevant information to all NIS clients, so that, among other things, the NIS server provides hosts entries; it's somewhat similar to DNS but not the same thing. However, setting that up just for getting around editing the hosts file on each computer manually might prove to be more work in the end.

Robin
 
  


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
Auotmatic uploading nkutty Linux - Security 1 09-21-2005 09:14 AM
Uploading/creating/removing directories on website stevsom Linux - General 4 05-12-2005 03:19 AM
Uploading Files lmanwarren Linux - Software 1 03-21-2005 08:48 AM
Managing a Website - Uploading Files BionicJoe Linux - Software 1 02-11-2005 02:37 AM
squid proxy problem - website uploading? maggoty Linux - Software 0 03-14-2004 06:35 PM

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

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