Hi,

I have an ecommerce website on the shared hosting, but the website has been attacked by hackers. I think the reason why it got attacked, because the shared hosting is not secure enough. Does anyone know where the safe hosting is? Why some ecommerce websites (i.e. ebay, Amazon and other online shops) can not be attacked by hackers?

Please help me out.

Many thanks

Dani AI

Generated

Shared hosting is not inherently the only reason a shop is hacked. More often the root causes are an exploited app (outdated CMS/plugins), weak credentials, misconfigured file permissions, or a compromised admin workstation. Immediate incident response and long-term controls both matter.

Immediate checklist to contain and recover:

  • Take the storefront offline or put it in maintenance mode and preserve full server images and logs.
  • Change all admin, FTP/SFTP, and database credentials; rotate API keys and payment gateway credentials.
  • Scan for web shells/backdoors and inspect uploads directories and scheduled tasks (cron, Windows Task Scheduler).
  • Restore from a verified clean backup on a clean host if a compromise is confirmed.
  • Notify your hosting provider and payment processor; follow legal and card-network breach notification rules if card data may be involved.

Choosing safer hosting and hardening the site:

  • Prefer isolation (VPS, container or dedicated instances) or a managed ecommerce platform with clear security SLAs rather than relying on brand alone.
  • Require a host to offer a WAF, DDoS protection, automated OS/stack patching, offsite encrypted backups, audit logs, and 24/7 support.
  • If storing or processing cards, use a PCI-compliant solution and, where possible, a tokenizing payment gateway so the site never stores raw card data (PCI DSS overview).
  • Enforce TLS/HSTS, strong auth (2FA), least-privilege access, regular vulnerability scans and pentests, and follow web-app best practices such as the OWASP Top Ten.

Tying this back to earlier replies: evaluate providers by security features, support responsiveness, and incident response capability rather than price alone. If managing security in-house is new, consider a managed ecommerce host or a short engagement with a security professional to assess the environment and set up monitoring and recovery processes.

Recommended Answers

All 4 Replies

Hostgator

How to manage the web hosting for online shopping?

There are lots of hosting companies to choose from it's just a google away. But to be sure of the services, try to look for reviews of this hosting sites i'm sure you will get a good idea of choosing.

hi,

normal local hosting is safe i think to maintain that regularly is easy...!!!

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.