Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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

share|improve this question

migrated from Jul 9 '11 at 2:21

This question came from our site for professional and enthusiast programmers.

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.

share|improve this answer

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.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.