Question

How can I fix this ERROR: Site wordpress does not exist! ?

Hi guys, i’m trying to install wordpress and i followed the guide from this website: http://publishingwithwordpress.com/installing-wordpress-digital-ocean/#Installing_WordPress

When i try to perform this step:

Tell Apache to enable the site and reload: sudo a2ensite wordpress

After typing in Putty root@www:/var/www# sudo a2ensite wordpress

I get the error: ERROR: Site wordpress does not exist!

Could you please help? I’ve tried to google the problem but none of the solutions posted worked for me.

Also, is it possible/advisable to “reset” the server to default and start from scratch?

Thank you

Show comments

Submit an answer

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!

Sign In or Sign Up to Answer

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.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

This question was answered by @sierracircle:

probably not necessary to reset the server.

One thing I can tell you: if you used Ubuntu 14.04 for your droplet, then the site config file needs to be named yourdomain.conf rather than wordpress.

So on the part where it says this:

sudo nano wordpress

do this instead (where yourdomain.com is whatever domain you will be using):

sudo nano yourdomain.com.conf

paste the stuff into that,save…and then do:

sudo a2ensite yourdomain.com

View the original comment