2

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

What is the problem ?

1
  • Looks like an interesting name to me.
    – adarshr
    Commented Feb 24, 2011 at 9:33

3 Answers 3

6

You need to look at your DNS configuration.

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

2
  • 1
    preferably A and AAAA (or just a CNAME)
    – awoodland
    Commented Feb 24, 2011 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. Commented Feb 24, 2011 at 13:29
2

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.

3
  • I'd go about fixing the DNS records first, which is not an apache setting!
    – awoodland
    Commented Feb 24, 2011 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. Commented Feb 24, 2011 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
    Commented Feb 24, 2011 at 9:49
1

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.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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