View Single Post
  #9  
Old 17th March 2012, 11:25
tjw tjw is offline
Junior Member
 
Join Date: Feb 2012
Posts: 8
Thanks: 2
Thanked 0 Times in 0 Posts
Default

Code:
[root@tj ~]# ifconfig
eth0      Link encap:Ethernet  HWaddr 00:E0:4C:F3:48:27
          inet addr:192.168.0.110  Bcast:192.168.0.255  Mask:255.255.255.0
          inet6 addr: fe80::2e0:4cff:fef3:4827/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:5651 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1246 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:621356 (606.7 KiB)  TX bytes:253892 (247.9 KiB)
          Interrupt:23

eth0:0    Link encap:Ethernet  HWaddr 00:E0:4C:F3:48:27
          inet addr:192.168.0.111  Bcast:192.168.0.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          Interrupt:23

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:4974 errors:0 dropped:0 overruns:0 frame:0
          TX packets:4974 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:737486 (720.2 KiB)  TX bytes:737486 (720.2 KiB)

[root@tj ~]#

Not sure if this is needed either but my /etc/hosts file is the following

127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4
192.168.0.110 tj.server.com tj
::1 localhost localhost.localdomain localhost6 localhost6.localdomain6

Should I add one for 192.168.0.111?

I would guess adding the following line

"192.168.0.111 'example.com'" //where example.com is the domain name for the site

Last edited by tjw; 18th March 2012 at 02:27.
Reply With Quote