installed ISPconfig but can't access web panel

Discussion in 'Installation/Configuration' started by dangeorge6, Jan 23, 2007.

  1. dangeorge6

    dangeorge6 New Member

    I'm sorry, where's the vhosts file located? I typed "gedit Vhosts_ispconfig.conf" in terminal and it worked but brought up a blank text file. Not sure if that was it or it created a new file called that. anyway...

    Ifconfig:

    [email protected]:~$ ifconfig
    eth0 Link encap:Ethernet HWaddr 00:50:04:ED:39:13
    inet addr:192.168.0.10 Bcast:192.168.0.255 Mask:255.255.255.0
    inet6 addr: fe80::250:4ff:feed:3913/64 Scope:Link
    UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
    RX packets:174464 errors:0 dropped:0 overruns:1 frame:0
    TX packets:145251 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:1000
    RX bytes:79584067 (75.8 MiB) TX bytes:37784483 (36.0 MiB)
    Interrupt:5 Base address:0x2000

    eth0:0 Link encap:Ethernet HWaddr 00:50:04:ED:39:13
    inet addr:192.168.0.101 Bcast:192.168.0.255 Mask:255.255.255.0
    UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
    Interrupt:5 Base address:0x2000

    lo Link encap:Local Loopback
    inet addr:127.0.0.1 Mask:255.0.0.0
    inet6 addr: ::1/128 Scope:Host
    UP LOOPBACK RUNNING MTU:16436 Metric:1
    RX packets:4069 errors:0 dropped:0 overruns:0 frame:0
    TX packets:4069 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:0
    RX bytes:3830357 (3.6 MiB) TX bytes:3830357 (3.6 MiB)
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    1) Make sure that you did not use a redirect at dyndns, you must use a A-Record pointing to your dynamic IP.

    2) Make sure that you selected your internal IP address (192.168.0.10) for the website and that you forwarded port 80 from your router to IP 192.168.0.10.
     
  3. dangeorge6

    dangeorge6 New Member

    i don't think either of these are the problem because when i type 192.168.0.10 into a web browser on one of the computers in my network, it brings up the same var/www folder. So the dynDNS URL is connecting to my web server, but something internally with IPconfig or apache seems to be using the var/www folder as default and not the folder of my main site.

    Screwing around with IPconfig earlier I added some mock sites, so there are multiple folders in var/www. Could this have anything to do with it? I don't understand how a remote computer accessing 192.168.0.10 could know which of these site folders to choose from.
     
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    But exactly this happens if you select the wrong IP for the website. Plesae check that! You have more then 1 IP on your server.

    no. The folders are there but they are not part of your configuartion if they are not listed in your current ISPConfig controlpanel installation.
     
  5. dangeorge6

    dangeorge6 New Member

    Thanks Till, that did it! :)

    If I can ask one more question. Why is it that a server behind a router can't host multiple sites?

    Can't I have two domains both pointed to my router's IP address on port 80 forwarded to my server? Won't the server deliver the correct folder based on the name of the URL?

    How are commercial servers set up that differs from my home setup?
     
  6. till

    till Super Moderator Staff Member ISPConfig Developer

    Thats not corract. You may host as many sites behind a router as you like. Just for SSL enabled sites you need a dedicated IP per site.
     

Share This Page