UNIX FAQ

This specific information regarding PenTeleData hosted websites on Unix based servers.

  1. How can I access basic statistics for my website?
  2. How do I get Server Side Includes to work on my Unix based website?
  3. What settings must I set to connect to the SSH server?
  4. The program I’m trying to install requires root level access to complete the installation, what should I do?
  5. My CGI scripts aren't working. What might be wrong?
  6. Does PenTeleData have mod_perl enabled?
  7. Are there any other differences in functionality between telnet and SSH?
  8. What is the path to sendmail?
  9. What is SSH?
  10. What program should I use to connect to the SFTP server on ftp.ptd.net?
  11. Do you provide sudo access?
  12. What is the path to Perl?
  13. What settings must be entered to connect to our SFTP server?
  14. Can I use a database on my website?
  15. Is the telnet server on ftp.ptd.net going to be deactivated? Must I begin using SSH?
  16. How can I create my own password protected directory?
  17. I received a disk usage warning, what does this mean?
  18. Are there any more detailed statistics?
  19. Can I create custom error pages such as "404 Page Not Found" on my website?
  20. Does SSH/SFTP change anything about my website? Does it make it more secure after I upload it?
  21. Is FTP going to be disabled? Am I required to begin using SFTP?
  22. What is SFTP?
  23. What types of scripts can I use on my website?
  24. I am prompted to confirm the host key when I connect using SSH/SFTP. What should I do?
  25. Can I protect my Unix website or a sub-directory with a username and password?
  26. What do the statistics in wwwstats.html mean?
  27. I received a disk usage warning, what does this mean?

How can I access basic statistics for my website?

Visit http:// website/wwwstats

How do I get Server Side Includes to work on my Unix based website?

How do I get Server Side Includes to work on my Unix based website?

What settings must I set to connect to the SSH server?

The only value that should need to be changed is the hostname and possibly the port. The hostname should read "ftp.ptd.net" without the quotes. The protocol should be SSH, and the port is 22.

The program I’m trying to install requires root level access to complete the installation, what should I do?

PenTeleData does not support the installation of third party software/libraries on our shared hosting environment. If you need software which needs installation access beyond your allotted web hosting space, please contact PenTeleData’s Commercial Sales Department at 800.281.3564 to discuss managed server solutions which may fit your needs.

My CGI scripts aren't working. What might be wrong?

In order for CGI scripts to run, they must be made executable. To do this, you must ssh to ftp.ptd.net, then log in using your webmaster username and password. After this, you should see a prompt with a $ at the end. Type "cd cgi-bin" without the quotes, and then press enter. Then type "chmod 755 filename" (where filename is the cgi which you are trying to make executable), and press enter. You can then type exit to log out. Alternatively you may be able to use your FTP program to chmod the file by right clicking and choosing properties. You may then be given the option to chmod the file and click save.

Does PenTeleData have mod_perl enabled?

Yes. PenTeleData does have the mod_perl module enabled on all our commercial webservers. For more information about mod_perl please check out: http://perl.apache.org/guide/.

Are there any other differences in functionality between telnet and SSH?

No. Both of these services should operate identically.

What is the path to sendmail?

/usr/lib/sendmail -t

What is SSH?

SSH is a secure replacement for telnet. Customers who currently use telnet to manage some aspects of their site and databases should consider using SSH to ensure that their passwords are not intercepted by a third party while being transmitted.

What program should I use to connect to the SFTP server on ftp.ptd.net?

As with SSH, there are numerous SFTP clients available. On Windows, the most popular is WinSCP, which can be downloaded for free from http://winscp.net/eng/download.php . Most Linux distributions include a command line SFTP client. To connect to our SFTP server using the command line client: "sftp username@ftp.ptd.net ". You will then need to use the same commands as you would if using a normal FTP program (i.e. cd, put, get, etc.).

Do you provide sudo access?

PenTeleData does not provide sudo access on our shared hosting environment. If you require this level of access, please contact our commercial sales department at 800.281.3564 ext 7715 to discuss managed server solutions which may fit your needs.

What is the path to Perl?

/usr/local/bin/perl

What settings must be entered to connect to our SFTP server?

You will need to enter ftp.ptd.net for the hostname as well as his/her username and password. The port number should remain at 22, and you should use the SFTP protocol (SCP is not supported).

Can I use a database on my website?

You can create a mySQL database on your UNIX site. For more information on adding this service to your account, please contact our sales department at 1-800-281-3564 x7715

Is the telnet server on ftp.ptd.net going to be deactivated? Must I begin using SSH?

While we do plan to eventually deactivate telnet on ftp.ptd.net, we currently do not have a timeframe for this. Customers are, however, strongly encouraged to use SSH whenever possible for security reasons.

How can I create my own password protected directory?

SSH to ftp.ptd.net and login with your assigned username and password. At the $ prompt type: "cd userdb" At the new $ prompt type: htaccess -c {filename                                                                 

I received a disk usage warning, what does this mean?

This notification means that the amount of disk space used by your website currently exceeds the limits of your purchased web-hosting plan. If you have not recently uploaded files, deleting old log files may alleviate the problem. These log files are located in the "/logs" directory of your website. Using either FTP, FrontPage, telnet or SSH you can delete those log files which are out of date. Another common cause of disk usage is large media uploads — video or audio files. If you do not require these files, please remove them to reduce your site to within the assigned limits. If you have performed these steps and your website is still too large, please contact 1-800-281-3564 x7715 concerning upgrades to your current hosting plan.

Are there any more detailed statistics?

Yes. Please contact our sales department at 1-800-281-3564 x7715 for more information about NetTracker, which is our more detailed statistic program.

Can I create custom error pages such as "404 Page Not Found" on my website?

Yes, in the docs directory create, or add to, the file .htaccess. In this file insert the following:
ErrorDocument {error number}                                                                

Does SSH/SFTP change anything about my website? Does it make it more secure after I upload it?

No. SSH and SFTP only secure information while it is being transmitted to/from an SSH or SFTP program. If you are concerned about the security of data being transmitted between their website and their viewers, you should consider an SSL certificate.

Is FTP going to be disabled? Am I required to begin using SFTP?

No. There are currently no plans to deactivate FTP on ftp.ptd.net.

What is SFTP?

SFTP is a secure replacement for FTP. SFTP is an extension of SSH, and as such is dependant on SSH, and does not use the FTP protocol to transfer files. You may wish to use SFTP to ensure that their password is not transmitted in plain text, or to be sure that content is not being read while it is being transferred to or from their web server.

What types of scripts can I use on my website?

You can use PERL and CGI. PHP is also available upon request. Please email webmaster@ptd.net to activate PHP scripts for your site.

I am prompted to confirm the host key when I connect using SSH/SFTP. What should I do?

It is normal for this message to appear the first time you connect to a host. This is because your SSH/SFTP client checks to see if the server you are connecting to appears to be the same one as before. Generally, you can say yes or OK to this message. If you are concerned that the server you are connecting to might be fraudulent, email webmaster@ptd.net to obtain the host key. Once you have the host key, you can verify that it matches the prompt you received from your SSH/SFTP Client.

Can I protect my Unix website or a sub-directory with a username and password?

By default, the docs/secure directory is password protected. To give a user access to this directory, telnet to ftp.ptd.net and login with your assigned username and password. At the $ prompt type: cd userdb. At the next $ prompt type: htpasswd .htpasswd username. Replace username with the name of the user you wish to grant access. The user is now allowed web browser (HTTP) access only to the directory. This will not create an additional FTP account/access.

We do not currently support additional authenticated FTP user accounts. If you require multiple FTP management accounts, please contact our Sales Department at 800.281.3564 ext 7715 to discuss a managed server solutions.

What do the statistics in wwwstats.html mean?

What are the meanings of the stats in wwwstats.html?

  • 304's: Number of times a local copy of the requested document was used, rather than the server returning the page.
  • Redirects: The number of times the server redirected to a new URL because the original URL moved.
  • Not Founds: The number of times the server couldn't find the requested document or the server didn't serve the document because the client was not an authorized user.
  • Server Errors: The number of times a server-related error occurred. bad cgi, bad permissions.
  • Number of unique URL's: The number of unique URLs accessed since access logging was enabled.
  • Total unique hosts: The number of kilobytes the server transferred since access logging was enabled.
  • Total kilobytes transferred: The number of kilobytes that have been saved in the client cache.

I received a disk usage warning, what does this mean?

<p>This notification means that the amount of disk space used by your website currently exceeds the limits of your purchased web-hosting plan. If you have not recently uploaded files, deleting old log files may alleviate the problem. These log files are located in the &quot;/logs&quot; directory of your website. Using either FTP, FrontPage, telnet or SSH, you can delete log files which are out of date. Another common cause of disk usage is large media uploads, such as video or audio files. If you do not require these files, please remove them to reduce your site to within the assigned limits. If you have performed these steps and your website is still too large, please contact 1-800-281-3564 x7715 to discuss upgrades to your current hosting plan.</p>