Archive for the ‘Customer How To’ Category
I want to stop someone visiting my site – can I block them?
If you know the IP address that they are coming from then you can block them from visiting your site very simply using the Control Panel. Simply log into your Control Panel and select ‘Web Tools’. From the next menu select ‘IP Address Blocking’.
To block an IP address simply enter the address into the input box in the format x.x.x.x and click ‘Update Now’. This feature does support blocking ranges in the format x.x.x.x/xx – this is an advanced feature and should only be used in extreme circumstances.
To delete a previously blocked IP simply tick the box next to the IP and click ‘Update Now’.
How do I run scheduled tasks (CRON) on my account?
Scheduled tasks (also known as CRON jobs) can be setup in Control Panel. This feature (where available in your account type) allows you to enable a program to run automatically on the server, you can set your program to run every hour, daily, weekly or monthly. We allow up to 3 CRON jobs per account, a CRON job cannot be run more than once an hour maximum.
To setup a scheduled task simply log into your Control Panel, select ‘Web Tools’ and follow the instructions for ‘Scheduled Tasks’
I’m trying to upload a large file onto my webspace, and the file manager inside the Control Panel won’t let me. Why?
This is due to the nature of the web based FTP used, and your browser/ISP connection timing out before upload completes. To avoid this issue, if you need to upload large files to your website, then we’d recommend you use an FTP client to do so, such as FileZilla – http://filezilla-project.org/
Can you set “register_globals” to ON in PHP for me?
Such a global change to the php.ini config is a well known security risk and affects all other customers and isn’t something we’d consider doing. However you can set that and any other variable using the method below.
You can create your own php.ini file inside whatever sub-directory your script is in. You can then determine the exact behaviour for your PHP scripts yourself.
There’s a lot of documentation on how to use the various configuration features inside php.ini online at http://uk2.php.net/configuration.
In this case, to set “register globals” on, you can just create a file called “php.ini” in the subdirectory of your website that the script is in, simply saying:
register_globals = on
Please note: if you have enabled PHP5, you will need to call this file “php5.ini” rather than “php.ini”.
Why is my scheduled task (CRON job) not running?
If the scheduled task did not run check the following before contacting support.
1) The file permissions for the script are set correctly, 711 or 755.
2) Be sure that you specify the script interpreter path in the scheduled task path, otherwise the server will not be able to interpret your script code:
- for perl /usr/bin/perl
- for php4 /usr/bin/php
- for php5 /usr/bin/php5
For example, if you’re using a PHP5 script located in a subdirectory of your webspace’s public_html folder, the full scheduled task path would be:
/usr/bin/php5 /home/sites/domainname.com/public_html/cron/
3) If the script being run is adapted from a cgi script be sure to make the necessary changes as the scheduled task is run by the shell statement such as #!/usr/bin/perl which is needed for cgi, and will be interpreted as a comment.
If you’re still having problems, use the test function to help diagnose the issue. You could also add some debugging code to your scheduled task script to see how far it gets or see where it fails.
The output code should be emailed to you once the script finishes running, you can specify where this should be emailed to in the scheduled task section your control panel.
My CGI/ASP/PHP script is giving an error when trying to write to a file.
This applies to Linux hosting accounts only.
This is almost certainly down to incorrect permissions on your script or file. Please see the following information on how to set permissions on files:
Doing a CHMOD (changing a file’s permissions) is the setting of access privileges for a file. This tutorial shows the process in one of the most common FTP applications called WS_FTP but the process is very similar with other ftp clients. Only Perl scripts need to have permissions changed to run.
First connect to your hosting via FTP using the settings provided in your setup email. Click on the “public_html” directory to open the area where your website is placed.
Next click on the directory and right-click on the file you would like to set permissions for. The right-click menu is then displayed, and by clicking the “CHMOD” option we get to the main part of doing a CHMOD.
The new menu that appears has three columns – Owner, Group, and Other. Each column has three checkboxes below them – Read, Write, and Execute. In the “Owner” column, check all three boxes. In the “Group” column check the first and third checkboxes. In the “Other” column, check the first and third boxes.
Finally, click “OK” to complete the CHMOD. Test your script again by calling it from your web browser. Everything should work correctly, but if you are still seeing an Error 500 Server Error then it is not because of your permissions but more the coding within the script itself
Is there a size limit for email sent to my account?
No, there is no size limit for attachments or emails sent to your mailbox. However, each mailbox is limited to 400MB in total. If you receive an email that is larger than 400MB or you otherwise reach this limit, the new mail will be stored as normal but any subsequent new mail will eventually be bounced.
How do I configure email using Outlook Express?
To setup Outlook Express to work with your mail account please follow these instructions.
- Start Outlook Express and select the Tools menu. From here select ‘Accounts’

- In the window that appears press the ‘Add’ button and then select ‘Mail…’

- Enter your name as you would like it to appear to people who receive emails from you. Then click ‘Next’.

- Enter the email address that you want to use and that you have setup in your control panel. Then click ‘Next’.

- Now you need to enter your incoming and outgoing servers. For the incoming server you should enter mail.’yourdomain.com’ – substituting your own domain name for yourdomain.com. For the outgoing mail server you should enter mail.’yourdomain.com’ as before. Then click Next.

- To finish you need to enter your username (which is your full email address) and password for your mail account. You can view your username and password in your control panel. Once entered please click Next and then Finish.

- To allow you to send mail through our mail server you now need to make a small change to the properties of the account. Select ‘Properties’ from the ‘Accounts’ window.
You need to click the tick-box that says ‘My server requires authentication’ or ‘This server requires me to log on’ and then click ‘OK’ and ‘Close’:

- You can now send and receive emails!
I need to run PHP5 scripts with a .php file extension. How do I do this?
You need to specify the following in a .htaccess file:-
SetEnv DEFAULT_PHP_VERSION 5
This means that any php file ending in .php will be executed as PHP5 rather that PHP4.
This can be set up via Control Panel > Switch PHP Version.
If this file doesn’t exist, you can create it using a normal text editor. It should be created on a per-site basis and uploaded into the folder containing your script (or simply into the public_html folder if you want it to affect site-wide).
Some PHP 4 scripts require short_open_tag to be enabled, this is off by default in php 5.
To enable this in php 5 add the following to your php5.ini file:-
short_open_tag = 1
Why do I get a ’550 Relay Not Permitted’ error message when sending mail?
In order to send mail through the mail servers, the email client program must be configured to use SMTP Authentication. Common email clients include a tickbox in the account configuration with the label “This server requires authentication”. That box should be ticked, otherwise look for a setting on the outgoing server settings that refers to authentication and set it to use the same username and password for the incoming server.
This error can also occur with some ISPs which block port 25 for SMTP. AOL is known to be such an ISP. If this happens, setting SMTP to port 587 will allow you to send email through us with AOL, for other ISPs we suggest contacting their technical support for advice or using their own outgoing SMTP server they would have provided you with.
You may also see this error shortly after a DNS change has been actioned. If a domain’s DNS cache has not yet updated to reflect recent changes, you may face 550 errors. Waiting will resolve the matter in this instance.

