Set up a static website with Cloud Files
If you want to host a static website, a site where the content does not change, you do not have to use a server. Instead, you can use the Rackspace Cloud Files service.
Create a Cloud File container to house your site
Use the following steps to create a Cloud File container to house your site:
Log in to the Cloud Control Panel.
In the top navigation bar, click Select a Product > Rackspace Cloud.
Select Storage > Files.
On the Cloud Files/Containers page, click Create Container.
Type a name for your container and select the region where you want to host your site.
Select the Static Website option and then click Create Container.
Note: Selecting the Static Website option automates the following Cloud Files API operations: - Sets the index page to index.html for both the container and any pseudo directories within the container. - Sets your container to use CDN, so that users can retrieve your content faster.
On the page for your container, click Upload Files.
Select the files that contain your website and click Open.
Note: Ensure that all of your static website files are included in the upload and in their correct folders.
Access your static website
Now your static website content is uploaded to your Cloud Files containers. However, to access your static website, you need the CDN URL.
In the Cloud Control Panel, go to the Cloud Files/Containers list.
Click the gear icon next to the name of your container and select View All Links.
Note: All of the CDN URLs for your container are displayed. For HTML pages and pictures, use the HTTP link to access your static website. If you want to be securely connected to your site, use the HTTPS link.
If you want to make the URL of your static website more user friendly, you can set up a CNAME record with your Domain Name System (DNS) registrar. In order to do so, you need to copy the target (domain) from your static website container. To find your target, perform the following steps:
In the Cloud Files/Containers list, click the gear icon next to your static website container and select View Website Settings.
In the drop-down menu, copy the string in the Target (Domain) field.
Go to your DNS registrar and point the CNAME to the domain that you copied. For instruction on how to complete this for the most popular DNS registrars, go to the following sites:
You can also create your own CNAME using the Rackspace DNS service. For instructions, see Create DNS Records for cloud servers with the Control Panel.
©2018 Rackspace US, Inc.
Except where otherwise noted, content on this site is licensed under a Creative Commons Attribution-NonCommercial-NoDerivs 3.0 Unported License