By raj1412
I have added domains to control panel like : http://prnt.sc/e1uxue However when I open my website : talkingsparrow.com or www.talkingsparrow.com just a file get downloaded to my system.
Please let me know if I’m missing something.
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
Accepted Answer
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.
some more info : I have moved my wordpress blog from Apache to NGINX. , ubuntu 16.04 LEMP stack
Now not working even with www.
@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 !
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.