Commercial Support Home
  Important Announcements
  Commercial Internet AUP
  Billing Terms & Conditions
  Login to the S.M.A.R.T. System
  Network Status
  Speed Test
  Contact Us

 Support For:
  Broadband Internet Access
  Computer Patrol
  Dedicated Transport Services
  Dial-Up Internet Access
  Domain Name Services
  Dedicated Line Internet Access
  Managed Web and E-mail Services
  Security Services
  Commercial E-mail Services
PenTeleData Hosted Websites on Unix Based Servers FAQ

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

Q: How do I upload content to my website?

A: You can either use Microsoft FrontPage (if FrontPage extensions are installed on your website) or an FTP client such as WS_FTP or CuteFTP to upload your content. If you use an FTP client, you will need the following:
- Hostname/Server: ftp.ptd.net
- Username: The username for your web account
- Password: The password for your web account
All files are placed in a folder called docs in order for visitors of your site to be able to view them. If you have any cgi files, these should be placed in the cgi-bin folder.

Q: What types of scripts can I use on my website?

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

Q: What is the path to Perl?

A: /usr/local/bin/perl

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

A: In order for CGI scripts to run, they must be made executable. To do this, you must telnet 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.

Q: Can I use a database on my website?

A: 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

Q: How can I access basic statistics for my website?

A: Visit http:// website/wwwstats

Q: What do the statistics in wwwstats.html mean?

A: 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.

Q: Are there any more detailed statistics?

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

Q: How do I know if Microsoft FrontPage extensions are installed on my commercial website?

A: Go to http://www.yourdomain.com/_vti_inf.html. If you see a page that says "FrontPage Configuration Information" then the extensions are installed on your webpage.

Q: Can I use FrontPage and FTP on the same site?

A: Yes. However, if the FrontPage specific directories should as _vti_cnf are altered it is sometimes necessary to re-publish your website using FrontPage.

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

A: 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. Then At the $ prompt type: cd userdb. Now at the new $ prompt type: "htpasswd .htpasswd username" Replace username with the name of the user you wish to grant access. The user is now allowed access to the directory.

Q: How can I create my own password protected directory?

A: Telnet to ftp.ptd.net and login with your assigned username and password. Then, At the $ prompt type: "cd userdb" At the new $ prompt type: htaccess -c {filename} {user} Example: htpasswd -c customers.txt customer1 Add the rest of the users by typing: htpasswd {filename} {user}

NOTE: The -c option is only used when adding the first user. If you use the -c option when adding the second user the first user will be erased.

When all the users are added type: pwd
You will need to remember this infomation when telling the the webserver where to look for the users to allow access.

At the $ prompt type: "cd ../docs". Now at the $ prompt type: "mkdir dirname" Replace dirname with the name of your directory. Next, in the folder you just created, you need to create a file called .htaccess. This file needs to contain the following lines:

AuthName "dirname"
AuthType basic
AuthUserFile {Output from the pwd command}/{file that contains the usernames and passwords}
require valid-user

Example:
AuthName "XYZ Company"
AuthType basic
AuthUserFile /home/webfarm/web40/xyzcompany.com/userdb/users.txt
require valid-user

Once the .htaccess is created any pages inside the folder you created will require a username and password to access.

Q: How can I add MIME types to my website?

A: In your config directory on the webserver you will find a file called mime.type, you can add any mime type to this file. Please remember to add the entries in the same format as the current entries. Download the mime.type config file using an FTP program like WSFTP using the ASCII option to transfer. In wordpad, notepad or any other basic text editor, add to the bottom of that document the mime-types you would like to add. For example:
type=application/x-director exts=dir,dcr,dxr,fgd
type=application/futuresplash exts=spl
type=audio/x-midi exts=mid
type=audio/midi exts=mid

Save the file as a text document and then open WSFTP, or another FTP program, and upload the file back into your config directory. Be sure to upload the file in ASCII format. After you have made the changes to the file, you must email webmaster@ptd.net so that the changes can take affect.

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

A: Yes, in the docs directory create, or add to, the file .htaccess. In this file insert the following:ErrorDocument {error number} {URL to the error document file}
Ex. ErrorDocument 404 http://www.yourdomain.com/404.html

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

A: Server Side Includes are enabled on your website. Make sure your SSI files have the ".shtml" extension on them.

Q: Does PenTeleData have mod_perl enabled?

A: 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/.

Q: Can I have the FrontPage Extensions installed on my UNIX Shared SSL website?

A: No. There are limitations that do not allow the FrontPage extensions to operate on shared SSL websites. For more information about the differences between shared and private SSL, please see the "General" section of this FAQ.

Q: Where do I upload my files for my shared SSL website?

A: docs-secure: html documents & images
cgi-secure: perl & cgi programs
If you no longer have this SSL information or if you require the webmaster username and password to your website please email
webmaster@ptd.net requesting that the information be resent to your sites listed webmaster. If you are not sure who your sites listed webmaster email address is or need to have this information changed please contact our sales department at 1 800 281 3564 x7715.

Q: What is SSH?

A: 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.

Q: What program should I use to connect to the SSH server on ftp.ptd.net?

A: There are many SSH programs available. On the Windows platform, the most popular is PuTTY, which can be obtained at no charge from http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html. Most Linux distributions include an SSH client. This is the command that would normally be used to connect: "ssh –l username ftp.ptd.net".

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

A: 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.

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

A: No. Both of these services should operate identically.

Q: What is SFTP?

A: 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.

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

A: 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.

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

A: 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.).

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

A: 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).

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

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

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

A: 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.

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

A: 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, e-mail 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.

Q: What is the path to sendmail?

A: /usr/lib/sendmail -t

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

A: 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.

 
PenTeleData 540 Delaware Avenue, PO Box 197
Palmerton, PA 18071
Tele: 1.800.281.3564
Fax: 610.824.4435
E-mail: prosales@corp.ptd.net
Web: www.penteledata.net / www.ptd.net
Copyright © 2010 by PenTeleData