Added capistrano variables for ip address. Used in postgresql. postgresql password used in database config so made it global.
virtual host remove default and gave it a server name