Why test ping -c 4 target before enumerating the web service?
ping -c 4 target
To update the target server
To authenticate to the website
To distinguish basic reachability problems from HTTP-specific problems
To list files under the web root