Reputation: 8990
basically i have a website i.e www.example.com
when i enter www.example.com it deosnt work but when i enter http://example.com it works why is this happening!!
Upvotes: 3
Views: 3304
Reputation: 7758
It seems that both www.kornar.com and kornar.com are correctly set to resolve to the same IP address. However, it seems like your Apache install isn't set to handle www.kornar.com correctly. If you're using some sort of virtual hosting, you need to ensure that the server recognizes and host names that you want it to respond to.
It's hard to tell exactly what's wrong without more information on what webserver you're running and what it's configuration is.
Upvotes: 0
Reputation: 648
You need to specify an a address for both www. and no-www
@ - A address OR CNAME 255.255.255.255 180
www - A address OR CNAME 255.255.255.255 180
They are called host records .
Upvotes: 4