Report this

What is the reason for this report?

I deleted default file in sites-enabled I am not sure what to do now (ubuntu 14.04)

Posted on March 24, 2015

I am going through the tutorial to create an ssl certificate https://www.digitalocean.com/community/tutorials/how-to-create-a-ssl-certificate-on-nginx-for-ubuntu-12-04 and before i finished it I deleted the “default” file in sites-enabled in ubuntu 14.04. I need to do duplicate it to make a file with the name of my site and then do a sym link but I have deleted the file and I do not know how to proceed from here



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!

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.

The file is in /etc/nginx/sites-available. The files in sites-enabled, including “default”, are just symlinks to those files.

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.