mojito Posted September 26, 2012 Report Share Posted September 26, 2012 My issue for example is that I have <VirtualHost *:80>ServerName tc.comDocumentRoot C:/UniServer/www/tc.com/</VirtualHost> but it ignores the tc.com and doing tc.com goes into www. If I have www/siteawww/siteb then the home pages are resolved to www for both sites so the home pages break. I am talking about joomla installs here but see the virtual host has the same issue. What is causing this ?thanks Quote http://www.landed.at - a travel forum, please come along and post something about a destination you know. Link to comment Share on other sites More sharing options...
Lyle Posted September 27, 2012 Report Share Posted September 27, 2012 When you are using VHosts, then nothing goes under the www folder In your example, if tc.com is your main site, then it goes in the root of vhosts: Uniserver/vhosts/tccom/all the tc. com files and folders (e.g. all the Joomla! files and folders) If sitea and siteb are accessed by tc.com/sitea, tc.com/siteb, then these go inside the tccom folder: Uniserver/vhosts/tccom/sitea/all the sitea files and folders If these other two sites are accessed via sitea.com and siteb.com, then they also go in the root of vhosts and your vhosts folder would look like: Uniserver/vhosts/tccomUniserver/vhosts/siteaUniserver/vhosts/siteb Cheers!Lyle Quote GeneratePress / Elementor / WP Show Posts / Do It Yourself WordPress - Sniffle Valve You want a WordPress website and you want it now - GOOD CHEAP FAST WEBSITES Don't take life too seriously ... nobody has ever gotten out of it alive Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.