I have recently moved my VPS to linode and I am having an issue that has been bothering me for days. I only have a very basic knowledge of this type of thing so I am not sure what else to try at this point.
The problem:
www.mydomain.com <--- goes to correct virtualhost
mydomain.com <--- goes to default virtualhost which is not correct
I have a fresh Debian 6 vps with very basic stuff on it right now( LAMP ), I am also using a sub domain *.mydomain.com which works perfectly fine.
My default virtualhost has not been modified at all and is the default, mydomain.com virtualhost file is created exactly as instructed in the tutorial
http://library.linode.com/lamp-guides/debian-6-squeeze
I have done a lot of searching over the past few days that I have been trying to figure this out including reading every single topic I could find on this forum about it. I have attempted every single possible solution I could find to the best of my abilities with no success.
I even contacted my domain provider to have them verify my A records and other records to make sure I didn't mess anything up in the process and they assured me that everything is perfectly fine.
So the conclusion is that I am obviously missing something but I am just not sure what and I would appreciate any help on this.