Domain name not working without "www."

I have added domains to control panel like : However when I open my website : or just a file get downloaded to my system.

Please let me know if I’m missing something.


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.


You’ll need to properly setup your NGINX server blocks for each website and make sure PHP is being handled in each one of the, else you may run in to issues such as the one your describing.

To get a more detailed look, I’d need to take a look at your website server block, which can be found within /etc/nginx/sites-available.

@jtittle Thank you !!..Indeed there were issues with PHP handing in server blocks…also, Index.php was missing in server block…Thanks for the help !

some more info : I have moved my wordpress blog from Apache to NGINX. , ubuntu 16.04 LEMP stack

Now not working even with www.