2 sites points to same folder
I just installed a fresh server following exact same steps with this link
everything went flawless and server works fine.
this is a test server under university so I have two domains to test
primary.uni.edu and secondary.uni.edu
I setup server as primary.uni.edu
by default apache runs under /var/www/html and shows my index file properly
I created a site under ispconfig for primary.uni.edu so primary site now works under /var/www/primary.uni.edu -> /var/www/clients/client2/web3/
I put my index file here and yes new setup works fine too
then I created another site for secondary.uni.edu
folder for this is /var/www/secondary.uni.edu -> /var/www/clients/client3/web4/
Problem starts here, new account secondary.uni.edu shows ispconfig standart files using shell, which supposed to display ispconfig default page in browser
instead secondary.uni.edu displays primary.uni.edu index file in browser.
what might be the reason?
I never had any problems or tweaks during installation and configuration.
ensure that you dont mix * and IP's in website settings on your server. Either use * for both sites or the Ip for both sites.
now we created a third domain and put and index.html saying "third one" and now all three domains primary secondary and third opens same "third" page
what's going on I've no idea?!?!
Found the solution
at the end of the file I commented out these lines having ports
then restarted apache. now all sites run under their folder
|All times are GMT +2. The time now is 12:10.|
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.