So, I've got my LB all set squared away and running well (all ubuntu servers, sitting on a ubuntu host machine).
Everything works... syncing files, loading the sites, backups, etc...
They are a total of 6 VM's on my local server (4 web, 1 lb, 1 db).
Issue that I am having now is figuring out a way I can work on the sites.
Well... not so much an issue, more of a hinderance...
As long as I shell into the primary web server and chown to my user and group, there is no issue working on the sites... other than that they will not display due to the permissions change from www-data
to my user account. Unless I chown to my user:www-data
... however, when I do this, I am no longer able to manage the sites through their admin interface due to the user permissions (they are all wordpress sites).
Once I finish working on them, I can chown them back to www-data:www-data
, and thus am able to work on the WP side....
While this is fine and dandy while I am sitting in front of the host machine, this is not feasible outside my local network (due to me limiting shell access to my local machines only)
What I am wondering is if there is a way around this?
I've tried adding my user account to the www-data group, adding the www-data user to my group, and still, I have to do this "work around"