View Full Version : extreamly newb question....
gatsu
9th December 2006, 07:05
Okay so i've been using linux for about a week now, gone through ~5 distros for desktop. And ubuntu server. I followed the instruction for the perfect ubuntu server 6.10. Everything is installed. Now how do i access ispconfig? i try the computers ip and it doesn't work.
I have no idea what i did wrong, or am doing wrong. tried http and https. Help Please.
spent the last 28 hours trying to set up this server.
edge
9th December 2006, 11:01
What error do you get when trying to access ispconfig, and are you trying to access it from an other computer that is on your lan?
gatsu
10th December 2006, 04:46
yes i can get in the server machine through putty. But cant access ispconfig any which way....
falko
10th December 2006, 14:49
What's the output of netstat -tap and iptables -L?
edge
10th December 2006, 14:57
yes i can get in the server machine through putty. But cant access ispconfig any which way....
Also..
Are you accessing the server with putty by IP, or by domainname?
What do you see when you do http://IP_of_server or https://IP_of_server
gatsu
11th December 2006, 09:56
iptables -L
root@server1:/home/administrator# iptables -L
Chain INPUT (policy ACCEPT)
target prot opt source destination
Chain FORWARD (policy ACCEPT)
target prot opt source destination
Chain OUTPUT (policy ACCEPT)
target prot opt source destination
netstat -tap
root@server1:/home/administrator# netstat -tap
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 *:mysql *:* LISTEN 3 460/mysqld
tcp 0 0 server1.pitbullg:domain *:* LISTEN 3 358/named
tcp 0 0 localhost:domain *:* LISTEN 3 358/named
tcp 0 0 *:smtp *:* LISTEN 3 701/master
tcp 0 0 localhost:953 *:* LISTEN 3 358/named
tcp6 0 0 *:imaps *:* LISTEN 3 595/couriertcpd
tcp6 0 0 *:pop3s *:* LISTEN 3 628/couriertcpd
tcp6 0 0 *:pop3 *:* LISTEN 3 607/couriertcpd
tcp6 0 0 *:imap2 *:* LISTEN 3 576/couriertcpd
tcp6 0 0 *:www *:* LISTEN 3 827/apache2
tcp6 0 0 *:ftp *:* LISTEN 3 782/proftpd: (acce
tcp6 0 0 *:ssh *:* LISTEN 3 730/sshd
tcp6 0 0 *:smtp *:* LISTEN 3 701/master
tcp6 0 0 ip6-localhost:953 *:* LISTEN 3 358/named
tcp6 0 0 *:https *:* LISTEN 3 827/apache2
tcp6 0 740 server1.pitbullgame:ssh ::ffff:192.168.1.1:1173 ESTABLISHED3 854/sshd: administ
gatsu
11th December 2006, 10:00
when i go to http://ipaddress
http://img.photobucket.com/albums/v607/gatsu/school%20work/Capture12-11-2006-2.jpg
till
11th December 2006, 11:06
You can not access websites in ISPConfig trough the IP address, you must use the domain name instead. If you want to access the controlpanel, you must use port 81 and not port 80.
sjau
11th December 2006, 11:35
You can setup domains even if you don't own it or if they are in a local network or haven't been propagated yet (in case you have a remote server).
All you need to do is change your hosts file. Have a look at this thread here:
http://www.howtoforge.com/forums/showthread.php?t=9008
gatsu
11th December 2006, 16:11
okay this is what my host file looks like now:
127.0.0.1 localhost
192.168.1.102 server1.pitbullgames.net server1
192.168.1.102 pitbullgames.net
192.168.1.102 www.pitbullgames.net
192.168.1.102 sub.pitbullgames.net
# The following lines are desirable for IPv6 capable hosts
::1 ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts
till
11th December 2006, 16:23
Is this the hosts file from your server or your workstation?
gatsu
11th December 2006, 18:54
its from the server
till
11th December 2006, 23:18
Sjau was talking about the hosts file of your workstation. Even windows has this file.
gatsu
12th December 2006, 04:32
how do i check it on windows?
sjau
12th December 2006, 09:02
In this thread I posted a link that will even tell you where the file is to be found in windows :)
http://www.howtoforge.com/forums/showthread.php?t=9008
gatsu
12th December 2006, 14:05
# Copyright (c) 1993-1999 Microsoft Corp.
#
# This is a sample HOSTS file used by Microsoft TCP/IP for Windows.
#
# This file contains the mappings of IP addresses to host names. Each
# entry should be kept on an individual line. The IP address should
# be placed in the first column followed by the corresponding host name.
# The IP address and the host name should be separated by at least one
# space.
#
# Additionally, comments (such as these) may be inserted on individual
# lines or following the machine name denoted by a '#' symbol.
#
# For example:
#
# 102.54.94.97 rhino.acme.com # source server
# 38.25.63.10 x.acme.com # x client host
127.0.0.1 localhost
sjau
12th December 2006, 14:16
so just add the ips and according domains there... you may need to reboot windows afterwards for the hosts file to become in effect...
gatsu
12th December 2006, 15:25
done, so now when i go to pbe.net its exactly the same as if i type the ipaddress. If i add :81 for the port still cant get into ispconfig...
falko
12th December 2006, 15:35
What's the output of netstat -tap? Do you use https or http to connect to ISPConfig? Do you get any errors in your browser when you try to connect to ISPConfig? Try Firefox, it has more descriptive error messages than Internet Explorer.
gatsu
13th December 2006, 00:24
i wasnt sure so i tried both here are the screen shots ... both the same error and is always in firefox.
http://img.photobucket.com/albums/v607/gatsu/school%20work/Capture12-12-2006-5-1.jpg
till
13th December 2006, 11:42
Have you opened port 81 in your firewalla nd if you are behind a router, have you forwarded port 81 from your router to your server?
Please post the output of the command netstat, that falko requested above.
vBulletin® v3.8.4, Copyright ©2000-2009, Jelsoft Enterprises Ltd.