Root web / showing webalizer and sharedip folders

Discussion in 'Installation/Configuration' started by Anim, Jun 4, 2006.

  1. Anim

    Anim New Member

    apache2-default/ 29-May-2006 02:42 -
    [DIR] sharedip/ 04-Jun-2006 09:49 -
    [DIR] webalizer/ 04-Jun-2006 09:46 -

    My root website goes to a folder view of the above.

    Is there something ive messed up with the Ubuntu install?

  2. till

    till Super Moderator Staff Member ISPConfig Developer

    You must create we ebsite in ISPConfig and use the domain in your webbrowser, not the IP. If you are in a NAT enviroment, yiu must use your internal IP.
  3. Anim

    Anim New Member

    I will try that out, thanks.

  4. Anim

    Anim New Member

    Ok Still stuck on this.

    I currently have a Linux machine and my windows machine on a local network. The linux machine will be going to a datacenter sometime in the future but for now I just want to be able to access a single website on it from my windows machine.

    I'm probably doing this wrong but I added a new site in ISPConfig

    Hostname: dev

    Now, im stuck at trying to work out how on my windows machine to access this website.

    If I enter in IE on the windows machine i get a sharedIP " This IP address is shared. For access to the web site which you look for, enter its address instead of its IP." warning.

    I know that if I enter then it will get resolved by my ISP rather than the Linux box and end up as a server not found error.

    If I add
    to my windows hosts then it will just do the IP address again.

    I understand that ISPConfig uses VirtualHosts to get multiple domains on a single IP using domain names.

    So, I think it boils down to:

    Is there any way to connect to a newly created site on the local ISPConfig server from my windows XP machine on the local network?

    Im confused at how to do it.

  5. falko

    falko Super Moderator Howtoforge Staff

  6. Anim

    Anim New Member

    Thanks Falco

    I looked at that link and the two methods are what i've already tried.

    A) ISPConfig only accepts domain based websites so no http://192...
    B) Changing anything on the windows hosts file will not work as a result of #A

    Any more ideas?

  7. till

    till Super Moderator Staff Member ISPConfig Developer

    It works fine for me and many other poeple.

    Just open your windows host file and add the line:

    If you enter in your browser you will get your Website and not the sharedIP page. If you get a sharedIP page, your website in ISPConfig has not the correct IP
  8. Anim

    Anim New Member

    I can see that working from the same machine (Linux and Hosts setup on the same machine) but I have two machines, the Linux server and another Windows PC on a LAN.

    I will try again as you suggest tho.

  9. falko

    falko Super Moderator Howtoforge Staff

    Make sure you edit the correct hosts file on Windows.

Share This Page