Changing hostnames throughout the server

FourMat

Active Member
Jun 10, 2004
36
0
156
Back a few months ago when I first set up my server, I used the hostname/domain server1.lakeandstream.com because it was the only domain that was available. Since that time, I have switched everything and freed up the original domain that I wanted to use. I have switched the server name over to server1.fourmattech.com through WHM. The problem is that I am still see the name server1.lakeandstream.com when it comes to some email functions.

For example if you look at this header, you can see two different server names sprinkled throughout, server1.lakeandstream.com, and server1.fourmattech.com,

Return-path: <[email protected]>
Envelope-to: [email protected]
Delivery-date: Fri, 08 Oct 2004 16:22:43 -0400
Received: from fourm3 by server1.fourmattech.com with local-bsmtp (Exim 4.42)
id 1CG1GD-0004sX-Sz
for [email protected]; Fri, 08 Oct 2004 16:22:43 -0400
Received: from [131.103.218.141] (helo=mail01c.rapidsite.net)
by server1.fourmattech.com with smtp (Exim 4.42)
id 1CG1GD-0004sR-O0
for [email protected]; Fri, 08 Oct 2004 16:22:41 -0400
Received: from mx04.bcrtfl01.us.mxservers.net (131.103.218.163)
by mail01c.rapidsite.net (RS ver 1.0.94vs) with SMTP id 2-0698626952
for <[email protected]>; Fri, 8 Oct 2004 16:22:36 -0400 (EDT)
Received: from server1.lakeandstream.com [69.44.56.220] (EHLO server1.fourmattech.com )
by mx04.bcrtfl01.us.mxservers.net (mxl_mta-1.3.8-10p4) with ESMTP id 416f6614.15835.089.mx04.bcrtfl01.us.mxservers.net;
Fri, 08 Oct 2004 16:18:28 -0400 (EDT)
Received: from 166-82-31-249.quickclick.ctc.net ([166.82.31.249] helo=magnum)
by server1.fourmattech.com with esmtpa (Exim 4.42)
id 1CG1G4-0004sO-46
for [email protected]; Fri, 08 Oct 2004 16:22:32 -0400
Reply-To: <[email protected]>
From: "Matt Hartman" <[email protected]>
To: <[email protected]>
Subject: This is a test
Date: Fri, 8 Oct 2004 16:22:50 -0400
Organization: FourMat Technologies, Inc
Message-ID: <[email protected]>
MIME-Version: 1.0
Content-Type: multipart/alternative;


Where can I go through and set the hostname to the proper one? The only reason I set up the temporary one was because I thought that I could change it easily. Thanks for the help!

FourMat
 

kioussis

Registered
Sep 7, 2004
4
0
151
Same here

I also have a similar problem. My old hostname seems to haunt me....! Any suggestions to fully get rid of my old hostname from the system?

Thanks,
Alex
 

FourMat

Active Member
Jun 10, 2004
36
0
156
The content of the /etc/hosts file says:

Code:
69.44.56.220       server1.fourmattech.com server1 fourmattech server1.lakeandstream.com
127.0.0.1             localhost
Can i safely remove the server1.lakeandstream.com from the end of this line?

Thanks.