accessing_your_vhost_folders
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
accessing_your_vhost_folders [2025/02/22 03:12] – created peteyboy | accessing_your_vhost_folders [2025/02/26 00:37] (current) – added note about the old folders peteyboy | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | === Accessing your VHOST Folders === | ||
+ | |||
+ | ==== Accessing Web Root === | ||
+ | If your site is a [[vhost|VHOST]], | ||
+ | |||
+ | - ssh to your VHOST ' | ||
+ | - Change to your '' | ||
+ | |||
+ | |||
+ | ex ('' | ||
+ | $ ssh peteyboy@irulecomputers.com | ||
+ | … (login stuff) | ||
+ | Welcome to the dedicated VHOST membership server | ||
+ | | ||
+ | log files: | ||
+ | html files: | ||
+ | | ||
+ | The $VHOST environment variable will provide the full path to your site. | ||
+ | $ cd $VHOST | ||
+ | $pwd | ||
+ | / | ||
+ | $ | ||
+ | | ||
+ | This folder will contain subfolders, each for your different VHOSTS. In those folders, place all the web files for your website, as you would in ~/html for your site on the cluster, ex: | ||
+ | $ls / | ||
+ | irulecomputers.com/ | ||
+ | $ | ||
+ | |||
+ | ==== Accessing Log Files ==== | ||
+ | your log files are /// | ||
+ | |||
+ | ==== Web Development on VHOST ==== | ||
+ | Some tools you may want to use (for example the [[nano|The nano editor]]) are in /// | ||
+ | |||
+ | One thing you can do is in your '' | ||
+ | |||
+ | # Set PATH so it includes VHOST bin if it exists; that is, if you are logged in to VHOST | ||
+ | if [ -d "/ | ||
+ | PATH="/ | ||
+ | fi | ||
+ | |||
+ | |||
+ | ==== What about my VHOST folders in my user space? ==== | ||
+ | The old way to access your vhost files was to look for a folder named after your domain under your cluster '' | ||
+ | |||
+ |