Web Hosting – Site Management Questions
Site management support articles: if you have any questions about managing your website on 20i hosting, here's where to find answers.
How do I specify a custom index page?
By default, the following are seen as default index pages on our Linux Web Hosting platform:
- index.php
- index.html
- index.htm
- index.cgi
- index.rb
- index.py
Should you wish to specify a different/specific filename as your index page, you can do this with DirectoryIndex.
Add the following in the .htaccess file, within the directory you are serving/intend to serve site content from:
DirectoryIndex file.php
file.php should be replaced with the name of the file you wish to make default.
Andrew PorterWhat are your default index pages?
On our Linux platform and Managed Cloud Hosting, the following are currently set as default index pages (in order of priority):
Andrew PorterHow do I show custom error pages?
Having a custom error page can have many advantages.
If you wish to customise or brand the default error pages that are shown on your sites it is quick and easy when you web hosting is with us.
Head to Manage Hosting and the package you wish to add the custom error for.
Under ‘Web Tools’ Select the Custom Errors icon.

From here you can configure what action occurs when a particular status code is encountered on the site.

How to set a custom error page
It is really simple to set a custom error page. Select the status (error) code you wish to configure action for, then select the type of action that you want to happen and the final value of the action which will either be a redirect to a page you created for this purpose, external URL or plain text.
For WordPress hosted websites, that means no extra plugin is needed to show a custom error page.
Why set a custom error page?
There are multiple reasons why having a custom error page is beneficial for your website.
- Improved user experience: Customised error pages can provide a better user experience by providing your website visitors with helpful and informative messages instead of generic and unhelpful error messages. A custom error page can include instructions on how to resolve the issue, direct to other helpful pages on the website or provide your contact information.
- Branding and personalization: Individualised error pages can be designed to match the website's branding and style, providing a consistent look and feel. This can help reinforce the website's brand and create a personalized experience for users.
- Reduced bounce rates: A well-designed error page can encourage users to stay on the website and continue browsing, rather than leaving the website due to a frustrating error message. This can help reduce bounce rates and increase user engagement.
- If you are a hosting reseller or a digital agency you can provide this as a service for your customers. They don’t have to worry about error pages when you provide a customised solution for them.
- Error tracking and analysis: Custom error pages can be used to track and analyse errors on the website. This can help website owners identify and resolve recurring errors, improving the overall reliability and performance of the website.
What error code can a custom page be set up for:
You can quick an easy set a custom error page for all 4xx and 5xx error codes.
In detail the error codes are:
|
4xx Client Error |
5xx Server Error |
|
400 Bad Request |
500 Internal Server Error |
|
401 Unauthorized |
501 Not Implemented |
|
402 Payment Required |
502 Bad Gateway |
|
403 Forbidden |
503 Service Unavailable |
|
404 Not Found |
504 Gateway Timeout |
|
405 Method Not Allowed |
505 HTTP Version Not Supported |
|
406 Not Acceptable |
506 Variant Also Negotiates |
|
407 Proxy Authentication Required |
507 Insufficient Storage |
|
408 Request Timeout |
508 Loop Detected |
|
409 Conflict |
510 Not Extended |
|
410 Gone |
511 Network Authentication Required |
|
411 Length Required |
|
|
412 Precondition Failed |
|
|
413 Payload Too Large |
|
|
414 URI Too Long |
|
|
415 Unsupported Media Type |
|
|
416 Range Not Satisfiable |
|
|
417 Expectation Failed |
|
|
418 I'm a teapot |
|
|
421 Misdirected Request |
|
|
422 Unprocessable Entity |
|
|
423 Locked |
|
|
424 Failed Dependency |
|
|
425 Too Early |
|
|
426 Upgrade Required |
|
|
428 Precondition Required |
|
|
431 Request Header Fields Too Large |
|
|
451 Unavailable For Legal Reasons |
|
As an example how a custom error page can look, here is the one we use at 20i

Austin B.How do I set a custom directory index?
By default, our web servers will look for the index.html file in order to know what to display when any given directory is accessed, such as public_html.
You can change which index file is looked-for if you don’t wish to use – or can’t use – the default index.html file. Rules are added within the root .htaccess file to make this work.
To make this easier you can use the 20i tool to set the default directory index:
- Head to Manage Hosting and select the package you wish to update the default directory index for.
- Select the Directory Indexing icon.
- Various common index files are pre-filled. You may wish to add your own or simply select Enable Directory Indexing – we’ll then generate the .htaccess rule and add it to the correct location in your site files to set the desired behaviour.
Austin B.How to modify your hosts file for Windows, macOS and Linux.
Your machine's local hosts file allows you to override DNS for a particular domain or subdomain name.
Chris WrightProviding Access Logs to a Third-Party provider
Some third-party providers may request access logs for investigation (i.e. Google AdWords). You can access these logs from within your My20i account.
- Head to Manage Hosting > Options > Manage
- Select Access/Error Logs
- Select Download Log Files.
This will download all your access and error logs as a .ZIP file which contains all the logs we have for this site.
You can select which logs that you'd like to give to your third-party provider. These logs contain information such as IP addresses and which web pages they've accessed.
Austin B.Is ionCube PHP Loader installed?
The ionCube Loader is a PHP extension often used by setups such as WHMCS - it decodes PHP scripts that have been encoded by the ionCube PHP Encoder. Without this, the scripts cannot be read and so the sites that use them cannot run, so it’s important to know what areas of our hosting have this included.
Lloyd CobbHosting shortcuts: favourite and recent hosting packages
In this guide we’ll learn how about the recent packages list and how to ‘favourite’ packages. By using these features, you can save navigating to hosting package’s Service Overview page. Shortcuts from the My20i homepage are created.
You’ll find both lists on the My20i home page on the right-hand side. Once you have managed a few packages from the Manage Hosting page or favourited any, you’ll be able to see something like this:

Clicking on any of the domains will take you to the Service Overview page for that package.
To ‘favourite’ any packages, you’ll first need to manage the hosting package from the Manage Hosting page. Once on the Service Overview page you’ll see a star icon the top above the search bar:

Once you click the star icon it will turn blue. When you go back to the My20i homepage you’ll see it under the Favourite Packages list.
Utilising these features makes managing packages quicker and easier since you can do it in just one click. This will save time when you manage multiple hosting packages as a reseller or an agency.
Reudiger DalchowWhich PHP functions are disabled on your WordPress platform?
Our WordPress platform has been specifically designed to offer the best security, performance and reliability for WordPress.
Lloyd CobbHow do I use hosting Package Labels?
Package labels can help organise your hosting packages. You can add any kind of label - it's just a text string that you decide. For example, if you wanted to categorise packages that are in development, you might apply a 'Development' tag to them.
Then, on the Manage Hosting page, you can filter by label to find them easily.
To add a hosting Package Label:
- Login to your My20i control panel.
- Head to Manage Hosting -> [select package].
- Down the right hand side, you’ll find the Package Labels section.
- To add a Label, type in the Label field (e.g. Testing) and select Add.
Now when you head back to the Manage Hosting page, you’ll see the drop-down menu allowing you to filter packages by Label (you may need to refresh the page if you've used the 'back' button).
Also, by clicking on a Label you can select all packages with that Label applied.

Here are some examples of Labels you may use:
- Testing
- New Website
- In Development
- Ready for Launch
- Awaiting Client Approval
- Subject to Change
- On Hold
- High Priority
- Low Priority
- Rework
- Personal
- Requires Review
Austin B.How to use the Sitemap Generator
Our Sitemap Generator helps you easily create an XML sitemap that lists all the pages on your website that search engine bots can access, allowing them to crawl and index your site more effectively. In this guide, we’ll show you how to generate a sitemap using the Sitemap Generator available in your 20i dashboard.
Joshua Miner
Jordan Graves
Ben Gayson
