Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 4

Warning: Function split() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 19

Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 4

Warning: Function split() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 19

Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 4

Warning: Function split() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 19

Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 4

Warning: Function split() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 19
help for etc/hosts
Results 1 to 4 of 4

Thread: help for etc/hosts

  1. #1

    help for etc/hosts

    Hi

    I'm just setup a Mail Server using a sendmail MTA but I don't familiar with the etc/hosts files. please give me an example what I put inside this file.
    thanks in advance

  2. #2
    in your hosts file simply add this information

    1). IP-Address
    2). Full-Qualified-Hostname
    3). Short-Hostname (alias of your system if any)

    IP-Address Full-Qualified-Hostname Short-Hostname

  3. #3

    Smile

    As an example format is should be,

    127.0.0.1 localhost.localdomain localhost
    192.168.1.1 abc.pqr.com abc

    where,
    abc is the host name
    pqr.com is the domain name
    LASANTHA

  4. #4
    Hi,
    Step3 in the following screencast shows how to edit the hosts file:
    http://www.netometer.com/video/indexkey.html?scalix.php

    BTW Scalix is a very nice mail server easy to install and configure, fast and cool web interface and not last there is a free community edition.

    Dean

Similar Threads

  1. dns/bind and /etc/hosts
    By ph34r in forum Linux - Hardware, Networking & Security
    Replies: 1
    Last Post: 12-06-2008, 06:36 AM
  2. HOSTS File
    By Lord_Anubis in forum Windows - General Topics
    Replies: 1
    Last Post: 01-14-2007, 03:38 AM
  3. Apache virtual hosts and DNS!
    By honey bee in forum Linux - Hardware, Networking & Security
    Replies: 2
    Last Post: 10-10-2006, 09:19 AM
  4. How to allow only specific hosts to log on via SSH
    By Compunuts in forum Linux - Hardware, Networking & Security
    Replies: 4
    Last Post: 08-25-2003, 07:35 AM
  5. hosts file
    By elovkoff in forum Linux - Hardware, Networking & Security
    Replies: 7
    Last Post: 05-16-2002, 06:15 PM

Bookmarks

Posting Permissions

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