Hello,
I know this has probably been covered numerous times, however, none of the solutions I've found on the forums here have worked for me.
As you can most likely gather, I cannot get my subdomains with Apache working. I'm running a Ubuntu Lucid server, or 10.04. I'm pretty new to this whole Linux stuff, so, it shouldn't be too difficult. I just can't find what's going on.
Anyway, as:
This Linode Library Linkassisted me in getting the Apache2 server set up. I followed it as closely as I can. Put my IP address into the ports.conf file, and disabled the default site, and created the two domain virtual host files. The only area in which I dictated were where I wanted to store the files and the actual domain names. One of which, I wish to be a subdomain of the main domain.
I will paste the Virtual host files below:
The first one is for my main domain, tjsquires.net, which works fine:
<VirtualHost 173.230.152.119:80>
ServerAdmin
tj@tjsquires.netServerName tjsquires.net
ServerAlias
http://www.tjsquires.netDocumentRoot /home/tjsquires/tjsquiresnet
ErrorLog /home/tjsquires/tjsquiresnet/logs/error.log
</VirtualHost>
After creating this one, I went into Linode's DNS manaager and set up a CName alias, games, that links to my IP. That didn't work, so I tried an A record. None of them worked. They both when going to games.tjsquires.net, linked back to my main homepage. here's the virtual host file for the games subdomain:
<VirtualHost 173.230.152.119:80>
ServerAdmin
tj@tjsquires.netServerName games.tjsquires.net
ServerAlias
http://www.games.tjsquires.netDocumentRoot /home/tjsquires/games.tjsquires.net
ErrorLog /home/tjsquires/games.tjsquires.net/logs/error.log
</VirtualHost>
Am I doing something completely wrong here? The linux Newbie needs your help!

Thank you,
Tj