Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 2 > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 16th December 2006, 17:47
jagnag1 jagnag1 is offline
Junior Member
 
Join Date: Dec 2006
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default all sites are getting "Index of /" page instead of the domain directory

Problem: all my sites go to the same "Index Of /" page instead of the correct vhost site.

Hi Everyone, this is my first experience with ISPConfig and love the prospects of what this software offers. However I have this 1 single problem and was hoping someone could direct me to a fix.

I've built an Ubuntu server (LTS 6.0.6 Dapper) using the Ubuntu Dapper Perfect Setup on Howto forge which I'm sure you're familiar with. The installation went fine, as did the the ISPConfig build.

I proceeded to enter 3 sites into the ISPConfig admin control panel which also seems to be OK and the DNS is resolving fine now.

The problem occurs when I tried to go the new site in my client browser. Instead of the vhosts directing me to the correct folder I just get "Index of /" and a list of the sites I had just created.

For example, if I go to www.trailseekr.com I get the page:

Code:
Index of /
 Name                    Last modified      Size  Description-------------------------------------------------------------------------------- apache2-default/        26-Jul-2006 11:50    -   
 sharedip/               21-Nov-2006 12:24    -   
 web5/                   24-Nov-2006 23:36    -   
 web8/                   26-Nov-2006 17:04    -   
 web9/                   26-Nov-2006 17:05    -   
 www.example.com/        25-Nov-2006 00:30    -   
 www.journapedia.com/    26-Nov-2006 17:05    -   
 www.trailseekr.com/     26-Nov-2006 17:04    -   
 www.trailtales.ca/      24-Nov-2006 23:36    -   
--------------------------------------------------------------------------------
Apache/2.0.55 (Ubuntu) PHP/5.1.2 mod_ssl/2.0.55 OpenSSL/0.9.8a Server at www.trailseekr.com Port 80
For now, I have another Ubuntu server (without ISPConfig) and the sites are running fine over there so you won't be able to visit it for a "live" example of the problem. I'd like to cut over the Ubuntu-ISPConfig server as soon as possible though - this is the only problem holding me back.

Hopefully someone out there has some suggestions??


John
Reply With Quote
Sponsored Links
  #2  
Old 16th December 2006, 17:57
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,395
Thanks: 833
Thanked 5,490 Times in 4,322 Posts
Default

Have you selecteted the correct IP in ISPConfig for the websites? If your server is behind a router, you must select your internal IP address, not the external.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 16th December 2006, 23:31
jagnag1 jagnag1 is offline
Junior Member
 
Join Date: Dec 2006
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

yes the ISPConfig server is behind a firewall. The Sites only list the external IP of the router in the dropdown box...
I thought that would mess up the DNS stuff so I left it as the external IP...

Ok so I went back to the Management | Server | Settings options and changed the servers IP to the internal 192.168.x.x address then went back to the ISPManager | Sites | {websitename} and changed the dropdown to the internal IP as well.

The site seems to be redirecting fine now!

I double checked the DNS config for the {websitename} and it has remained the external IP. Everything seems to be running fine now!
Thanks Till...

Last edited by jagnag1; 16th December 2006 at 23:36.
Reply With Quote
  #4  
Old 17th December 2006, 12:18
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,395
Thanks: 833
Thanked 5,490 Times in 4,322 Posts
 
Default

When you create new websites, you will have to change the IP for the DNS record of the site to the external IP in DNS manager. There is curently no other solution as ISPConfig does not know which internal IP corresponds to which external IP.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Systemimager (rsync) doesn't copy all comedit HOWTO-Related Questions 11 19th January 2007 17:17
Problems with Apache and Updating Jubalint Installation/Configuration 2 21st May 2006 19:50
Mysterious Install Problem tgansert Installation/Configuration 5 9th May 2006 15:35
setup fails on debian 3.1 dtrumbower Installation/Configuration 7 7th March 2006 13:42
Update to 2.2.0 question brianetilley Installation/Configuration 10 4th March 2006 17:02


All times are GMT +2. The time now is 06:08.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.