About usContact usSite help
Quick links
Search this site

Demon Web Hosting product portfolio FAQs

Important Information regarding Demon Web Hosting

This page covers technical questions that may be asked about the Web Hosting.

Uploading and modifying your site


Running scripts


Server Administration


MySQL Database


Account Administration




Uploading and modifying your site


Microsoft FrontPage

What address do I publish my files to when using Microsoft FrontPage?
You can use either:

http://username.demonweb.co.uk or
http://www.yourdomain.co.uk

(provided the DNS on your domain has been updated to point to our server).

You do NOT need to specify the /docroot folder for HTTP uploads with FrontPage to this server.

PLEASE NOTE: The username for FrontPage publishing is case sensitive on this web platform.

For publishing secure content (if you have purchased the 'Secure sites' option) you should FTP to:

ftp://username.demonweb.co.uk/secure or
ftp://www.yourdomain.co.uk/secure

Unfortunately this means that the FrontPage Extensions cannot be used under the SSL URL.



What version of the FrontPage extensions are installed on your server?
The Demon Web Hosting server currently has FrontPage extensions 2002 (Version 5.0.2.2623) for Unix.



Can I use the FrontPage 'User' permissions function on sub webs?
The FrontPage 'User' permissions function does not appear to work on Demon Web Hosting.

We would recommend using the 'Access Control' tool on your control panel to password-protect sub directories on your site.

PLEASE NOTE: If you do use the 'Access Control' functions in combination with pages created by Microsoft FrontPage then the 'FrontPage re-initialisation' script will not work.

This should not be a major problem as 'FrontPage re-initialisation' should only be required if your extensions become corrupted. There is a work around for this which basically involves temporarily renaming all .htaccess files (used by the 'Access Control' tool) to .htaccess.TODAYSDATE, then re-initialisating the extensions and then putting the .htaccess files back.



How do I fix my broken FrontPage extensions?
Please use the 'Re-initialise FrontPage' tool on your control panel and then re-publish your site from within FrontPage.

If this fails then please contact technical support. If it produces an error message then please include that in your report to technical support. Also please let the support desk know if you make use of the 'Access Control' facility via the control panel.



I am getting an error, or completion is not confirmed, when trying to re-initialise the extensions. Why?
Unfortunately the Microsoft program that does this job is a binary program (i.e. we cannot see how the program is written). As a result of this, our server admin team do not have access for debugging purposes.

However please be aware of the following when using Microsoft Frontpage:

  1. Make sure you are publishing to http://username.demonweb.co.uk or http://www.YOURDOMAIN.com rather than using FTP. Using FTP via FrontPage can break your directory layout and FrontPage extensions.
  2. If you have any .htaccess files (either manually created or produced by the 'Access control' section of your control panel) then they will probably have to be renamed to something like .htaccess.TODAYSDATE before the FrontPage re-init script will work. 

    If you used the 'Access control' tool then simply go back into that tool and change ‘Access Control type' to 'No Access Control' for each of the folders you placed an access control on.

    After repairing your FrontPage extensions you can replace the access controls on your folders.

    If you have a large number of .htaccess secured folders and so doing this would be impractical, then please contact technical support.
  3. Filenames with unusual characters in their names (e.g. !"£$%^&*(){}[]:@~<>?\/|#';`) may cause the re-init script to fail.
  4. Having hundreds of subdirectories may cause the connection to the server to time out before the re-init script has completed running.

    If you try running the re-init script from your view of the control panel and do not get an error, but still have problems, then please contact technical support.



My FrontPage extensions keep breaking. Why?
To avoid FrontPage extensions breaking, we suggest the following: 

- Do not rename any of the folders with underscores in their name (e.g. docroot/_vti_bin)
- EITHER use Microsoft FrontPage to make changes to your site OR use an FTP program. Avoid alternating between the two different ways of uploading files to your site.
- Avoid using multiple copies of Microsoft FrontPage to make changes to your site – for example, don't use one copy of FrontPage on your work PC and a different copy on your PC at home to make changes to your site.

Do not use the FrontPage 'User permissions' function (use the 'Access control' feature on your control panel instead).



What action should I use for FrontPage Email forms?
You cannot use the built in FrontPage '_vti_bin/shtml.exe' to send mail on the Demon Web Hosting platform. Please set the action line on your forms to use the Zisp emailer tool. See http://websupport.demonweb.co.uk/zispdocs/guide/mailer_FrontPage.html for more information. 





FTP

What server do I upload my files to?
You can FTP to either:

username.demonweb.co.uk
or
www.yourdomain.co.uk

provided the DNS on the your domain has been updated to point at our server).

PLEASE NOTE: If you have FrontPage Extensions on your account and you use Microsoft FrontPage to publish your site, then please do NOT use FTP mode to transfer your files. Instead, please click here for FrontPage instructions.



How long does it take for my account and domain name to go live?
There are three phases. Your web hosting account goes live straight away, and this allows you to use <username>.demonweb.co.uk to start uploading web content (where <username> is your user name). By visiting www.<username>.demonweb.co.uk you can check what your site looks like. Within a few hours your domain name is registered and you have www.<yourdomain> as an alternative address to upload content to. Then after a delay (six hours to a day) visitors can see your site at www.<yourdomain> (where <yourdomain> includes the .com or .co.uk or similar end to your web address).



Can I change the From: field when using the Zisp mailer?
Unfortunately, it is not possible to change the From: field when using the Zisp mailer, but please see http://websupport.demonweb.co.uk/zispdocs/guide/mailer_reference.html for details of changeable features.

If you use a custom Perl, PHP or ASP script that uses '/usr/lib/sendmail -t' to allow more customisation of your web forms setup, you can then change the From: field but you cannot alter the Sender: field as that is set to your unique userID, for abuse tracking purposes.



What directory do I upload my files to?
HTML files should be uploaded into the folder called 'docroot' OR the 'secure' folder if you have purchased the secure option for your space. Please do not put anything in the 'secure_docroot' folder.

PLEASE NOTE: Inside both of these folders there is a sub-folder called 'images'. If you wish your images to be viewable with the built in thumbnail viewer script (see the built in script tools section for details) then please place your image files inside that folder.



What permissions do I need on my files?
Please see the file permissions section of this FAQ.



Why have my files become zero bytes in size?
Check that you have not gone over your disk quota via the 'Quota' section of your control panel.

If you try to upload an updated version of your files while you are over your disk quota, it may result in the files that were previously there becoming zero bytes in size.



Why doesn't FTP show a Quota exceeded warning?
The Quota exceeded warning will only be displayed if your FTP client uses the 'STOR' command to upload the file:

ftp> STOR fullfile16
150 Opening BINARY mode data connection for fullfile16
0% | | -1 --:-- ETA
552 Transfer aborted. Disc quota exceeded

If your FTP client sends the 'APPEND' command then the disk quota exceed warning does not display.

ftp> append fullfile16
200 PORT command successful
551 fullfile16: Append/Restart not permitted, try again

Unfortunately this is a limitation of the behaviour within the ProFTPD server software.





Running scripts

Built in script tools (Zisp)



What are the built in script tools?
These are:

- Guest Counter
- Image Banner
- Online Survey
- Guestbook
- Email Form
- Discussion Forum
- Thumbnail Browser

More documentation is available at http://websupport.demonweb.co.uk/zispdocs/ with examples at http://websupport.demonweb.co.uk/zisp-examples.shtml



Can I send email to more than one recipient at the same time using the Zisp mailer?
The Zisp email tool can only send to one recipient at time.

If you need to use more advanced sendmail options then we advise that you use one of the many form-mail scripts available from the web to interface directly with the /usr/lib/sendmail program.

PLEASE NOTE: If you are using a third party form-mail script then please ensure it is the latest version and is secured to prevent spammers from using your scripts as open mail relays.



Can I change the From: field when using the Zisp mailer?
Unfortunately, it is not possible to change the From: field when using the Zisp mailer, but please see http://websupport.demonweb.co.uk/zispdocs/guide/mailer_reference.html for details of changeable features.

If you use a custom Perl, PHP or ASP script that uses '/usr/lib/sendmail -t' to allow more customisation of your web forms setup, you can then change the From: field but you cannot alter the Sender: field as that is set to your unique userID, for abuse tracking purposes.



Does the mailer form support multiple checkboxes and multi select menus?
No. If you have put a multi line select menu or check boxes on your form then the script will only pull out the value for the last item selected.

You can, of course, install your own custom form-mail Perl, PHP or ASP script to interface directly with the /usr/lib/sendmail program.

PLEASE NOTE: If you are using a third party form-mail script then please ensure it is the latest version and is secured to prevent spammers from using your script as open mail relays.



Does the mailer form support file attachments?
Why are the contents of my form submission mail corrupted?

A. The Zisp mailer does not support file attachments. If you try to set the enctype in your forms to multipart/form-data you are likely to get back a corrupted mail, such as:

-----------------------------7D5A1D50156
CONTENT-DISPOSITION: FORM-DATA; NAME:

firstfieldname
-----------------------------7d5a1d50156
Content-Disposition: form-data; name

instead of the actual fields and values in your form.



Can I have more than one Zisp guestbook?
Currently it is only possible to have one Zisp guestbook.



Can I use the Zisp script tools under the Secure site URL?
Yes, provided you have purchased the SSL option for your account.

The reference to use these tools under the SSL URL is:

/USERNAME/zisp/toolname

instead of:

/zisp/toolname

The datafiles and templates go into:

/secure/_zisp_/ and /secure/easyzisp/

instead of:

/docroot/_zisp_/ and /docroot/easyzisp/

More documentation is available at https://secure.demonweb.co.uk/websupport/secure-zisp-examples.shtml





PERL (CGI)



Generic Perl advice and basic trouble shooting
Some points to check:
- Check that the DNS for your site is pointing at the Demon Web Hosting server, particularly if you are in the process of migrating from another server.
- Test with BOTH Internet Explorer AND a different web browser. Internet Explorer can sometimes hide the true cause of a problem, such as trying to render the HTML code in a .pl file when the server is not actually executing the script.
- Check the examples are working on http://websupport.demonweb.co.uk/ to see if we have any temporary problems on the server.
- Check that you have named your Perl scripts to end in .pl or .cgi (in lower case letters).

If you are reporting problems, please note that support will ask you the following:
- When did the script last work? Where did it last work? For example have you recently migrated your site from a different web server?
- What has changed since the script stopped working? You may not have changed the script but something that the script relies upon, such as a database or something the script links to, may have.
- What is the script basically trying to do? Our server may not allow this specific action but we might be able to suggest an alternative way it could be done.
- What error message does the script give? This will be required if the issue needs to be escalated to our server admin team.
- What other scripts have you tested on your site? Try copying some of the example scripts at http://websupport.demonweb.co.uk. 
- What paths is the script using? Check you have changed the paths if migrating from another server, especially if the other server was not a Unix-based platform.



Where is my cgi-bin?
There is not a specific folder for CGI scripts on the new Demon Web Hosting platform (unlike our older servers).

Any file with a name ending in .pl or .cgi will be treated as being a Perl script so you can put them anywhere inside 'docroot' or 'secure'.

PLEASE NOTE: You may create a folder called 'cgi-bin' inside your 'docroot' folder if that would make it easier for you to migrate your site from a different server.



How do I reference my scripts from an html file?
An example:

If you have /docroot/index.html (http://www.yourdomain.co.uk/index.html) and wanted to call /docroot/script.pl (http://www.yourdomain.co.uk/script.pl)the form action would be:

action="script.pl"
or
action="http://www.yourdomain.co.uk/script.pl"



What is the path to perl?
#!/usr/bin/perl

Click here for details of the most up-to-date version of Perl installed on the server (and its associated Modules).



What permissions do I need on my scripts?
See the file permissions section of this FAQ.

PLEASE NOTE: If a you put a .htaccess file containing:

Options -Indexes

or any other directive that Zeus Web server does not support then you are likely to receive a 403 permission denied error on your scripts, even though there might not be any problems with permissions on the script.



What is the default UMASK (permissions) for files created by scripts?
See the UMASK information at http://websupport.demonweb.co.uk/perl-examples/environment.pl.



How can I set the permissions without telnet shell access?
Most modern ftp clients support the setting of file permissions. If you are using a command line ftp client then use the syntax:

quote site chmod 704 script.pl



How can I debug my scripts without telnet shell access?
See http://websupport.demonweb.co.uk/perl-examples/debug-example.shtml.



How can I check if my script has binary characters in it?
See http://websupport.demonweb.co.uk/perl-examples/debug-example.shtml.



Where is sendmail?
/usr/lib/sendmail

PLEASE NOTE there is a built-in mailer script which makes creating a form to email script much easier. If you are not familiar with the complexities of setting up your own scripts then we would advise you to use this. See the 'built in script tools' section.

PLEASE NOTE: For abuse tracking reasons you can not change the Return-Path: and Sender: fields using /usr/lib/sendmail. 

You can set the From: and Reply-to: using /usr/lib/sendmail –t. For example:

my $mailprog = "/usr/lib/sendmail -t";
my $recipient = 'someone@somedomain.com';
my $from = '"Company Name" <webmaster@yoursitedomain.com>';

open(MAIL, "|$mailprog") || die("There was an error sending the mail: $!");
print MAIL "To: $recipient\n";
print MAIL "From: $from\n";
print MAIL "Reply-to: $from\n";
print MAIL "Subject: This is an email\n\n";

print MAIL " ..... insert the rest of the mail here .....\n";
close(MAIL);

PLEASE NOTE: Specifying a To: field etc. in the header of the email like this can also be helpful to make sure those fields display correctly when the recipient is collecting their mail.



Can I install my own Perl modules?
Installing modules that are in ASCII format (not binary scripts) is possible but this is not supported by the helpdesk. 

For more information please go to http://perldoc.perl.org. We recommend searching for 'perlfaq8' on this site and looking at the sections of that FAQ on:

- How do I install a module from CPAN? 
- What's the difference between require and use? 
- How do I keep my own module/library directory? 
- How do I add the directory my program lives in to the module/library search path? 
- How do I add a directory to my include path at runtime? 

Please note that you will not have access to shell commands such as 'make' on the server, so if the modules need to be compiled you will need to do that on your local server (Compile for SunOS Solaris) and then upload them.



Why don't things like IO::Socket, HTTP::*, LWP::*, Net::Ping work?
Outbound TCP/UDP connections (and ICMP) are limited. Please see the Server Information section for more details.



Can I use the flock function within Perl?
Yes. Unlike the old uk-upload.demon.co.uk server the new Demon Web Hosting platform does not use a separate CGI server to the machine that serves the static content. Therefore there is no Network File System (NFS) (even between the docroot and secure folders) to cause problems with timing on file locking.

If you do experience problems with synchronisation on file locking then please contact the helpdesk.



Why am I getting an error 'method POST not allowed'?
Please check the following:
- That you have named your Perl scripts to end in .pl or .cgi
- That the permissions on your script are set correctly. Please see the file permissions section of this FAQ.
- That you do not have any .htaccess files in your folders containing directives that are not compatible with Zeus Web server. Please see here for details of the htaccess directives on Zeus web server.





PHP



Generic PHP advice and basic trouble shooting
Some points to check:
- Check that the DNS for your site is pointing at the Demon Web Hosting server, particularly if you are in the process of migrating from another server.
- Test with BOTH Internet Explorer AND a different web browser. Internet Explorer can sometimes hide the true cause of a problem, such as trying to render the HTML code in a .php file when the server is not actually executing the script.
- Check your account options and account status via the control panel. For example, do you have PHP scripting enabled on your account?
- Check the examples are working on http://websupport.demonweb.co.uk/ to see if we have any temporary problems on the server.
- Check that you have named your PHP scripts to end in .php (in lower case letters).

If you are reporting problems, please note that support will ask you the following:
- When did the script last work? Where did it last work? For example, have you recently migrated your site from a different web server?
- What has changed since the script stopped working? You may not have changed the script but something that the script relies upon may have done, such as a change in your database or password.
- What is the script basically trying to do? Our server may not allow this specific action but we may be able to suggest an alternative way it could be done. 
- What error message does the script give? This will be required if the issue needs to be escalated to our server admin team.
- What other scripts have you tested on your site? Try copying some of the example scripts at http://websupport.demonweb.co.uk.
- What paths is the script using? For example, check you have changed the paths if migrating from another server, especially if the other server was not a Unix-based platform.



Can I use index.php as my default page?
See DirectoryIndex. 



Where should I upload my php files to?
Any file ending in .php will be treated as a PHP file, provided you have PHP enabled on your account, so you can put them anywhere inside 'docroot' or 'secure'.

Please note that the .php file extension should be in lower case letters.



How do I reference my scripts from a html file?
An example:

action="script.php"
or
action="http://www.yourdomain.co.uk/script.php"



What version of PHP is installed?
See the information provided by the phpinfo() function to see the current version. Please see http://websupport.demonweb.co.uk/php-examples/.



What PHP functions are available?
This will generally be the standard set of functions that come bundled with the version of PHP that we have installed.

Please see http://websupport.demonweb.co.uk/php-examples/ and the question about PHP Mode for more information.



Can I use my own custom functions?
This may be possible; however, please note that this is not supported by the helpdesk. Please refer to the PHP documentation at http://www.php.net/manual/en/

Please note that if you install anything that poses a security risk, or uses excessive resources on our server, then it may be disabled by our Abuse team.



Where is sendmail?
/usr/lib/sendmail

PLEASE NOTE: There is a built-in mailer script which makes creating a form to email script much easier. If you are not familiar with the complexities of setting up your own scripts then we would advise you to use that. See the 'built in script tools' section for more details.

In addition, for abuse tracking reasons you cannot change the Return-Path: and Sender: fields using /usr/lib/sendmail. However, you can set the From: and Reply-to: using /usr/lib/sendmail –t.



Can I use my Microsoft Access (or Microsoft SQL) database?
The server does not support Microsoft Access databases (i.e. the .mdb and .ldb files otherwise known as JET databases).

We would advise opting for the MySQL option and converting your database into MySQL format. Please see the MySQL section of this FAQ for more details.

 


I am getting an ODBC error. Can you help?
The helpdesk does not give technical support for PHP coding. However, please see the MySQL section for generic advice and the example MySQL PHP interaction script at http://websupport.demonweb.co.uk/php-examples/.



Can I change the PHP environment variables via .htaccess?
This is not permitted on our server; instead, you will need to change the values in the individual scripts.



How do I get more detailed debugging information on my scripts?
Please click here for more information.



Why don't outbound TCP/UDP socket connections (and ICMP) work?
Outbound TCP/UDP connections are limited. ICMP is also blocked. Please see the Server Information section for more details.



Can I use the 'curl' library? (Curl is a tool for posting/fetching data from remote webpages etc.)
No, this is not installed. There would be no advantage installing this facility because the firewall restrictions on the web hosting platform will prevent it from being used.



Can I use: include 'http://www.somedomain.com/file.php'?
Not at present. This is due to the outbound firewall restrictions. Only local includes will work, such as include 'mylocalfile.php'. 

Please see the Server Information section for more details.



What mode is PHP running in?
Please see http://websupport.demonweb.co.uk/php-examples/phpinfo.php.



Can I have register_globals switched on?
This is not allowed for security reasons. However, there are many more secure methods of doing the same thing. Please see http://uk.php.net/register_globals for more information.

MySQL-Lockfile.lck") || die("Cannot open MySQL-Lockfile.lck:$!");
flock(LOCKFILE,2); # Lock the lock file

# Do your MySQL queries here

flock(LOCKFILE,8); # Unlock the lock file
close(LOCKFILE);

But, to quote a document from the MySQL website, you don’t have to lock tables, because all single UPDATE stastments are atomic; no other thread can interfere with any other currently executing SQL statement. This document can be found at http://dev.mysql.com/doc/mysql/en/LOCK_TABLES.html.



Why does my database slow down as my tables get bigger?
The helpdesk does not support customers to optimise databases. For further advice please read the documents on the http://www.mysql.com website.

In particular, the document at http://dev.mysql.com/doc/mysql/en/MySQL_indexes.html discusses adding indexes to your tables for columns that they are frequently doing searches on (by default a MyISAM table only indexes the primary_key for the table).

There is also a useful article at http://www.databasejournal.com/features/mysql/article.php/1382791.



Why does PHPMyAdmin show the wrong number of rows in my table?
This is a known 'feature' of InnoDB tables when running "SHOW INDEX FROM `InnoDBtable`". Basically, MySQL estimates the number of rows rather than actually counting them. See http://dev.mysql.com/doc/refman/4.1/en/innodb-restrictions.html for more information.



Can I install my own copy of PHPMyAdmin?
Yes. If the shared installation of PHPMyAdmin does not meet your requirements then you can install your own copy of PHPMyAdmin inside a subdirectoy of 'docroot' on your site.

PLEASE NOTE: Custom installs of PHPMyAdmin are not supported by the helpdesk. Please refer to the support documents that come with the PHPMyAdmin.

Make sure you password protect the directory that you install it in (use the 'Access Control' feature on your control panel).

This will count towards your disk usage quota. (TIP: The foreign languages support files use a lot of your disk space.)





SSI (sever side includes) 



Generic SSI support
- Please check that the DNS for your site is pointing at the Demon Web Hosting server, particularly if you are in the process of migrating from another server.
- Test with BOTH Internet Explorer AND a different web browser. Internet Explorer can sometimes hide the true cause of a problem, such as trying to render the HTML code in a .shtml file when the server is not actually executing the server side code.
- Check the examples are working on http://websupport.demonweb.co.uk/ to see if we have any temporary problems on the server.
- Check that you have named your SSI pages to end in .shtml (in lower case letters).



How do I make use of the SSI features?
Call your html files .shtml instead of .html and see the examples at http://websupport.demonweb.co.uk/ssi-examples/.

 

Can I use SSI functions in the custom HTTP error pages inside /errpages?
Yes, and you don't even need to call them .shtml (please note that in order to use SSI functions inside /docroot or /secure file names must end .shtml).

 

Can I use SSI functions on normal .htm or .html pages (outside /errpages)?
This is not supported. To use SSI functions inside /docroot or /secure file names must end .shtml.

 

Can I use: include virtual='http://www.somedomain.com/file.htm'?
No, the Zeus SSI include virtual command can only include files that are on the same server.

Even if this was supported, our firewall would block the outbound port connection (please see the section on server information here).






Features that are not available

There are other restrictions within PHP, ASP, MySQL etc. so if your area is not listed here then please refer to the sections on those topics. 



Does the server support the Microsoft .NET version of ASP (ASP.NET)?
Unfortunately not.



Can I use my Microsoft Access (or Microsoft SQL) database?
No, but it is possible to convert Microsoft Access databases to MySQL format. Please click http://www.mysql.com/ for more details.

 

Can I use the ASP CDONTS functions (e.g. Emailer and File upload)?
Unfortunately, not at the moment. Please see here for more details.

 

Does your server support .jsp (Java servlet pages, e.g. Tomcat)?
No, but we will continue to provide feedback to the product managers if customers are requesting this feature.

 

Can I buy more disk space on the 'Standard' product?
No, but you can upgrade to the larger Advanced product. Please see here for more details.

 

Does the server support video and audio streaming?
If your account has been upgraded from Homepages then you will retain the RealVideo, RealAudio, QuickTIme and MP3 streaming capabilty. In other cases, such as new hosting accounts, streaming is not offered at present.

 

Can I use SSI functions on normal .htm or .html pages (outside /errpages)?
No. This is not supported.

 

Can I run 'cron' jobs?
No. (A cron job is like a server side version of the windows task scheduler.)

You could, however, run a CGI script on your website, at regular intervals during the day, by calling it from a web page with a meta refresh (or perhaps by launching Internet Explorer at certain times of day using the Windows task scheduler).

 



Server Administration

DNS settings



What IP address should I add to DNS if my domain is not being transferred to Demon?
The same IP addresses that websupport.demonweb.co.uk resolves to (currently 193.195.70.8 and 193.195.70.9).

Ideally you should put both IP address in the DNS if possible. For example:

www.domain.com IN A 193.195.70.8
www.domain.com IN A 193.195.70.9

If you can only add one IP address in your DNS, then either one will do.

PLEASE NOTE: If you have not added the domain to your Demon Web Hosting control panel then our server will not know that the domain should be linked to your username and will not display the site.



Can I have http://domain.com and http://somehost.domain.com pointing at my site?
Any domains added to your site via the control panel will have 'www.' at the start; however, if it is vital that your site is also accessible without 'www.' then please send a signed, company-headed fax to our administration department on 0845 270 0043, marked for the attention of the 'Service Plus' team. On the fax please ask for an additional 'A' record entry to be added for your domain so that both http://your-domain.com and http://www.your-domain.com are pointing at the IP address of the Demon Web Hosting server.

If you need to contact our administration team regarding this matter then please email serviceplus@demon.net.



How should I transfer domains from an existing Showroom account over to Demon Web Hosting?
You should add the domain(s) via the 'My Domains' section of your control panel by selecting the 'Transfer an existing domain' option.

PLEASE NOTE: It is important that the domains go on the same account number. Provided the new Demon Web Hosting account is on the same account as the domains on the old Showroom/Diva Web product then this should not be a problem. If you are not sure which account number(s) your services are on then please speak to our Sales team.

 



Server Properties



What kind of server does this web service run on?
See the lines for 'SERVER_SOFTWARE' line and 'Operating system information' on http://websupport.demonweb.co.uk/perl-examples/environment.pl.




Can I make 'outbound' port connections from the server?
For security reasons, outbound port connections are not currently permitted.

 


What is the path to my ...... folder?
In most cases you should be able to use relative paths.

For example, a script in docroot/subdirectory/myscript.pl should be able 
to write to a file in docroot by referring to it as $filename = 
"../filename.txt";

If you wanted to write a file into your secure folder (if you have the 
SSL option on your account) from that script then you would use:

$filename = "../../secure/filename.txt"; 

Or if you have a script in the SSL side of your site that wanted to 
read/write to a file in the docroot folder you could use a relative path 
such as:

$filename = "../docroot/filename.txt";

If the script really needs the full path to your home directory then the 
most 'future proof' answer to this question is to look at the 
environment variables for:

DOCUMENT_ROOT (available to Perl and PHP)
APPL_PHYSICAL_PATH (available to ASP – please note that ASP is slightly 
different to PHP and Perl in the way it sees directories.

Please see 
http://websupport.demonweb.co.uk/perl-examples/environment.pl
http://websupport.demonweb.co.uk/php-examples/phpinfo.php and 
http://websupport.demonweb.co.uk/asp-examples/environment.asp for more information.

For example: 

/resellers/demon/[service type]/content/[1st letter]/[2nd 
letter]/[username]/docroot

Where [service type] would be either 'webhosting' or 'webhosting-plus' 
and [1st letter]/[2nd letter] would be the 1st and 2nd letter of the 
username and [username] would be your web space username.

PLEASE NOTE: $ENV{'DOCUMENT_ROOT'} reports 'secure_docroot' instead of 
'secure'. However, the 'secure' folder is actually where you need to 
store data for your SSL site. Please see 
https://secure.demonweb.co.uk/websupport/perl-examples/environment.pl



What should the first page be called?
The DirectoryIndex search order on Demon Web Hosting is:

index.html, index.htm, index.shtml, index.cgi, index.php, index.asp

Your first page could be called any one of these; however, please note that if you have an index.html and an index.asp file the server will load the one called index.html in preference to the file named index.asp.

For customers who are migrating from our older commercial web platforms, the DirectoryIndex on the older platforms were:

Original Comweb: index.html, index.htm 
UK-upload: index.html, index.htm, index.asis
BDU: index.html, index.htm, default.htm 



Can I have index.wml as an opening page?
No, but you could use index.cgi and have that print a different Content-type: line depending on what the browser sent in the 'HTTP_ACCEPT' variable. Please note that this is not supported by the helpdesk.

If the browser said that only 'text/vnd.wap.wml' is acceptable then send back:

print "Content-type: text/vnd.wap.wml\n\n";

and the small wap version of your homepage.

Otherwise send back:

print "Content-type: text/html\n\n";

and the full HTML version of the page.

For example, if:

($ENV{'HTTP_ACCEPT'} =~ /vnd\.wap\.wml/i) {
print "Content-type: text/vnd.wap.wml\n\n";
# and rest of WML code}

Otherwise:

{print "Content-type: text/html\n\n";
and rest of HTML code}



Does your server support XML?
Yes, Zeus server does support XML. Please see http://websupport.demonweb.co.uk/example.xml.

As with WAP pages, however, index.xml will not display as one of the default directory indexes.



Are there any reserved folder names within docroot?
Yes. The following are reserved names and cannot be used as a 'web' accessable sub directory of docroot or secure (i.e. you should not use these folders to store content that you would want people to be able to see via a web browser).

/zisp/ (built in ZISP script tools)
/zisp-docs/ (instructions on using the ZISP script tools)
/_zisp_/ (where data from the ZISP script tools is stored)
/easyzisp/ (where html templates for customising the ZISP tools are stored)
/logs/ (linked to ../logs Logs for your site and password protected)
/stats/ (linked to ../stats Webalizer stats for your site and password protected)
/i/ (where the standard image templates and Demon style sheets go)
/icons/ (standard image library)
/controlpanel/ (please note that your customer control panel is not located at this URL)
/default-err/ (links to /errpages in the root of each customer directory)



What permissions do I need on my files?
These are as follows:

750 (or 755) for directories
640 (or 644) for regular files
705 (or 755) for Perl scripts
640 (or 644) for PHP scripts
640 (or 644) for ASP scripts

Also note that the /docroot folder has permissions with the 'setuid' bit set for group. For example:

"drwxr-s--- 28 10000225 zeus 2048 Mar 4 13:08 docroot"

If you accidentally delete the /docroot folder and re-create it then please contact technical support to ask them to 'chmod g+s' it and change the group back to Zeus.


PLEASE NOTE if you put an .htaccess file containing:

Options -Indexes

or any other directive that Zeus Web server does not support, you are likely to receive a 403 permission denied error on your scripts even though there may not with a problem with permissions on the script.



What MIME types are setup on the server?
See mime-types.txt.



Why does the server seem to try setting a cookie: Set-Cookie: X-Zeus-Mapping-3ade68de=lon1-web-2.msh.demon.net; path=/ 
The purpose of this cookie is to enable the front ends of the web server to cache information about the site that is being served, rather than having to lookup the details from the back end database each time, to improve the efficiency of serving the requests. 

There is no option to disable this on a per account basis. If visitors to your site refuse cookies they will still be able to view your site.



Why is your server only showing the time in GMT and not BST?
The server runs GMT all year around.

Here are some example scripts to show if the UK timezone is currently in BST or GMT. Please note these are not supported by the helpdesk:

Perl:
http://websupport.demonweb.co.uk/perl-examples/gmt-or-bst.shtml

PHP:
http://websupport.demonweb.co.uk/php-examples/gmt-or-bst.shtml

 


What is the network port speed that the server connects to your network on?
100 Mbit (and above in some parts). 

PLEASE NOTE: As this is a shared hosting platform, individual customers using excessive bandwidth to an extent that would cause a loss of service to other customers on the server may have their site suspended.



Is zlib available?
What Zip compression utilities are available?
Zlib, zip and gzip are not installed at present. However, the following are available:

/bin/compress
/bin/uncompress
/bin/unzip
/bin/tar




Logs and statistics



The link to download my logs via FTP from the control panel does not seem to work.
This has been reported to our server admin team.

You can access your logs via HTTP at:

http://www.domain.com/logs/
http://username.demonweb.co.uk/logs/

or you can use an ordinary FTP client to access your log files.

You can view the Webalizer stats at:

http://www.domain.com/stats/
http://username.demonweb.co.uk/stats/



Can I download and analyse my logs with an external program?
Yes, you can download your logs to analyse them in a third party Application; however, this is not supported by the helpdesk.

The logs are in NCSA common log format and they are accessible via ftp in the 'logs' folder.


Sample Logs Breakdown for Demon Web Hosting

Please note that this has been split into two lines to make it fit on this page.

Client Machine  Remote Login  Remote User  Time  Request
192.168.0.1  -  -  [22/Sep/2005:14:00:00 +0000]  "GET / HTTP/1.1"


Status Request  Bytes  Sent Referer  User Agent
200  10601   "http://websupport.demonweb.co.uk/" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0)"



A command such as::
LOGFORMAT (%S %j %u [%d/%M/%Y:%h:%n:%j %j] "%r" %c %b "%f" "%B")
or
LOGFORMAT (%S %j %u [%d/%M/%Y:%h:%n:%j %j] "%j %r %j" %c %b "%f" "%B")

may work for the program called 'Analog'.

Please refer to http://www.analog.cx/docs/logfmt.html for full information on how to process logs with Analog. This program is not supported by the helpdesk.



I am not always available to download my logs regularly.  Can I have my logs left on the server for longer or can you email me my logs each day ?
Unfortunately it is not possible to leave logs for longer in individual customers’ logs directories and we do not email logs.

Please note that at the end of each day your raw logs are analysed and the statistics are added to your Webalizer stats. The Webalizer stats are kept for 12 months (as they only take up a fraction of the amount of disk space that the raw logs do).

If you need to keep your raw HTTP logs, there are two alternatives open to you. Please note that these options are not supported by the helpdesk:

1. It appears that (at least on Windows 2000) you can run the command line ftp program with a batch file. For example:

c:\> ftp -s:ftp-get-logs.txt

and then in the ftp-get-logs.txt file have:

--------------------------------
open YOURUSERNAME.demonweb.co.uk
YOURUSERNAME
YOURPASSWORD
cd logs
bin
prompt
mget *
quit
--------------------------------

and it will grab everything in your logs directory to the your local machine.

Optionally you may wish to have a second ftp-delete-logs.txt file containing:

--------------------------------
open YOURUSERNAME.demonweb.co.uk
YOURUSERNAME
YOURPASSWORD
cd logs
prompt
mdele *.log.gz
quit
--------------------------------

(Please note that trying to include the delete commands in the same file as the get commands does not seem to work.)

You could then put the commands:

-----------------------------
cd [directory where they want to save the files]
ftp -s:ftp-get-logs.txt
ftp -s:ftp-delete-logs.txt
-----------------------------

in a batch file and call that file from the windows task scheduler at the end of each day (after midnight).

As the ftp-get-logs.txt and ftp-delete-logs.txt text files will contain your password make sure you save them in a directory, on your local system, where only an authorised user can read it.

2. You could install a Perl, PHP or ASP script in your docroot folder that could move your zipped log files into a subdirectory of docroot. You could then call that Perl script once a day by calling the script via a browser launched from the Windows task scheduler. 

PLEASE NOTE: The log files count toward your total disk quota. This is part of the reason why the raw logs are only kept for 7 days.



Can you change the configuration of my Webalizer stats?
Unfortunately, the settings cannot be changed for individual users as the configuration of the Webalizer stats is server-wide. However, we take customer feedback very seriously and will continue to pass this on to the server admins and product managers regarding the configuration of the Webalizer stats.

As outlined in the question above, you can download the raw HTTP log files and analyse them with a third party piece of software to get the stats as you want to see them; however, this is not supported by the helpdesk.



Can I download the logs in /logs/today (and why are there two files in that folder)?
The files inside /logs/today/ may not be accessible by all customers. (Originally all customers had read/write permissions on their /logs/today folder but this caused problems as some customers deleted the files that the servers were trying to write to, so the permissions were cut back.) If you really need 'read' access to these logs then we may be able to arrange that. Please contact the helpdesk.



Why are there multiple files in the /logs/today/ folder?
For example:

ftp> dir
200 PORT command successful
150 Opening ASCII mode data connection for file list
-rw-r--r-- 1 10000224 zeus 22373 Sep 27 16:51 access.lon1-web-1.20040927
-rw-r--r-- 1 10000224 zeus 41387 Sep 27 16:31 access.lon1-web-2.20040927
-rw-r--r-- 1 10000224 zeus 899 Sep 27 12:31 secure.lon1-web-2.0.20040927
-rw-r--r-- 1 10000224 zeus 3270 Sep 27 16:28 secure.lon1-web-2.3.20040927

This is because the server runs 'load balancers' (i.e. multiple computers serving the same content to provide extra resiliency.

The load balanced servers write to separate files to ensure that those files are not corrupted by multiple processes writing to the same file at the same time. At the end of the current day the files are combined into one (zipped) log file and placed inside the /logs/ directory.



Can I install my own Perl, PHP or ASP script etc. to analyse my logs online?
Possibly, but this is not supported by the helpdesk. The path to the logs folder is either:

../logs/ (if the script is just inside in the docroot folder)

OR the full path:

/resellers/demon/[service type]/content/[1st letter]/[2nd letter]/[username]/logs

Where [service type] would be either 'webhosting' or 'webhosting-plus' and [1st letter]/[2nd letter] would be the 1st and 2nd letter of the username and [username] would be your web space username.



Can I have my own customised log format?
Unfortunately, there is no facility for adding customised log formats for individual customers’ accounts.

If your pages are script based (e.g. Perl, PHP or ASP) then you could write your scripts to record the extra information that you are looking for in to your own special log file inside the docroot folder. Please note that this is not supported by the helpdesk.



Can I have DNS resolution on my log files?
Unfortunately this is not possible. This would put a massive strain on the CPU resources of the server, bearing in mind that this web platform serves several thousands of hits per minute and all customers have detailed logs enabled.

If you would like to analyse the logs in a third party application then we recommend one that can resolve the DNS locally on your own computer as it performs the log analysis.



Do the logs count toward the disk quota?
Yes. This is why logs are zipped at the end of each day and only 7 days of raw logs are kept.

The graph stats generated by Webalizer are kept for much longer (currently 12 months) as they do not take up anywhere near the volume of space that the raw HTTP logs require.



Do you have my old logs from before this week?
No. Your logs are written directly to your own logs directory. Each zipped log is deleted once it becomes older than 7 days (8 days total including the contents of /logs/today/).

There is no duplicate of the log data anywhere on the server.



How do I stop web robots from trawling my entire site?
Create a file called /docroot/robots.txt (and /secure/robots.txt if you have the SSL option ) containing:

User-agent: *
Disallow: /

which will ask all robots not to trawl through any part of your site. For more detailed information we recommend you refer to sites such as http://www.robotstxt.org/wc/faq.html.



Can you explain what the Webalizer sections mean?
There is an explanation of each of the Webalizer sections on the context sensitive help link in the 'Access Log Analysis' section of your control panel.

Please also refer to the FAQs on the main Webalizer home page at http://www.mrunix.net/webalizer/webalizer_help.html and http://www.mrunix.net/webalizer/faq.html



htaccess



Can I use advanced .htaccess options?
Why do I have greyed out padlocks on the 'Access Control' GUI?
Anything beyond using the htaccess controls provided in the 'Access control' section of your control panel is not supported by the helpdesk.

It is possible for you to manually create .htaccess and .htpasswd files on your own computer and upload them to our server; however, this is unsupported.

PLEASE NOTE: The .htaccess files created by the 'Access Control' page contain the following text:

## Generated file -- START
# This section has been generated by accesscontrol in the controlpanel.
# If any text is placed before, or after this section or if the 
# section delimiters are altered or missing then accesscontrol will
# refuse to edit the file. Otherwise it is assumed that it can be 
# overwritten freely.

order deny, allow
deny from all

## Generated file -- END


If you put your own manually created .htaccess files in place then it may stop the 'Access Control' panel from working.

PLEASE NOTE: The 'grey' padlocks on the folder identify directories that contain .htaccess files that the 'Access Control' system cannot understand.



I am happy to create my own custom .htaccess files instead of using the 'Access Control' panel. What .htacces directives work on the Zeus platform?
As above, these features are not supported by the helpdesk and we make no guarantee that they will work now or in the future. There are details of .htaccess directives on Zeus Web server at http://support.zeus.com/doc/zws/v4/user_guide.pdf.



Can I deny directory listings using .htaccess?
Please refer to the previous question about .htaccess directives. You cannot 'deny' a directory listing but you can make it not list using * IndexIgnore *. 

However, we recommend that customers put an index.html in every directory that they want to stop a listing of rather than using this .htaccess directive.

PLEASE NOTE if you put a .htaccess file containing:

Options -Indexes

or any other directive that Zeus Web server does not support you are likely to receive a 403 permission denied error on your scripts even though there may not be a problem with permissions on the script.



What MIME types are setup on the server and can I add more in .htaccess?
Please see mime-types.txt. You can add more mime types by using a .htaccess file in your docroot and secure folders.

PLEASE NOTE: The helpdesk does not give technical support for using .htaccess files.



Can I use custom error pages (such as 404 Not found)?
Yes, but it is not necessary to use .htaccess to do this. You simply need to upload the files into your /errpages directory via FTP.

By default you should have the following in /errpages:

400.html
401.html
403.html
404.html
406.html
501.html

Also, please note that (as per the SSI section of this FAQ) these files are treated as being Server Side Include files (i.e. you can use some basic scripting functions within the code.

PLEASE NOTE: These custom error pages must be more than 512 Bytes in size or Microsoft Internet Explorer will ignore your own custom Error document and display its own 'friendly' error message instead.



Can I use mod_rewrite?
This is not available. You can use index.cgi, index.php or index.asp as a default page on your site, so you could possibly use Perl, PHP or ASP to achieve a similar result as mod_rewrite; however, this is not supported by the helpdesk.

You can also use SSI tags within the /errpages/404.html to 'include' a particular CGI script. Please see http://websupport.demonweb.co.uk/ssi-examples/. 

If you are trying to use rewrite to block search engines from creating direct links to your image files then we would advise you to create a robots.txt file in /docroot containing:

User-agent: *
Disallow: /images

For more information on robots.txt please click here.






Account Administration

Administration


Where is the admin control panel?
The control panel is at https://admin.dwh.demon.net.

There is a context sensitive 'HELP' link on the bottom of the screen of each section of the control panel.



'A serious error occurred' while changing my password. Why is this?
There are multiple stages to the password reset process, as this sets the password for:

control panel
FTP
The /logs/ and /stats/ directories
FrontPage (If you have that option)
MySQL and PHPMyAdmin (If you have the database option)

If the process fails on setting the password at any of these stages it will give an error and stop attempting to set the password on the rest of the stages.

Common causes of password setting problems are:

- The account is suspended (check the 'Quota usage' on the control panel)
- You have chosen a password that systems such as MySQL will not accept (e.g. non alpha-numeric characters)
- You have deleted some of your Microsoft FrontPage folders (e.g. /docroot/_vti_pvt. If you have the Microsoft Apps option then try re-initialising the FrontPage extensions via the control panel).

If you have checked all of the above and are still having problems resetting your password then please contact technical support.



Why am I getting a quota exceed warning even though the control panel shows I am not?
There could be two reasons for this:

  1. You were temporarily over your quota at the time the script, that sends the warning mails, was run. 

    This could be caused by large log files, if you have a very busy site. The log files are now rotated and zipped each night, which could account for a site having gone over the disk quota but then being back under the quota without anything having been deleted.
  2. The disk space quotas also have a limit on the number of files. If you have many thousands of small files then you will reach your 'inode' quota limit before the actual amount of disk space.

The current limit on the number of files per site is 32,000. This limit is there to protect the server against abuse, for example in case someone installs a bad script that tries to write millions of files which would consume vast amounts of server resources.

If you are having quota warning problems but your 'Quota Usage' graphs do not show your account as being over quota, then please contact technical support.



I went over my hard quota and got suspended. I have since bought more space, so why am I still suspended?
Please see here for an explanation of the quotas system..



Why did I not receive a disk quota exceeded mail?
If a contact email address is not set on your account then a warning email cannot be sent out. Please contact technical support to check that your account has the correct contact email address.



Do backups count toward the disk quota?
No. The backups created via the control panel function, for Advanced and Professional hosting customers, do not count toward your disk quota.



What files are backed up using the Backup/Restore utility?
When running the 'Backup' on the Advanced version of the Demon Web Hosting product the following directories are backed up:

/docroot
/secure
/secure_docroot
/stats
/stats_secure
/logs
/errpages
users (which is the password file used by 'Access Control')

PLEASE NOTE: When running a 'Restore' then the WHOLE current contents of the above folders will be deleted and then replaced by the previous backup. The 'Restore' does not merge the previous archive with the newer files. Also, the backup/restore facility does NOT back up or restore your MySQL database.

Please see here and visit http://www.demon.net/helpdesk/technicallibrary/webhosting/backupmysql/ for details of how to back up your MySQL database separately onto your own PC.



What is the difference between soft and hard quotas?
Soft Quotas: If you exceed your soft quota you will be sent a warning via email. If you believe you have exceeded your soft quota but do not receive this email warning then please contact customer services to check that the email address on your account details is up to date.

If you exceed your soft quota for too long then your account will be suspended OR you will be charged for the extra quota that you are using. The warning email will confirm if your account is to be suspended or charged and the timescale of when that action will take place.

If you reduce your usage and get back under your quota limit before the time specified in the warning email then no action should be taken against your account.


Hard Quotas: If you exceed your hard quota limit then your account will be suspended immediately. The reason for this is to protect the server against any abuse, for example to stop anyone from using so much of the server’s resources that it would cause a loss of service to other customers.

PLEASE NOTE: Customers that go over the hard quota will NOT be automatically unsuspended even if they delete content from their site to get back under the quota limit. Please contact the helpdesk so that we can verify how the quota limit was exceeded by such a large margin (for example, if you have a badly written CGI script that has generated thousands of files).



How much extra bandwidth do I get if I upgrade my disk space quota?
This could depend on the type of account you have. Please contact the helpdesk for more information.



What period is the bandwidth quota measured over?
This depends on the type of account you have. Please contact the helpdesk for more information.



Why can't I buy more disk space on the 'standard' product?
This is part of the product design. You need to upgrade to the Advanced or Professional product before you can purchase more disk space.

Please see http://www.demon.net/webhosting for the latest details of the product specification.



What is the maximum amount of disk space I can purchase on the Advanced product?
You can purchase 100MB increments, or simply upgrade to the Professional product which has 1GB (1,000 MB) disk space and a bigger monthly bandwidth allowance. See http://www.demon.net/webhosting for the latest details of the product specification.



I upgraded to the Advanced or Professional product by mistake! How do I downgrade again? 
My disk space was automatically upgraded but I don't need it. How do I downgrade again? 

We recommend contacting the helpdesk first to speak to them about what may have caused the upgrade and to verify what your requirements are.

The technical support team may then need to refer you to our administration team if downgrading is appropriate.

PLEASE NOTE: If you did not receive warning mails about your account being upgraded then please check we have the correct email address set on your account details, when talking to the helpdesk.




Demon Commerce


Where is the Demon Commerce folder?
It is slightly different on the new Demon Web Hosting platform than the older uk-upload server, but can be found at:

docroot/web_commerce

Please note this is not available to new customers at present (current as of January 2008).



Can I migrate my Demon Commerce store from uk-upload to Demon Web Hosting?
We are not currently signing up or migrating any Demon Commerce services (current as of January 2008). Please see the products section of http://www.demon.net for any update to this situation.



Can I use Actinic Catalog on Demon Web Hosting?

The firewall setup on Demon Web Hosting prevents Actinic from working because the publishing script tries to make a TCP port 80 connection from a CGI script (ActinicHttpTest.pl) on the web server to www.actinic.com.

Actinic reports that it has no approved work around for this situation. If Actinic can provide a version of their scripts that do not require outbound port connections from the server then it may be possible to run them. 

Some customers have reported success with installing older versions of Actinic Catalog, uploading the site, then upgrading to a newer version of Actinic and re-uploading the 'changes only' over the top of the previous files. Please note that this product is not supported by the Demon Helpdesk. The helpdesk can only provide generic support for the use of any scripts that have not been supplied by ourselves (for example, information such as the paths to your directory and the path to Perl).




Acronyms

DWH: Demon Web Hosting
FTP: File Transfer Protocol (used for uploading/downloading files)
CGI: Common Gateway Interface
Perl: Practical Extraction and Report Language
PHP: Hypertext Preprocessor 
ASP: Active Server Pages
SQL: Structured Query Language (Database)
SSL: Secure Sockets Layer
SSI: Server Side Includes
CDONTS: Collaboration Data Objects (CDO) CDO for NTS Library Objects





Technical support

Email: websupport@demon.net
Phone: 0845 272 2555


 





*