ISPConfig3 on debian lenny:Manual Guide

Discussion in 'General' started by deco5003, Mar 29, 2010.

  1. deco5003

    deco5003 New Member

    I just have finished the installation of a Debian Lenny 5.04 Server with ISPConfig3. Now I got access from the internal Network to de control panel with http://192.168.1.100:8080, also I got access to Phpmyadmin MYsql and a PHP info page on www document Root. Also I have access to FTP services. Now I need to setup and configure the Mail Server. And setup the Internet access for that Server, not just from the internal Network. I guess by http://dec1.deccom.com I know that this can be done with ISPConfig3 Control Panel, but I couldn’t find any guide or manual for that task, Can any one help?
    Thanks
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    You dont have to setup anything in the ispconfig controlpanel to make it accessible from the internet. You just have to configure your router to forward the ports of all services that shall be reachable from the internet from your router to your server.
     
  3. deco5003

    deco5003 New Member

    Perhaps iam not explaining well. The server is now connected to Internet, that’s why I could retrieve from the repositories, but it is not reachable from the internet using neither hostname nor ip address. Now can access the ISPConfig3 webinterface with a PC on the same Network via https://192.168.1.100:8080 As I saw in other installation guide “(http is not working at the moment). Log in as root. Later, when the nameserver and the dhcp-server are configured (and you are using them), you should connect via http://server1.example.com (the connection will automatically be diverted to https) or https://server1.example.com. This is why I try to make this setup.
    Thanks
     
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    I understood that and I posted you the solution above. You have to configure the router of your network, the ispconfig server is already configured correctly as you can access it from inside the network
     
  5. deco5003

    deco5003 New Member

    Access the server services from Internet / DYNDNS

    Yes I guess you Wright. What I did is follow your advice First I setup a Dynamic DNS (DDNS) service account and got the deccom.dnsalias.com hostname. Second I went to cable modem admin page and configure de DYN DNS Service and Update DDNS Status and in Virtual servers add the needed services opening the respective ports. When I try to connect to the server with http://deccom.dnsalias.com/ I got
    Forbidden
    You don't have permission to access /info.php on this server.
    ________________________________________
    Apache/2.2.9 (Debian) PHP/5.2.6-1+lenny8 with Suhosin-Patch mod_ssl/2.2.9 OpenSSL/0.9.8g mod_perl/2.0.4 Perl/v5.10.0 Server at deccom.dnsalias.com Port 443

    Maybe It’s a matter to recreate the ssl certificates I don’t know
     
  6. Toucan

    Toucan Member

    Rather than messing with dynamic dns I would do this to start with:

    Find out the IP address that your router is connect on at the moment. You can probably find an internet web tool to find this out.

    Make a note of this.

    The standard ISPConfig3 setup serves web pages on port 80 (as with most web traffic) and the control panel serves up on port 8080. So go into your router and set up port forwarding so that everything on port 80 and port 8080 gets forwarded to the local ip address of your server. If it has the option to forward all ports this might be a good idea.

    The table will look something like this:
    Router
    Ports
    80 Forward to 192.168.0.100 < replace that with the server lan ip
    8080 Forward to 192.168.0.100



    Then, from a browser on a computer on the internet, not in your lan, go to:
    http://98.97.188.69:8080 < replace the ip address with your router's one

    That should log you into your control panel

    Also try:
    http://98.97.188.69 <replace with your routers ip

    Standard web traffic comes in on port 80 which should be forwarded to the lan ip of your ispconfig server. Your should get the page saying 'it works!'

    If this is working then you're halfway there.
     

Share This Page