Add vhost.save() before restarting apache