How i can host my php website at EC2. I have brand new account at amazon web serive. Some one let me know about the setup of configure this.

Thanks, Pradeep

  • should be a serverfault question. You may try Google, (many) answers is already there.
    – Nishant
    Jul 8 '11 at 7:33

As Dan mentioned, there is no difference between a server on Amazon EC2 and any other server. I suppose you are looking for a way to get started.

Start from this article - How To: Getting Started with Amazon EC2

You'll now have a running server with root access. You can now do a default server installation. For example, assuming you'll be installing Ubuntu, read this article.

Search google for any specific problems or features (such as need for static IP) and if everything else fails, ask here.

Hope this helps you to get started.


There is no difference between hosting a site on EC2 and hosting one on a server anywhere else. Install Apache and PHP. On a CentOS server (there are many CentOS images in the AMI library), "yum install httpd", "yum install php", set up your virtual host and upload your site. That's it.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy