When I setup my domains the "@" record always points to the ip address that hosts the domain. So say you were using Godaddy, I wouldn't by say you were. The A record would read something like
@, 68.178.232.100, 1hr
The @ means the domain itself.
Then I would set up a cname like this
www,@, 1hr
That means the alias www points to the A record, it's an alias for my site without the www. Skip this step and the www points absolutely nowhere.
Now suppose I did something really funky and pointed the www to somewhere else, then it might work until that somewhere else stopped working. This could simply be that you were developing in a subfolder and forgot to redirect www to the new site. Happens all the time...



