Virtual Host won't work over WAN

I've got a spare box at home with windows 2003 on it, so this morning I've installed apache, php and mysql so I can use it for developing a website.

I've setup apache with a couple of virtual hosts in them. The domain I have registered is held on a reseller account I have with resellerzoom. Basically, what I've done is editted the DNS zone in cpanel and added a sub domain as an A record, and provided it with the ip address of my server at home.

When I visit the sub domain in a browser, it goes to the catch all host on my server at home, rather than the virtual host location i have setup. I've changed the host file in windows and added the subdomain there, and when I try to access the domain directly using a browser on the server, it points to the correct place.

So, is there any reason why is works on the server, but wont work on the WAN? The only think I can think of is that my reseller account hosting the domain isnt passing the domain name to my server at home.

Anyone any ideas?

 

 

 

 

Top