LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices


Reply
  Search this Thread
Old 10-03-2005, 10:25 AM   #1
varun_saa
Member
 
Registered: Dec 2004
Posts: 188

Rep: Reputation: 30
hostname problem


Hello,
I changed my hostname from :

dataserve.mylab.org to smtp.saice.edu
a while a ago.

But when I open say a PHP based software in the
browser my old hostname shows up as hostname

as root the command hostname yields - smtp.saice.edu.

I rebooted the system already several times.

So why is ti still piking my old hostname from
somewhere ???

Any idea how to fix the problem ?

Thanks

varun
 
Old 10-03-2005, 10:36 AM   #2
ralvez
Member
 
Registered: Oct 2003
Location: Canada
Distribution: ArchLinux && Slackware 10.1
Posts: 298

Rep: Reputation: 30
did you "tell" apache that you changed your host name?
Take a look at your httpd.conf file to make sure.

Rick
 
Old 10-03-2005, 08:47 PM   #3
rjcrews
Member
 
Registered: Apr 2004
Distribution: Debian
Posts: 193

Rep: Reputation: 30
add the line

ServerName smtp.saice.edu

in httpd.conf (at the top)and restart apache

I am assuming you did

hostname smtp.saice.edu

to change it and it didnt work?
 
Old 10-04-2005, 12:47 AM   #4
varun_saa
Member
 
Registered: Dec 2004
Posts: 188

Original Poster
Rep: Reputation: 30
Thanks all.

Actually I checked my /etc/host file
and it had the old entry as well.

But your hint enough to get me thru'

Thanks

Varun
 
  


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 problem suresheva31 Linux - Networking 2 10-12-2004 11:40 PM
Hostname - Problem ??? aurelio26 Linux - Newbie 3 10-04-2004 12:06 AM
hostname problem jnewing Red Hat 1 06-01-2004 06:23 PM
hostname command vs. $HOSTNAME env. variable Silly22 Linux - Networking 2 03-29-2002 05:01 PM
problem with hostname jackopa Linux - General 2 11-12-2001 02:13 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva

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