extreamly newb question....

Discussion in 'Installation/Configuration' started by gatsu, Dec 9, 2006.

  1. gatsu

    gatsu New Member

    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.
     
  2. edge

    edge Active Member Moderator

    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?
     
  3. gatsu

    gatsu New Member

    yes i can get in the server machine through putty. But cant access ispconfig any which way....
     
  4. falko

    falko Super Moderator ISPConfig Developer

    What's the output of
    Code:
    netstat -tap
    and
    Code:
    iptables -L
    ?
     
  5. edge

    edge Active Member Moderator

    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
     
  6. gatsu

    gatsu New Member

    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
     
  7. gatsu

    gatsu New Member

  8. till

    till Super Moderator Staff Member ISPConfig Developer

    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.
     
  9. sjau

    sjau Local Meanie Moderator

    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
     
  10. gatsu

    gatsu New Member

    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
     
  11. till

    till Super Moderator Staff Member ISPConfig Developer

    Is this the hosts file from your server or your workstation?
     
  12. gatsu

    gatsu New Member

    its from the server
     
  13. till

    till Super Moderator Staff Member ISPConfig Developer

    Sjau was talking about the hosts file of your workstation. Even windows has this file.
     
  14. gatsu

    gatsu New Member

    how do i check it on windows?
     
  15. sjau

    sjau Local Meanie Moderator

  16. gatsu

    gatsu New Member

    # 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
     
  17. sjau

    sjau Local Meanie Moderator

    so just add the ips and according domains there... you may need to reboot windows afterwards for the hosts file to become in effect...
     
  18. gatsu

    gatsu New Member

    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...
     
  19. falko

    falko Super Moderator ISPConfig Developer

    What's the output of
    Code:
    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.
     
  20. gatsu

    gatsu New Member

    i wasnt sure so i tried both here are the screen shots ... both the same error and is always in firefox.

    [​IMG]
     

Share This Page