Saturday, December 21, 2024

FTP Settings and Connection

This FTP information is found in the welcome email we send. (The FTP information is your control panel login).

FTP Host/Address: (your ip address or domain name)
FTP User: (cPanel/FTP user name)
FTP Password: (cPanel/FTP password)
Port: 21
Path/directory: (blank)

If you have not received the second welcome email, please be sure you have paid your initial invoice.

LINUX Server
Be sure to upload all files and folders inside the public_html directory.
Place your CGI scripts into the cgi-bin directory.

 

Too many connections? Max number of connections from one IP is 8.

How to upload a file using the File Manager

You may want to upload your files directly through cPanel. You can do this through the File Manager.

Warning: There is a 25MB upload limit through File Manager. If you need to upload a larger file, please use FTP.

To upload a file through File Manager, please do the following:

1. Login to cPanel and click File Manager
2. Choose to open Web Root and Show hidden files
3. At the top, click Upload.
4. Click the Browse button.
5. Double click the file you want to upload to your site.
6. Wait for the blue bar to complete, then go back to File Manager.

You have successfully uploaded a file to your site through file manager.

Error Page Codes

What are Error Codes?

These numbered error codes are how the server tells website visitors about an error encountered. There are many different error codes that a server can deliver, but these are a few of the more common codes.

401 : Unauthorized
Access to the URL resource requires user authentication which either has not yet been provided, or which has been provided but failed. This is commonly known as password protection. Unless you have a good reason to do so, it is not recommended to redirect a 401 error.

403 : Forbidden
The request was a legal request, but the server is refusing to respond to it. Unlike a 401 Unauthorized response, authenticating will make no difference. This is usually due to a scripting or file permissions issue.

404 : Not Found
This response code indicates that the visitor was able to communicate with the server, but either the server could not find what was requested, or it was configured not to fulfill the request and not reveal the reason. Error 404 should not be confused with "server not found" or similar errors, in which a connection to the destination server cannot be made at all.

500 : Internal Server Error
Your web server encountered an unexpected condition that prevented it from fulfilling the request by the visitor. Basically, something has gone wrong, but the server can not be more specific about the error condition in its response to the visitor.

Do you have a manual for your control panel?

Yes, a manual for cPanel is available. Go here to view it.

Custom error pages

To create a custom error page for your account, please login to cPanel and click Error Pages, under Advanced. Select the domain or subdomain you want and click the page you want to edit. Insert your own custom page code (in HTML or SHTML). The changes will be applied after you click Save.

But I don't know any HTML

Never fear. If you use a design program like Sitebuilder, simply publish a page which you would want to use. Next, visit your website online and pull up that new page you want. At the top of your browser, go to View and choose "Source" or "Page Source". Copy everything from the pop-up window (right click, Select All, right click, Copy) and now you can paste where the HTML code belongs.

Afterward, you may want to remove that extra page from your site builder program.


Common problems

If you are still seeing the HostGator error pages, try refreshing your browser (ctrl + F5). If you still see the HostGator pages, please add this code to your .htaccess file in the public_html directory.

ErrorDocument 403 /403.shtml
ErrorDocument 404 /404.shtml
ErrorDocument 500 /500.shtml

You can even use existing pages as the resulting page. Say you don't want any visitors seeing 404 errors on your site. You can make your home page the result, like so:

ErrorDocument 404 /index.html

If Internet Explorer is not displaying the custom error page, it is likely because the error page must be larger than 1 kilobyte.

There are many error pages which may be defined.

Client Request Errors
400 - Bad Request
401 - Authorization Required
403 - Forbidden
404 - Not Found
405 - Method Not Allowed
406 - Not Acceptable (encoding)
407 - Proxy Authentication Required
408 - Request Timed Out
409 - Conflicting Request
410 - Gone
411 - Content Length Required
412 - Precondition Failed
413 - Request Entity Too Long
414 - Request URI Too Long
415 - Unsupported Media Type

Server Errors
500 - Internal Server Error
501 - Not Implemented
502 - Bad Gateway
503 - Service Unavailable
504 - Gateway Timeout
505 - HTTP Version Not Supported


How can I revert back to the default error pages?

Simply delete the error page from the public_html folder:
404.shtml
403.shtml
500.shtml

Our Technology Partners

Sponsors