Setting a domain name
jesse.kokkarinen at kapsi.fi
Sat Dec 23 18:30:53 UTC 2006
On Sat, Dec 23, 2006 at 11:58:45AM -0600, Ryan Forsyth wrote:
> ..now 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:
126.96.36.199 hostname.domain.com hostname
Hope this helped.
More information about the CRUX