By georg843
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
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!
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 wordpressdo this instead (where yourdomain.com is whatever domain you will be using):
sudo nano yourdomain.com.confpaste the stuff into that,save…and then do:
sudo a2ensite yourdomain.com
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.