This guide will help you get up and running on a Cloud Container server and walk you through creating your first container. It will take around 20 minutes, and only requires you to have a SiteHost account with a credit card associated.
The first step is to provision a Cloud Container. The easiest way to start the process is to click the Add Service button which is at the top right of every screen in the Control Panel. Now click on the Cloud Container option and now it's time to make a few choices:
Now click Provision Server and relax or take a quick break. This will take around 15 minutes as our systems are doing a lot behind the scenes to get your server ready.
Now your server is ready it's time to create a container. Head over to the Containers module at the menu on the left in our Control Panel and select a container type and image of your choice. We hope it's a simple process but you can also follow the instructions in our Creating a container article.
If you need a database, good news, by default your server has a MySQL container ready to go. Click on Containers and then Databases, you can now follow our articles on Creating a database and Creating a database user.
Next you need access to the container. Under the Containers menu on the left click on SSH & SFTP and create a user assigned to the container you want to access. This user will work over both SSH and SFTP and will allow you to uploads files or execute commands. You can find more details in our Creating a SSH/SFTP user article.
Access the container with the user you created above via SSH or SFTP, our Accessing a Virtual Server article can help if you run into any hiccups.
Once logged in you will see a directory named /container
, all files for each container will appear here, no matter the type of container you are accessing. We go into more detail in the Structure article. Navigate to the /public
folder which is where your website will be served from, for a standard web container the path will be /container/application/public
and you should see a index.html
file, which is our default "It works" landing page. You can delete this file and upload your website via a method of your choice:
If you've already updated your Domain/DNS to point at the IP address of your Cloud Container server your website should be live. Welcome to Cloud Containers, it's that simple!