Apache can't protect you from ddos attacks, but you can use some modules to reduce risks, they are: mod_qos and mod_evasive.
If you are using shared hosting from GoDaddy, seems you are loading all websites in one server and Godaddy may block your site or they may treat your load testing as ddos attack. For experiments you need isolated VDS server or cloud server.
If you want protect your project you can:
- Use load balancer
- Use caching tool
- Use firewall protection
- OS tuning
- Use CDN