Accessing the site locally with IP instead of the domainname

Discussion in 'Installation/Configuration' started by zenny, Aug 28, 2010.

  1. zenny

    zenny Member

    This is a basic question which I am trying to figure out.

    1) How can I access to the site created with ISPConfig3 with ip locally like http://localIP/sitename instead of http://tld ? Do I need to make specific changes in certain configurations?

    2) How can I restrict http://tld/stats and http://tld/phpmyadmin to the owners of the site only like web1:client2?

  2. till

    till Super Moderator Staff Member ISPConfig Developer

  3. zenny

    zenny Member

    Thanks Till.

    1) The problem I am having is as follows: My DSL modem is connected first to my 3-interface firewall. I specified the firewall machine as a DMZ in DSL modem and then forwarded all ports. Thereafter, the eth0 is connected to internet, eth1 to local and eth2 to dmz (with ISPConfig3 installed). I am using shorewall in the firewall machine. Now, I cannot access my public IP from inside because it lands at the webgui of the micro_httpd server of the ADSL modem (which I cannot change and if I disable web access in LAN, I loose control over the ADSL configuration). So when I have to access any site created by using the ISPConfig3 I always have to use a proxy like tor from outside (the WAN access to webgui of the ADSL modem is disabled). My network looks like:

    INTERNET --> ADSL Modem -->eth0 -->Firewall (Shorewall 3-interfaces) eth1--->local network and eth2-->DMZ machine with ISPCOnfig3

    Now what could be the right way to access the sites from the local network?

    2) Yes, but some of my sites shows the webalizer stats without any password. That worries me. On the same host with ISPCOnfig3, one site asks for username and password and the other does not!!!

    I hope this clarifies my situation. Thanks!
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    1) Thats a common home network and the FAQ entry tells you how to access the websites. Simply create a entry in the hosts file of your workstation that points the domain name to the local IP that you selected in the website settings.

    2) Enter a new password on the stats tab of the website settings.

Share This Page