Question

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

Posted March 11, 2015 7.5k views
UbuntuApacheWordPress

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

1 comment
  • 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
    

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.

×
1 answer

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

Submit an Answer