georg843
By:
georg843

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

March 11, 2015 2.7k views
WordPress Apache Ubuntu

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
    
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

Have another answer? Share your knowledge.