I've added a site without a problem and can reach it my domain http://mydomain.com and http://www.mydomain.com as well geting the "Welcome to mydomain.com" page on both, but the funny thing is: if i type http://www.mydomain.com/index.php i come directly to the web content I'v uploaded a bit earlier (as well without www). I mean, shouldn't Apache/ISPConfig sense if there's content and override the page? The web content itself runs just fine, both PHP and MySQL. Edit: Okay by adding following line: "Directory Index.php" i bypassed the "Welcome Screen", but doing this everytime a new site is added?
When uploading a new site, remove the "created by ISPconfig Welcome to mydomain.com" index.html file. After that your own index.php file will take it over..
the setting in apache2.conf sets the order in which sites will be selected. Code: less /etc/apache2/apache2.conf | grep DirectoryIndex (for Ubuntu; other distros might have another directory structure) I prefere Code: DirectoryIndex index.html index.htm index.shtml index.cgi index.php index.php3 index.pl index.php index.xhtml In this case you would have to delete index.html if you want ISPConfig to load index.php or you can edit the configuration file and move index.php before index.html
That's the wierd thing, i deleted index.html from the beginning. That's one solution, but i don't like improvising.
You can change the DirectoyIndex directly in ISPConfig. It's on the Options tab of the web site settings in ISPConfig. Otherwise, can you post the output of Code: ls -la /path/to/document_root of that web site?