Fix Restart/Start/Stop website issue with hostname