LinuxQuestions.org
Review your favorite Linux distribution.
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 12-07-2004, 07:29 PM   #1
fng_#1
Member
 
Registered: Sep 2004
Location: Delaware
Distribution: Mandrake 10. + SuSe 9.1
Posts: 46

Rep: Reputation: 15
domain name change


hi guys,

I am in need of some help, i am setting up a postfix on my server and when i type the command domainname i get (none) hostname works but domain does not. how would I go about changing the domain name on my system and make the whole system see it, or at least change it at the core and then I could go about changing the rest

any help would be great

thank you
 
Old 12-07-2004, 07:42 PM   #2
amfoster
Member
 
Registered: Aug 2004
Distribution: debian, SuSE
Posts: 365

Rep: Reputation: 35
Use the domainname command

If not available, then in the start up files such as
/etc/rc.d/rc.local (Red Hat)
or /etc/rc.d/boot.local (SuSE)

create and export the domain name

export DOMAINNAME=example.com
 
Old 12-07-2004, 07:59 PM   #3
fng_#1
Member
 
Registered: Sep 2004
Location: Delaware
Distribution: Mandrake 10. + SuSe 9.1
Posts: 46

Original Poster
Rep: Reputation: 15
AWSOME thank you sooo much!!!

James
 
Old 12-08-2004, 12:10 AM   #4
uphu
Member
 
Registered: Dec 2004
Posts: 44

Rep: Reputation: 15
haha
 
  


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
Change user@host.domain to user@domain Wynand1 Linux - Networking 7 09-14-2004 12:56 AM
Domain Name Change lapthorn Linux - Networking 2 12-05-2003 01:12 AM
how to change domain name for login fwee Slackware 3 05-27-2003 09:10 AM
Change Domain Name cijunet Slackware 1 04-20-2003 02:50 PM
i like to change my domain name tarak4u Linux - Networking 2 06-04-2002 02:34 AM


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