FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian User

 
 
LinkBack Thread Tools
 
Old 07-11-2008, 09:48 PM
"Stefan Schmidt"
 
Default FQDN vs. domain name

Hello,

there are three files on my vps which contain the following data inserted by my provider.

# /etc/hostname
lvps123-123-123-123.dedicated.hosteurope.de

# /etc/hosts
127.0.0.1 localhost localhost.localdomain
123.123.123.123 lvps123-123-123-123.dedicated.hosteurope.de lvps123-123-123-123

# /etc/mailname
lvps123-123-123-123.dedicated.hosteurope.de

First of all I think the /etc/hostname shouldn't contain the FQDN, but instead the hostname, in this case lvps123-123-123-123. I would like to replace all these values with my own domain name (mydomain.com), but I'm not sure if this is okay, because I don't want create subdomain and use it as a hostname (hostname.mydomain.com), so it's not a FQDN.

# /etc/hostname
mydomain

# /etc/hosts
127.0.0.1 localhost localhost.localdomain
123.123.123.123 mydomain.com mydomain

# /etc/mailname
mydomain.com

Is this setup okay, or could it cause problems?

Cheers, Stefan


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 

Thread Tools




All times are GMT. The time now is 08:26 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org