What should a website’s default page be named? #
The following will be recognized as the default page for any directory within your site:
index.html, index.htm, index.php & index.shtml
If you still see the cloud default page (Your website is ready…), then you will need to delete or rename the file index.html in your public directory to something else (e.g. index2.html). Any file named “index.html” always takes priority over index.htm, index.php, etc. and will always serve even if you have other index files in the same directory.
NOTE: If a default page has been removed from a directory, then a 403 error page will be thrown. This error happens because for security reasons, directory listing is disabled by default. After you upload a default index page to the problem directory, this warning will be corrected.
Where is a website’s public directory located? #
Your website’s public directory is located at /www.example.com/web/content/ (replace “example.com” with your actual domain name).
NOTE: This /web/content/ path is an internal FTP path to your site’s public directory. Files uploaded properly to this path will serve on your root domain. Do not add ‘/web/content/’ to your domain URL in a browser.
How do you upload files from a local computer to my website? #
You need to use a FTP program to upload files to your website.
How do I setup forwarding for a Forwarding Squid account? #
Just enter a support ticket through our Help Desk and let us know the url where you want your domain forwarded.
Where do you check a domain’s quotas and actual usage for bandwidth and disk space? #
The bandwidth and disk space quotas and usage for your domain is reported in the control panel.
Do you recommend services for website statistics? #
Google Analytics is a recommended external service for website statistics. There is also a WordPress plugin for Google Analytics that makes it easy to install. This TopRank blog post highlights the features of using this service.
If you are a stats junkie like we are, then check out chartbeat, a really cool real-time analytics and performance service.
How do you access a domain’s raw log files? #
Your domain’s raw access logs can be accessed via FTP in /www.yourdomain/logs/.
Logging is not enabled by default, so you’ll need to first turn it on in the control panel. Under the “General Settings” tab, scroll down to “Website Features”. In the row corresponding to “Raw Logs”, click “Enable”.
How often are a domain’s log files rotated? #
By default, log files (access and error) are setup to rotate daily, keeping one compressed archive until the next rotation. The reason they are rotated daily is to reduce the amount of space they take up since log files are added to your disk space usage and large log files could cause your site to exceed its quota.
What is an .htaccess file? #
An htaccess file is a powerful Apache configuration file that can control how a site or specific directory is accessed or how it functions. It essentially overwrites the global default settings of the Apache web server. For more info see the Apache Tutorial on .htaccess files.
An .htaccess file can easily be created with an external text/html editor and then uploaded via FTP. Make sure that it is created in or uploaded to the directory that you want to control. If you are using an .htaccess file to control the entire site, then you’ll need to create it in or upload it into your public directory.
The “.” at the beginning of the .htaccess file makes it an invisible system file for security purposes, so if you upload it via FTP, it will not show up in the directory listing of your FTP program unless your FTP has a feature that allows you to view hidden files (most FTP programs have this option). If you need to make changes, just upload a new version and have it overwrite the existing file.
Please note that some scripts (for example Drupal) can use .htaccess rewrite rules in order to create ‘clean’ URLs. These will in some cases not work by default in the Cloud environment. This can be fixed by using the statement before any rewrite rules:
How do you password protect a directory? #
Password protection can be setup for directories using an .htaccess file. Here’s a Password Protection Tutorial and template for creating the file. You’ll need to make sure to include the full path to your .htpasswd in the AuthUserFile line. You can find the full path in your control panel under the Features tab at the bottom under ‘server side paths’. An example of what this would look like is:
NOTE: If the directory that you are password protecting for does not contain a default page (ie. index.html), then visitors will receive a “403 Error > Forbidden” page. This is because for security reasons, directory listing is disabled by default. Once you upload your index.html page, they will no longer see this warning.
How do you create custom error pages? #
How do you setup special mime types to be used by a domain? #
NOTE: Replace the mime type information with the specific mime type that you want to set up.
How do you set a website’s or a folder’s default page to something other than index.html, for example home.html? #
[change filename.html to the file name that you want to use as the default, e.g. home.html, etc.]
How do you I control access to my website by IP address #
Create an .htaccess file in your public directory and depending on if you are trying to deny or allow, please reference the instructions on how to control access to Cloud Sites based on the client IP address.
What is the Media Accelerator and how does it work? #
The Media Accelerator automatically caches static media files for optimal performance. The default cache time is 30 minutes. Currently the following file types are cached by the Media Accelerator:
.jpg, .gif, .png, .mp3, .wav, .wma & .swf
If you want to bypass the caching of an individual file, you can include a query string in your HTML. For example:
If you want to disable caching for all media files in a particular site without changing any HTML code, you can use an .htaccess in your public directory for your website. This syntax prohibits caching of all files by adding an Expires header with a zero value:
If you only want to disable the cache for a particular type of file, you can use the MIME type of the file to identify it:
ExpiresByType image/jpeg A0
Or, you can disable cache for a particular file like this:
Or, you can disable cache for a file matching a particular pattern:
How do you enable Server Side Includes (SSI)? #
AddType text/html .shtml
AddHandler server-parsed .shtml
Options Indexes FollowSymLinks Includes
Why are visitors receiving a “403 Forbidden” error page when they try to view the contents of a directory? #
If a directory does not contain a default page (ie. index.html), then visitors will receive a “403 Error > Forbidden” page. This is because for security reasons, directory listing is disabled by default. Once you upload your index.html page, they will no longer see this warning.
Next upload this .htaccess file to the directories that you wish to make publicly browsable. If you want this to be applied to your entire site, then you’ll need to upload it to the top level of your public directory directory. If you are already using .htaccess files, make sure that you include the existing information from your current .htaccess files before you upload your new version.
NOTE: By turning on directory listing instead of using an index.html file, you are greatly reducing the security of your website.
Is it possible to setup a cron job for a website? #
Yes, you can enable a cron job with your domain. This can be done from the ‘Features’ tab in your control panel under ‘Scheduled Tasks.’
Do you offer any type of migration services between hosts? #
We offer migration services of WordPress websites from other hosts to our cloud hosting servers. In order to qualify for this service, your website must be able to fit into one of our hosting plans. We do not host any domains that exceed 10GB of disk space or 200GB of monthly bandwidth. You can check with your current host about how much resources your current site is using.
Using valid login credentials that you provide from your current host, we migrate the database, current WordPress version release and all files associated with the site. If we cannot obtain access to your current host, we will not be able to migrate your WordPress site over.
After migration, you may need to double check your plugin/theme settings as sometimes these don’t always transfer perfectly depending on the code.
We DO NOT:
– Migrate anything other than a WordPress wesbite
– Migrate email
– Convert sites between other platforms to WordPress (i.e. from Joomla to WordPress)
– Migrate outdated WordPress sites to our servers. You will need to be running the current stable WordPress version release, including any plugins and themes, in order to be migrated to our hosting, per our Acceptable Use Policy.
– Fix broken scripts, broken sites, repair or restore bad data PRIOR TO or AFTER a migration.
If you are interested in migration, please contact us about process and cost through our Help Desk.