Setting a domain name

Jesse Kokkarinen jesse.kokkarinen at
Sat Dec 23 18:30:53 UTC 2006

On Sat, Dec 23, 2006 at 11:58:45AM -0600, Ryan Forsyth wrote:
> I would like to assign a domain name 
> to my system. I have the domain registered already, and the DNS is set 
> up and I can access the domain and it goes to my system fine, but when I 
> do `domainname` it returns `(none)`.
> I'm accustomed to slackware's netconfig for managing the domain name on 
> a server and I just can't seem to find a proper document or anything to 
> show me how to do this manually.

Edit /etc/hosts and you will be good to go.

Add something like this: hostname

Hope this helped.

More information about the CRUX mailing list