LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-25-2004, 12:23 PM   #1
blackhound
LQ Newbie
 
Registered: Feb 2004
Posts: 4

Rep: Reputation: 0
hostname


can i use more than one hostname for a linux box with a single public ip address ?
suppose
i have a machine running redhat 9 with the public ip 203.76.97.82.it is connected through eth0. currently i set the hostname ns1.itsmeblack.com
can i use smtp.itsmeblack.com,pop.itsmeblack.com,webmail.itsmeblack.com agaist this same ip address?
should i edit the /etc/hosts file or i need make vhost?

thanx in advance
 
Old 02-25-2004, 01:28 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
I think that you're misunderstanding something here.

What you're talking about must be host-lookup/
DNS entries ... You want other machines to know
that server under different names. That has nothing
to do with the machines hostname but with aliases
known to the rest of the net/world. If you want the
machine itself to be able to refer to itself by different
names you can edit the /etc/hosts on it, or set-up
DNS accordingly.


Cheers,
Tink
 
Old 02-25-2004, 05:49 PM   #3
blackhound
LQ Newbie
 
Registered: Feb 2004
Posts: 4

Original Poster
Rep: Reputation: 0
thanx guru
 
  


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
hostname gururaj Linux - Networking 2 01-05-2006 06:02 PM
hostname changes R153-Ab0V3 Linux - Newbie 6 01-11-2004 12:36 AM
Hostname jpauls104 Slackware 5 07-28-2003 01:16 PM
Hostname _maco_ Linux - General 3 07-07-2003 08:44 PM
hostname command vs. $HOSTNAME env. variable Silly22 Linux - Networking 2 03-29-2002 06:01 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:51 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration