FTP Login to Main Web Directory
=======================
Edit proftpd.conf under /etc
Within the <VirtualHost> .. </VirtualHost> , add the following to the last line :-
DefaultChdir ../../web site-adm
If you have various IP addresses there, add to each of them.
After that just restart your proftpd and that should do the trick.
Viewing Created Site prior to Propagation
=============================
Edit httpd.conf which is under /etc/httpd/conf
Add this line within the <VirtualHost> .. </VirtualHost> , this should be at the bottom of the conf file.
AliasMatch ^/preview/([^/]+)(/(.*))? /home/sites/$1/web/$3
After you do that, just restart your httpd server.
So if someone wants to preview a site, say your main server is
http://www.server.com and the client is
http://www.client.com . You could get to the client via :-
http://www.server.com/preview/www.client.com
Hope that helps.
Edwin