why my domain doesn't work without a www. prepended

August 22, 2015 1.1k views
Getting Started

I have set up everything in the hostname, I have been following the tutorial provided here in digitalocean and I have a small problem, which I want to fix it.

if I go it's ok it shows me my site
but if I go it transfers me to which is the default site of the provider.

can someone help me out ?
thank you

3 Answers

Check again working fine at my end :)

Seems to work fine here! You might need to flush your DNS cache.

If you're using OS X Yosemite 10.10.4, open Terminal and execute: sudo killall -HUP mDNSResponder

If you're using Windows, open up the Command Prompt and execute: ipconfig /flushdns

And finally, if you're using Linux, restart the nscd daemon: /etc/rc.d/init.d/nscd restart

thank you for the answers.


Have another answer? Share your knowledge.