Advanced cPanel Techniques


Posted April 9, 2014 by rudytorres

Are you now fairly competent with the basics of cPanel? Congratulations! Now here are some “advanced” tips and tricks you might not have known.

 
Are you now fairly competent with the basics of cPanel? Congratulations! Now here are some “advanced” tips and tricks you might not have known.

How to set up URL Frame feature

URL Frame, also known as URL masking or URL cloaking, is when your client is not redirected to your website when he enters the URL address, but is shown the contents of the website in a frame from the web server. This feature is not provided for in the default cPanel, however, you can set up URL Frame forwarding for your domain on your own.

First up create an HTML page with the following code:


Type here anything you want





Your browser does not support frames. Please click here to be redirected automatically


The noframes tag is required for old browsers. If browser does not support frames, the end user will see a message indicated between ...

Save the changes to your file. Remember that you do need to name this page index.html if it is the first, or only, page of your website.

How to create a MySQL database, user and connection

If you want to create a MySQL database and user in cPanel/WHM log into the cPanel interface for the domain you want and click on the MySQL Databases icon under the Databases section.

In the opening page, type in the new database name under “Create a Database”. Type in the user you want to connect to. Click the Create a Database button. Your new database should appear in the current database.

You can create a user by going to “Add New User”. Enter a username and password. Confirm the password and click the Create User button.

To connect to a database and administer it, you can use the phpMyAdmin feature in the Databases section.

Installing suPHP on cPanel

You can use suPHP to execute PHP scripts (at least those with permission from their owners). In short it helps you avoid permissions issues when running php scripts.

Open WHM, go to PHP and SuExec Configuration, under Apache Configuration section. Under the “Alter Configuration” section, either PHP4 or PHP5 will be pre-set.

Click the drop menu and choose suPHP. Go to the bottom of the screen and click “Save New Configuration”. If suPHP is not listed you will need to recompile apache with the module.

To recompile Apache/PHP:

-Log into WHM and navigate to EasyApache

-Select “Begin by selecting a profile to load:” and click “Start customizing based on profile”.

-In the second page (Apache Version), we recommend upgrading to the latest available if not already selected. Click “Next Step”.

-In the third page (PHP Major Version) select the version of php you want, click “Next step” if you are unsure.

-In the fourth page (PHP Minor version) select the version of php you want, click “Next step” if you are unsure.

-In the fifth page (Short options list) select “Mod suPHP” at the bottom of the page select “Save and Build”.

There are many more tips and tricks to cPanel to be learned out there. One advantage to cPanel is the support system it has for its users. There is also a community of cPanel users who are more than willing to help other each other out.
-- END ---
Share Facebook Twitter
Print Friendly and PDF DisclaimerReport Abuse
Contact Email [email protected]
Issued By buycpanel
Country United States
Categories Web Hosting
Tags cpanel vps license , license cpanel , monthly cpanel license , vps cpanel license , whm cpanel license
Last Updated April 9, 2014