Ok I have successfully installed ISPconfig & have a website (www.site1.com) running. I only have 1 IP address and use ZoneEdit for my DNS. This is all fine but when I try to add another site (www.site2.com) to ISPconfig it just points to the first site in the vhosts_ispconfig.conf (www.site1.com). Any advice would be welcome as I don't seem to be able to find anything on these forums addressing this problem so I am assuming it's just me.
Posts: 31,872
Thanks: 689
Thanked 4,185 Times in 3,202 Posts
Have you added www.site2.com as new site or as Co-Domain? What do you mean with "just points to the first site in the vhosts_ispconfig.conf"? Please post the content of vhosts_ispconfig.conf here.
I have inserted both URLs into my hosts file on my windows machine and can access both that way but from another machine (outside my lan) all I can access is www.site1.co.uk
Quote:
Originally Posted by till
Please post the content of vhosts_ispconfig.conf here.
Posts: 41,665
Thanks: 1,896
Thanked 2,592 Times in 2,443 Posts
I think the problem is that you forward port 80 from your router to 192.168.2.100, but www.mysite2.com is on 192.168.2.102. That's why you always see your first site. It would be different if www.mysite2.com also ran on 192.168.0.100.
I think the problem is that you forward port 80 from your router to 192.168.2.100, but www.mysite2.com is on 192.168.2.102. That's why you always see your first site. It would be different if www.mysite2.com also ran on 192.168.0.100.
Yes you are correct. The second IP address (102) was put in to try and alleviate the original problem. I have now changed it back to 192.168.2.100 and again www.site1.co.uk works but www.site2.com now displays:-
Code:
Index of /
Icon Name Last modified Size Description
[DIR] apache2-default/ 04-Oct-2005 07:40 -
[DIR] web12/ 29-Nov-2005 18:48 -
[DIR] web13/ 24-Nov-2005 18:44 -
[DIR] webalizer/ 04-Nov-2005 07:35 -
[DIR] www.site2.com/ 29-Nov-2005 18:48 -
[DIR] www.site1.co.uk/ 24-Nov-2005 18:44 -
Apache/2.0.54 (Ubuntu) PHP/4.4.0-3 mod_ssl/2.0.54 OpenSSL/0.9.7g Server at www.site2.com Port 80
Now I am back to square one & don't know where to go next.
Recent comments
1 day 16 hours ago
2 days 1 hour ago
2 days 4 hours ago
2 days 5 hours ago
2 days 6 hours ago
2 days 8 hours ago
2 days 9 hours ago
2 days 11 hours ago
3 days 3 hours ago
3 days 3 hours ago