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

Posted August 22, 2015 3.4k 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

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.

Submit an Answer
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.