Dave Hilditch

Dave has been programming since 6 years old and has been developing Wordpress plugins, themes and websites since 2010. In the past he built the browse view technology for Skyscanner and now he helps clients with interesting website challenges. He is always on at least one of his computers when he's awake, so get in touch and he'll get right back to you.

5 Comments

  1. Affiliater
    February 21, 2015 @ 10:27 pm

    Hi
    Great post! I followed all the steps except for the ones explaining how to set up for multiple domains on a VPS, cause i’ll only using one domain per droplet. But i only see the nginx welcome screen:

    Welcome to nginx!

    If you see this page, the nginx web server is successfully installed and working. Further configuration is required.

    For online documentation and support please refer to nginx.org.
    Commercial support is available at nginx.com.

    Thank you for using nginx.

    What could i have missed out?

    Thanks!

  2. Dave Hilditch
    February 21, 2015 @ 10:54 pm

    Either you haven’t configured the right folder (the ‘root’ parameter’) or you need to restart nginx using ‘service nginx restart’. If you’re seeing the Nginx message, it’s per-site configuration that’s not working yet – either restart nginx or configure /etc/nginx/sites-available/* to set root to the relevant folder. Let me know if this helps.

    • Affiliater
      February 22, 2015 @ 9:34 am

      Hi
      How can i set the right folder (‘root’) after everything is set up. This is the first time i use ssh and everything there is to it 😉
      I have tried the restart without any luck of change…

      Thanks!

  3. affiliater
    February 22, 2015 @ 1:39 pm

    Is there somewhere is this tutorial where i must add my domain name (my domain.com) for the set up to work? I might have missed that. This parts make me curious:

    mv wordpress sitefoldername<– rename the wordpress folder to something representing your website

    and

    create database sitename;
    grant all privileges on sitename.* to "siteusername"@"localhost" identified by "sitedbpassword";

    Is it nessesary to follow the steps after "Create a Global WordPress.conf file" if i only want to use one site on the server?

    Thanks!

    • Dave Hilditch
      February 22, 2015 @ 8:42 pm

      You set the domain name in the nginx site config file: /etc/nginx/sites-available/default – it’s the server_name variable.

      If you’re just using one site, you can copy/paste the contents of the global wordpress.conf file in that sites server {…} block instead of including the wordpress.conf file.

Leave a Reply