Server Path, absolute path, web root
The server path, absolute path, or webroot are different names for the same thing.
/home/cpanel-username/public_html/
Be sure to replace "cpanel-username" with your actual cPanel user name.
The home folder is on the root of the server. Shared customers cannot access this level.
The home/username/ path is called your "home directory", which you can access via FTP or File Manager. The home/username/public_html/ folder is where all website files are kept, called your "web root".
What is the path to sendmail on your servers ?
Το path για το sendmail is: /usr/sbin/sendmail
What is the path to the Perl installation on your servers ?
The path for perl is /usr/bin/perl
Can I use my own CGI scripts ?
Yes, we do provide you with your own cgi-bin. You may upload your own scripts to it but your scripts must not cause issues with our servers or use too many resources to the detriment of other users.
Make sure your cgi scripts are uploaded using ASCII transfer mode in your FTP client, and CGI scripts must be placed in the cgi-bin folder to be called from other scripts. Your script should also have the permission of 755 set to it. You can set permissions by going to Cpanel, click on File Manager, click on the folder icon next to public_html to enter the folder, click on the name of the file or folder, click change permissions, and check the boxes on the permissions you want. Υou can also do this via ftp.
The path to the script on our Linux servers would be /home/username/public_html/cgi-bin/cgiscript.cgi (change username to your cpanel username). The path to perl in the first line should be #/usr/bin/perl
How can i use formmail on my website ?
To use Formmail, create a form with any decent web page creation
software.
The form action line should be
<FORM ACTION = "/cgi-sys/FormMail.cgi" METHOD = "POST">
FormMail.cgi will do all the programming work for you. You alter
the behavior of formmail by using hidden fields in your form.
There is only one form field that you must have in your form
for FormMail to work correctly. This is the recipient field.
Field: recipient
Description: This form field allows you to specify to
whom you wish for your form results to be mailed. Most likely
you will want to configure this option as a hidden form field
with a value equal to that of your e-mail address.
Syntax:
<input type=hidden name="recipient" value="your_username@localnet.com">
Optional Form Fields:
Field: subject
Description: The subject field will allow you to specify
the subject that you wish to appear in the e-mail that is sent
to you after this form has been filled out. If you do not have
this option turned on, then the script will default to a message
subject: WWW Form Submission
Syntax: <input type=hidden name="subject" value="Your
Subject">
Field: email
Description: This form field will allow the user to specify
their return e-mail address. If you want to be able to return
e-mail to your user, I strongly suggest that you include this
form field and allow them to fill it in. This will be put into
t he From: field of the message you receive.
Syntax: <input type=text name="email">
Field: redirect
Description: If you wish to redirect the user to a different
URL, rather than having them see the default response to the fill-out
form, you can use this hidden variable to send them to a pre-made
HTML page.
Syntax: <input type=hidden name="redirect" value="http://your.address/to/file.html">
How can i ad an addon domain ?
To add the addon domain:
Please make sure the name servers are changed with your registrar to the nameservers assigned to you. They would be the same as the primary domain is using. They can be changed before or after adding the domain. To add this through your cPanel. Choose the menu option "Add-On Domains" New Domain Name: the name of the domain (ex: yourdomain.com)
Username/directory/subdomain: the FOLDER you wish for the domain to point towards (ex: yourdomain)
Password: password for your account (*recommend same as cPanel)
Can I use my account and my site even though my domain name hasn't propagated yet ?
Yes, you can use your website without a domain name. We provide you a temporary URL in your welcome email, which can be used to view your site when your domain name is not working. Example: http://ipaddress/~username/
You must replace ipaddress with your server's IP, and replace username with your actual cPanel username.
Can i have SSH access on your servers ?
Yes, you can access your server through SSH. In order to activate this service please send us email to support@thewebpower.com
500 Internal Server Error ?
This is a common error, normally caused by one of the below listed problems. Each of which can be fixed quickly by taking the below suggested steps. Please view below.
Check your .htaccess file. This is a file that resides in your /public_html/ folder, and can often cause this error, because the syntax within this file is incorrect. Simply renaming it, can often fix the problem (and then you will need to see what the issue is within the contents of this file).
Check that your files don't have permissions of 777. Since we run PHP as CGI, this means that your permissions can not exceed 755. If they are more, then this can also trigger the Error 500 (Internal Server Error). Simply changing the permissions on the files / folders that have been set as 777 down to 755 will fix this issue.
Check that your /public_html/ folder doesn't have permissions greater than 750. This can happen, when you accidentally change the permissions on this folder without realizing it. If its anything other than that, simply change it back, and this should resolve this issue.
If you have tried all the above, and none of them apply or have solved your issue, please consider contacting us, so our team may take a look for you.
Can I password protect directories ?
Yes, you can password protect any directories and files placed within them. To do that, please follow these steps:
Login into your cPanel and click on the "Password Protect Directories" icon, under "Security section" of cPanel. From a list of the directories select the name of the directory you wish to limit access to. On the new page, please create a username and password. Just fill in the username and password for the username. Next, check the box next to "Password protect this directory";
Write a warning message in the "name the protected directory" filed. This is the message that will be shown when someone tries to login in the protected directory. Click on save button below. Congratulations, the directory you selected is now protected by a password!
Where do I upload my files ?
All files and folders should be uploaded to the public_html directory.
The public_html folder can be accessed either by FTP or via 'File Manager' in cPanel.
To access your hosting account via FTP connect to www.yourdomain.com. Be sure to create an index file for your home page, this can be index.htm, index.html, index.php, etc.
Please note our Linux servers are case sensitive so index.htm and Index.htm are two separate files. Index.htm will not be recognized as the default first page. It must be index.htm (.html, .php, etc.) in lowercase.
How do I see how much diskspace and bandwidth I have used ?
You can see how much disk space and bandwidth you have used by logging into your cPanel. The information will be under Stats on the left side.
AWSTATS: View detailed statistics about your website traffic
AWSTATS is a tool in your cPanel that produces visual statistics about visitors to your site, and are updated every 24 - 36 hours. For example, AWSTATS displays in a graph information such as:
- Number of visitors to your site each month
- Number of visitors to your site per each day in a month
- Number of hits to your site per country
To access AWSTATS, simply log into your cPanel and click the "AWSTATS" icon under the "Logs" section. You will then see a listing of the domain names on your account. Click the magnifying glass icon next to the domain name you wish to see stats for.
AWSTATS uses terms such as: unique visitors, number of visits, pages, hits, and a few others.
How can I set up an email account quickly ?
Below are the settings that are needed to configure and retrieve email from your main pop account:
Mail Server Type: POP
POP Server: mail.yourdomain.com
POP Username: (your full email address)
POP Password: (the password that you selected when your account was setup)
POP Port 110
Here are the settings that you'll need to send email:
SMTP Server: mail.yourdomain.com
SMTP Username: (your full email address)
SMTP Password: (the password that you selected when your account was setup)
SMTP Authentication: Enabled (Use same login as the incoming mail)
SMTP Port 26
How do I set up my email in Outlook Express ?
Go to 'Tools' -> 'Accounts...' -> 'Add...'
Display Name: (as you wish)
//Next ->
Email Address: (xxxx@domain.com)
//Next ->
My incoming mail server is a [POP3] Server.
Incoming Mail (POP3, IMAP, HTTP) server: [mail.yourdomain.com]
Outgoing Mail (SMTP) server: [mail.yourdomain.com or your ISP SMTP server settings]
Account Name: xxxx@domain.com (same as email address)
Password: as appropriate
Log in Using Secure Password Authentication is NOT checked.
Click 'Next' and 'Finished'
How do I setup my email in Microsoft Outlook ?
Outlook is similar to Outlook Express.
Go to 'Tools' -> 'Email Accounts' -> 'Add a new e-mail account' -> 'POP3'
User Information:
Your Name: [as you wish]
E-mail address: [you@yourdomain.com]
Server Information:
Incoming mail server (POP3): yourdomain.com
Outgoing mail server (SMTP): yourdomain.com or your ISPs SMTP Server settings.
Logon Information:
User Name: [full email address (example: you@yourdomain.com)]
Password: [email account password]
Log on using Secure Password Authentication (SPA) is NOT checked.
Click 'More Settings ...' -> 'Outgoing Server' Tab.
'My outgoing server (SMTP) requires authentication' IS checked.
(use same settings as...) is checked. (NOTE: not all ISP allow you to use SMTP servers that are not their own, so you may be required to use the settings for sending email they provide.)
Click 'OK' and you're finished.
How do I setup my email in Windows Mail ?
1. The setup wizard will launch on its own the first time you open Windows Mail. On the first screen, enter your name as you wish it to appear on your outgoing email messages. Click Next to continue.
2. Enter your email address ie. xxxx@yourdomain.com in the space provided, and then click Next to continue.
3. Enter your your email server settings.
Incoming Mail (POP3, IMAP, HTTP) server: mail.yourdomain.com
Outgoing Mail (SMTP) server: [mail.yourdomain.com or your ISP SMTP server settings]
'Outgoing mail server (SMTP) requires authentication' IS checked.
Click Next to continue
4. Enter your email user name-account name: xxxx@yourdomain.com (same as email address) and password, place a check in the box labeled Remember Password if you don’t want to enter your password each time you check your email, and then click Next.
5. That’s it! Click Finish
What is E-mail Forwarding and how can i use it ?
Email forwarding let's you forward email sent to an addresss to another address or multiple addresses. It allows you to look more professional by creating separate department addresses for a business and forwarding all of their emails to one or more other boxes which can then filter and organize based on those addresses. It allows you to forward mail to an external address at another host or ISP, it allows you to send copies of a message to multiple addresses, etc. It can also come in handy to forward mail to another person while you are on vacation. Forwards are setup in Cpanel under Mail => Forwarders.
How do I check webmail for my created email accounts ?
You can access webmail in any of the following ways:
http://yourdomain.com/webmail/
http://yourdomain.com:2095
https://yourdomain.com:2096 (secure)
replace yourdomain.com with the name of your website
You will be prompted with a user/pass dialog box.
For the username you will use the full email address and the appropriate password for that email account.
example:
user: you@yourdomain.com
pass: yourpassword
You will then see a page with 3 options to choose your webmail client.Horde, Squirrel Mail, RoundCube.
How do I create email accounts ?
To create an email account:
1.Login to cPanel and click Email Accounts.
2.Fill in the name you want and select the domain name from the drop-down.
3.Type the desired password twice.
4.Change the quota if you want.
5.Click Create.
Can additional domains receive e-mail ?
Yes. You can create email addresses for addon domains, parked domains, and subdomains. The email addresses for these can be created in the Mail section of your site's cPanel, under Add/Remove Addresses. The addon, parked, or subdomain to create the email address in must be selected from the drop down box shown while creating a new address.
Can I add an auto responder to my emails ?
An auto responder can be setup in cPanel to respond to any incoming emails with a message specified by the user. Auto responders are very useful for people that are going away for a long period of time and will not be able to access their emails. An auto responder does not affect your incoming emails, so they will still be waiting for you when you are available to check them.
To add an autoresponder login to your cPanel account at www.yourdomain.com/cpanel, then select 'Auto Responders' from the 'Email Management' menu. Click on 'Add AutoResponder' at the bottom and customize your message. After you have completed your message click on 'Create/Modify'.
What are the connection settings for my MySQL database ?
The hostname to connect to is "localhost" if connecting from a script on the server, or your domain name for connecting remotely. The database name and username need to be entered exactly as they appear in the MySQL manager in your control panel (CPanel) ie cpanelusername_dbname, etc. The password is the one you specified when creating the username.
When you create a username in cpanel, please be aware that there is an 8 character limit. Extra characters will be dropped. Also, you can have more than one username for a database. If you forget your user password, you may either find it in the script's config file or add a new user to the database and edit the script's config file. Please make sure you have added the database user to the database. You must select the user and the database from the drop-down lists and then click on the "Add User To Database" button. You should see connection code provided if you have done this.
How do I backup my database ?
Use the PHPMyAdmin feature in your control panel. In PHPMyAdmin, select the database you want to backup and select "Export" tab on the right screen. Choose the tables you wish to backup (or "Select All" for all tables). Scroll down and tick "Save File As..." and click on the "Go" button. Simply save the database that begins to download, on your local computer.
How do I create a database in MySQL ?
You can create a database via your control panel by clicking on the mySQL icon. When you create the database you choose the name. This then becomes the name of your database. Your username will be added to it so that the full database name will be username_dbname. You will also need to create database username and password under MySQL. The dbusername you input is limited to 8 characters. Your username will be added to it so that the full dbusername will be username_dbusername. To add this user to the database you created, select the user in the drop-down list and select the database in the other drop-down list. Then click the Add User to DB button under it.
How do I import a MySQL database ?
To import a database follow the below steps:
- Once you have your .sql file you will need to log into your cPanel at www.yourdomain.com/cpanel
- Click on 'phpMyAdmin' under the 'Databases' menu
- A drop down of your databases is displayed on the left side of the page, select the database you would like to import to.
- This will create some tabs at the top of the screen, click on 'Import'.
- This opens a text box and a file upload option.
- Click browse on the file upload option and find your .sql file
- After you have selected the file click GO and it will import your database.
How to import and export a MySQL Database from the command line ?
1. Export A MySQL Database
This example shows you how to export a database. It is a good idea to export your data often as a backup.
Using SSH, execute the following command:
mysqldump -u username -p database_name > dbname.sql
You will be prompted for a password, type in the password for the username and press Enter. Replace username, password and database_name with your MySQL username, password and database name
File dbname.sql now holds a backup of your database and is ready for download to your computer.
2. Import A MySQL Database
The file must be in .sql format. It can not be compressed in a .zip or .tar.gz file. Start by uploading the .sql file onto the server.
If you haven't already done so, create the MySQL database via the cpanel.
Using SSH, navigate to the directory where your .sql file is.
Next run this command:
mysql -p -u username database_name < file.sql
Note: The -p will prompt for your account's password.
Note: username is the user with rights to the database. If you are unsure what the username is you can use the same username and password used to sign into SSH.
Note: Make sure your database name has your Hostmonster username prefix with the _ (underscore) after it and the database name.
How Do I Get FrontPage Extensions Installed on My Website ?
You can turn on or reinstall FrontPage Extensions for your site by logging into your cPanel(http://login.bluehost.com). After accessing the control panel, click on "FrontPage Extensions". Click on "Install Extensions" for each domain name you will be editing pages with FrontPage.
Note: To install FrontPage Extensions for ADDON domains, you must FIRST install extensions for the MAIN domain name, then go back to the installation page and install the extensions for the desired ADDON domain.
How do I upload my site using FrontPage ?
If you want to use FrontPage to manage and edit your primary domain's website, make sure your Front Page extensions are installed/enabled in that section of cpanel.
Once that's done, open your web like you always do when you want to make changes to it, and publish it to your domain. For the publishing destination, type in your domain exactly as you would in a browser. Include the http://
You only need publish once. After that, you can open Front Page, click Open...Open Web, and again type in your domain just like you would in a browser.
This will open your website at the server for editing in Front Page. Open any pages you want to edit, then click the save icon. It'll be saved on the server.
How can i transfer my website to the server ?
All files and folders should go to the public_html directory. The public_html folder can be accessed either by FTP or via FileManager in cPanel. There are many free FTP clients available on the internet. The login details, sush as hostname, username and password will be sent to you after your acount activation. Be sure to create an index file for your first page. This can be index.htm, index.html, index.php, etc. Please note, our Linux servers are case sensitive so index.htm and Index.htm are two separate files. Index.htm will not be recognized as the default first page. It must be index.htm (.html, .php, etc.) in lowercase.
I can not remember my password. How can I retrieve it ?
Please send an email to support@thewebpower.com . Let them know you lost your username or password and need it resent to the e-mail address on file, or provide another e-mail address. Please provide your domain name, your name, your home address, phone number, and zip code.
How do I connect to my site using Dreamweaver ?
1. Start the Software
2. On the Tool Bar, click Site
3. Then when the drop down menu appears, select Define Sites
Click New
Under Local Info
4. Site Name: yourdomain.com
5. Local Folder: This is where you store your web files, you can call it domainname
6. HTTP Address: http://domainname.com
7. Enable Cache: put a check Under Remote Info
8. Access: FTP
9. FTP Host: yourdomain.com or servername.lunarpages.com
Replace the username with YOUR username.
10. Host Directory: public_html
11. login: username
12. password: password
13. Save: Check the box
14. Use Passive FTP: checked
15. Use Firewall: If your Computer is behind a personal firewall, then simply set the configuration.
16. Enable Checkin/Checkout: Leave this blank
Using the File Manager in the Hosting Control Center
The File Manager, located in the Hosting Control Center, allows you to manage the files and directories within your website directory. Specifically, this tool allows you to copy, move, rename, and delete both files and directories; upload and download files; and sort all items within the File Manager list. Additionally, the File Manager includes a Filmstrip feature that allows you to view all images within a directory.
|
|