LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   domain name change (https://www.linuxquestions.org/questions/linux-newbie-8/domain-name-change-263805/)

fng_#1 12-07-2004 06:29 PM

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

amfoster 12-07-2004 06:42 PM

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

fng_#1 12-07-2004 06:59 PM

AWSOME thank you sooo much!!!

James

uphu 12-07-2004 11:10 PM

haha


All times are GMT -5. The time now is 10:02 AM.