+ Post New Thread
Results 1 to 7 of 7
*nix Thread, Ubuntu Server FQ Domain name not set in Technical; ..so how do you set it?...
  1. #1
    mark's Avatar
    Join Date
    Jun 2005
    Posts
    3,987
    Thank Post
    271
    Thanked 52 Times in 46 Posts
    Blog Entries
    2
    Rep Power
    48

    Ubuntu Server FQ Domain name not set

    ..so how do you set it?


  2. #2

    Geoff's Avatar
    Join Date
    Jun 2005
    Location
    Fylde, Lancs, UK.
    Posts
    11,850
    Thank Post
    110
    Thanked 598 Times in 514 Posts
    Blog Entries
    1
    Rep Power
    227

    Re: Ubunto Server FQ Domain name not set

    Is the machine using DHCP or not?

    If it is, your DHCP server is misconfigured.
    If it isn't, edit /etc/hosts and /etc/resolv.conf

  3. #3
    mark's Avatar
    Join Date
    Jun 2005
    Posts
    3,987
    Thank Post
    271
    Thanked 52 Times in 46 Posts
    Blog Entries
    2
    Rep Power
    48

    Re: Ubunto Server FQ Domain name not set

    not on DHCP no - static IP - thanks- I'll go take a looksie

  4. #4

    Geoff's Avatar
    Join Date
    Jun 2005
    Location
    Fylde, Lancs, UK.
    Posts
    11,850
    Thank Post
    110
    Thanked 598 Times in 514 Posts
    Blog Entries
    1
    Rep Power
    227

    Re: Ubunto Server FQ Domain name not set

    Yeah, just check the entry for 127.0.0.1 in /etc/hosts. Mine looks like this:

    Code:
    127.0.0.1 offpc06l.carrhill.lancs.sch.uk localhost

  5. #5
    mark's Avatar
    Join Date
    Jun 2005
    Posts
    3,987
    Thank Post
    271
    Thanked 52 Times in 46 Posts
    Blog Entries
    2
    Rep Power
    48

    Re: Ubunto Server FQ Domain name not set

    Ah - bin there before

    hosts contains:

    127.0.0.1 localhost <full server name> <short name>
    <IP of ubuntu server> <full server name> <short name>


    The resolv.conf file contains:

    search <full domain name>
    nameserver <ip of name server>

  6. #6

    Geoff's Avatar
    Join Date
    Jun 2005
    Location
    Fylde, Lancs, UK.
    Posts
    11,850
    Thank Post
    110
    Thanked 598 Times in 514 Posts
    Blog Entries
    1
    Rep Power
    227

    Re: Ubunto Server FQ Domain name not set

    The order is important! For the 127.0.0.1 line move the 'localhost' entry to the end.

  7. #7
    mark's Avatar
    Join Date
    Jun 2005
    Posts
    3,987
    Thank Post
    271
    Thanked 52 Times in 46 Posts
    Blog Entries
    2
    Rep Power
    48

    Re: Ubunto Server FQ Domain name not set

    Yay! It works

    Thanks Geoff



SHARE:
+ Post New Thread

Similar Threads

  1. Ubuntu VPN Server
    By Jackd in forum *nix
    Replies: 1
    Last Post: 9th December 2007, 10:48 PM
  2. Ubuntu Server Error
    By Jackd in forum *nix
    Replies: 5
    Last Post: 2nd October 2007, 09:25 PM
  3. Ubuntu On Windows Domain
    By FN-GM in forum Windows
    Replies: 5
    Last Post: 27th July 2007, 02:11 AM
  4. Replies: 28
    Last Post: 20th November 2006, 04:44 PM
  5. Replies: 18
    Last Post: 8th July 2006, 01:13 AM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •