Take the 2-minute tour ×
Webmasters Stack Exchange is a question and answer site for pro webmasters. It's 100% free, no registration required.

My website http://bakasura.in works fine. when i try to visit it via www.bakasura.in it doesnt work.

What is the problem ?

share|improve this question

migrated from stackoverflow.com Feb 24 '11 at 12:15

This question came from our site for professional and enthusiast programmers.

    
Looks like an interesting name to me. –  adarshr Feb 24 '11 at 9:33

3 Answers 3

up vote 6 down vote accepted

You need to look at your DNS configuration.

www is not automatic, and needs a manual (A?) entry or some kind of wildcarding.

share|improve this answer
1  
preferably A and AAAA (or just a CNAME) –  awoodland Feb 24 '11 at 9:33
    
Might be an idea to check that the website in the iis has an identity of www.bakasura.in mapped to it too. –  Luke Duddridge Feb 24 '11 at 13:29

This is not rare. They configured their webserver "wrong" by not setting their standard-entry and web-server-entry to the same service. This is something they can decide for themselves by e.g. changing a config file in their e.g. Apache.

share|improve this answer
    
I'd go about fixing the DNS records first, which is not an apache setting! –  awoodland Feb 24 '11 at 9:35
1  
@awoodland: Actually, both are necessary - but since DNS records can take some time to propagate, you are right that they should be changed first. –  Piskvor Feb 24 '11 at 9:40
    
It's perfectly possible (and even reasonably likely) that the apache config is correct. You can even test this by sticking a line in /etc/hosts or wherever the windows version of this file lives to simulate the missing DNS record and verify that it is indeed only a DNS problem. –  awoodland Feb 24 '11 at 9:49

As everyone else has said i would double check DNS and then look at your web server config to make sure its set-up to respond to both.

One thing i would think about from and SEO point of view is which you want to be your main indexed URL as really you want people to find and bookmark etc by one address and stop duplicate content issues. The best solution is to 301 redirect the non primary version.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.