Create a PHP site for a Cloud Sites main account

  • Last updated on: 2016-02-18
  • Authored by: Rackspace Support

Note: This article is written for the Cloud Sites Control Panel. You can get to it from the Cloud Control Panel by clicking the Rackspace Cloud menu at the top of the panel and selecting Cloud Sites. You can also navigate directly to https://manage.rackspacecloud.com/.

Prerequisite

You must have administration access to the website.

Create a PHP site

  1. Log in to the Cloud Sites Control Panel
  2. If you are new to the Rackspace Cloud, see How To Add A New Website and add the website.
  3. Navigate to Hosting > Cloud Sites. All of the domains and websites owned by the account are listed.
  4. Click the link for the PHP website.

  1. Verify that logging is turned on if needed. See Enable logging for a website.
  2. Using FTP, upload a sample index.php file (like the following one) to the main directory for the website. See Upload content to a website using FTP.

     <html>
      <head>
       <title>Sample Page</title>
      </head>
      <body>
       <?php echo '<p>Hello World</p>'; ?>
      </body>
     </html>
    
  3. Navigate to index.php by using the Test URL if necessary. See Using a Staging URL. Ensure that is served by Cloud Sites.

Continue the conversation in the Rackspace Community.