Your question is not easy to understand. It would help if you provided an example of what works (i.e. using HTTP) and what does not work (i.e. using www).
However, I've noticed that some people believe that all web addresses should start with www, and become frustrated when they don't. In other word, they believe that an web-address typed like this:
http://example.com
also can be typed like this:
www.example.com
This is not the case. In the first addrsss, HTTP tells the web browser what protocol to use. Since HTTP is the default protocol, typing this:
example.com
will also work.
However www.example.com is a different address, and will not necessarely work.
I suspect that this may be your problem.
If that is the case, you need to set up www.example.com to be an alias for, or to forward to, example.com. You do this in the DNS control panel at your ISP (GoDaddy).
The simplest thing to do is to set up a CNAME record where www.example.com points to example.com in your DNS configuration. Ask GoDaddy support for help if you can't figure out how to do this yourself.
In all the examples above, replace example.com with your actual domain.