Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Thread Tools Display Modes
Old 11th September 2009, 00:32
Sneblot Sneblot is offline
Junior Member
Join Date: Jul 2009
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default Problem with network configuration.

I have ran into a problem whilst following a tutorial showing me how to set up a debian server the problem I have is configuring the network. Ok I have done this so far

vi /etc/network/interfaces

# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
auto eth0
iface eth0 inet static
address 'set to server static ip'
network 'set to my home network'
broadcast 'set'
gateway 'set'

Then restart your network:

/etc/init.d/networking restart

Then edit /etc/hosts. Make it look like this:

vi /etc/hosts localhost.localdomain localhost 'set to domain and server name'

# The following lines are desirable for IPv6 capable hosts
::1 localhost ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts

Its now asking me to run this command but when I try to nothing happens

Now run

echo 'my server address' > /etc/hostname
/etc/init.d/hostname.sh start
> Then it says to run this command
> hostname
> hostname -f

hostname command displays the hostname but when I run hostname -f it says hostname look up failure.

Is there any reason for this am I missing out a step?

The tutoril I am following is the howtoforge one.
Reply With Quote
Sponsored Links
Old 11th September 2009, 14:57
falko falko is offline
Super Moderator
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,752 Times in 2,582 Posts

Do you use the same IP in /etc/hosts that you use in /etc/network/interfaces?
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
Old 11th September 2009, 19:19
Sneblot Sneblot is offline
Junior Member
Join Date: Jul 2009
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts

Yep same ip address but Im going to re-install and see if I get stuck at the same place again. Then I'll repoer back
Reply With Quote
Old 13th September 2009, 08:11
bajodel bajodel is offline
Join Date: Jul 2007
Location: Italy
Posts: 63
Thanks: 26
Thanked 12 Times in 11 Posts

Originally Posted by Sneblot View Post
echo 'my server address' > /etc/hostname
in hostname put the 'hostname', not the ip ..

# echo [hostname] > /etc/hostname

but it's not effective until reboot.. so manually do also..

# hostname [hostname]


Reply With Quote


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Virtual Users And Domains With Postfix, Courier, MySQL And SquirrelMail -Ubuntu 8.04 c4rdinal HOWTO-Related Questions 112 23rd August 2011 11:49
Debian network problem with HP Proliant DL160 G5 mrazicek Installation/Configuration 1 15th August 2008 19:01
bind9 configuration problem Bakty1975 Server Operation 6 11th August 2008 15:04
Slow network performance reading data JoeySpace Installation/Configuration 2 10th April 2007 18:42
Problem sending mail to 2nd SMTP server inside network kisong Server Operation 2 2nd March 2006 19:05

All times are GMT +2. The time now is 12:15.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.