Hi,
I have a client on my server which is running unbuntu.
The problem is that when a user enters wwww before a url they are shown the homepage of the first domain in the domains folder, for example if I have many domains in the domains folder on the server with the top domain being 123.com.
When a user enters wwww.xyz.com they are actually served with the homepage of 123.com, which isn't good but we have also discovered it meses up the se spider as well and there is all kinds of weird indexing going on.
Has anyone else come across this?
Anyway I am trying to figure out a fix for this so that when someone enters wwww or ww or w before xyz.com they are directed to www.123.com.
I have tried setting A records for each prefix but that didn't work and I am not having much luck with .htaccess either.
Any words of wisdom or examples would be greatly appreciated
Thanks
Dave