How to make my domain work www in the start?

  • Posted July 28, 2013

Hello ! I just installed and finished up my server yesterday! I bought a Domain at and also did change the DNS Nameservers! My domain name works fine, but not with the www.

I did ofcourse not change the “A” Record IP of the Domain that points to @ in Godaddy!

And in the CNAME there is already www added that points to @. So that looks fine. Right now there has passed more than 24 hours and my domain does not react when I add the www infront! If I could get some help or advice how to fix this I will be appereciated !

Thank you very much in advance!


Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

It shouldn’t redirect by default, is your app causing the redirect?

Thanks for the reply, it resolves now and redirect to Do you know how to do it without redirect, so when user types it stays with www. without redirection?

@Miguel: Awesome! Glad it’s working now! :] <br> <br>@chupa: What’s the domain name?

I have already set the CNAME record, before 6-7 hours.

@Kamal Nasser, Than k you very much for the answer ! I was very lucky to get some help in the IRC Chat! The issue is Solved! Found it in here in “CNAME” Section: <br> <br>@Chuppa, Check this out buddy! I fixed the www using the “CNAME” short description in here >> Good luck Chuppa! <br>

It’s been couple of hours I am having the same issues. I know that DNS takes time to propagate, but when I am testing with other domains/subdomains to point to the my VPS IP it happens quickly. I am using Ubuntu 12.04 32 bit with apache2 with Virtual Host, and I have put ServerAlias in the Vhost configuration file.

Hi <br> <br>What’s the domain name? Also, what webserver are you using?