Thread: ServerName
View Single Post
  #3   (View Single Post)  
Old 16th January 2009
Nk2Network Nk2Network is offline
Port Guard
 
Join Date: Jan 2009
Posts: 43
Default

hello

By defaut in my file hosts (127.0.0.1 localhost localhost.my.domain) I have just looked in my httpd.conf file at ServerName 12.34.56.78:80


Code:
sd-12706# vi /etc/hosts
# $FreeBSD: src/etc/hosts,v 1.16 2003/01/28 21:29:23 dbaker Exp $
#
# Host Database
#
# This file should contain the addresses and aliases for local hosts that
# share this file.  Replace 'my.domain' below with the domainname of your
# machine.
#
# In the presence of the domain name service or NIS, this file may
# not be consulted at all; see /etc/nsswitch.conf for the resolution order.
#
#
::1                     localhost localhost.my.domain
127.0.0.1               localhost localhost.my.domain
#
# Imaginary network.
#10.0.0.2               myname.my.domain myname
#10.0.0.3               myfriend.my.domain myfriend
#
# According to RFC 1918, you can use the following IP networks for
# private nets which will never be connected to the Internet:
#
#       10.0.0.0        -   10.255.255.255
/etc/hosts: unmodified: line 1

Last edited by Nk2Network; 16th January 2009 at 08:51 PM.
Reply With Quote