Question

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

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

Subscribe
Share

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.

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