PDA

View Full Version : My Perfect (ISPConfig) Server


theashman
16th October 2008, 15:19
hey,
Thanks for looking.

I recently setup my own perfect server using ubuntu 7.10 by following the instructions in the perfect server tutorial on here. I first of all broke my internet connection and was unable to connect to the updater for ubuntu. I managed to fix that by changing some of the values mentioned in step 7 on this page:
http://www.howtoforge.com/perfect_server_ubuntu7.10_p3

i changed it to this:
# 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 dhcp
address 192.168.4.149
netmask 255.255.255.0
network 192.168.4.1
broadcast 192.168.0.255
gateway 192.168.4.1

and boom i had my internet connection back.

I setup my ubuntu using server1.example.com as mentioned in the tutorial but when it came to installing ISPC i couldn't use that address as domain it asks for when asking about mysql stuff etc... so i just entered 127.0.0.1 and i can access ISPC using that IP. I'm using virtual box and running ubuntu as a VM on windows xp. I tried entering that ip address to access ISPC from windows but it didnt work.

I now have a domain I would like to use and I have also discovered that my IP address is static. What inside ubuntu/ISPC do i need to change to make my server accessible externally?

Thanks for your help.

AcidKat
16th October 2008, 16:33
make the address static and forward the relevant ports in your router

Rocky
16th October 2008, 16:38
Yes, make the IP static and also make sure you have a FQDN registered for your setup.

theashman
16th October 2008, 16:44
FQDN? i purchased this domain: bimblebox.co.uk

which sections if ISPC do i edit?

sorry, im a total noob at this

Thanks

falko
17th October 2008, 13:58
If you use 127.0.0.1, you cannot access ISPConfig from the outside. You could've used 192.168.4.149 instead. For the hostname, you could create an A record at your domain registrar (e.g. server1.bimblebox.co.uk) that points to your router's public IP address.

You can change these settings in /home/admispconfig/ispconfig/lib/config.inc.php and /root/ispconfig/httpd/conf/httpd.conf. Restart ISPConfig afterwards.