Patch for virtualhost

Discussion in 'Installation/Configuration' started by rseoane, Nov 3, 2006.

  1. rseoane

    rseoane New Member

    I'm a newbie in ispc and linux, but I'm working to improve (my english also need to).
    My server is behind a router with a local ip (NAT). I redirect ports and now ispc works fine (I think, but I not tested all).
    To get it I have to change manually in



    <Virtualhost *:80>

    I need to know what I have to do for patch my ispc and I don't have to do it manually every time when I create a new site.
  2. falko

    falko Super Moderator ISPConfig Developer

    I think your problem is that you're using the wrong IP address in ISPConfig. What's in /etc/apache2/vhosts/Vhosts_ispconfig.conf, and what's the output of
  3. rseoane

    rseoane New Member

    You're right. I'd change ip sites to local ip and now i can see the sites.
    However now I have other problems with ispc control panel access (I have to open ssh sesion simultaneously to access the secure web in port 81).
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    SSH is not realted to the apache webserver on port 81. Which error do you get when you open a webbrowser and enter the ISPConfig controlpanel URL?
  5. rseoane

    rseoane New Member

    I can't accesss and error seems as firewall refused conection, but I've redirect port 81 to server.

    Now, open ssh session to my ip (no login necessary) and then you can see the control panel.
    Last edited: Nov 5, 2006
  6. falko

    falko Super Moderator ISPConfig Developer

    If you're trying to connect from within your local network, you can use the server's IP address, for example instead of .

    You can also modify your client PC's hosts file so that it knows which internal IP address is file windows

    I can't connect to from the outside, so either it's your firewall or your ISP that blocks port 81, or ISPConfig isn't running...

Share This Page