5 Great Tip for Cpanel Hosting
Cpanel offers a lot of great features to make your life easier. If it is your first time looking at Cpanel, it might be confusing. There is a lot of new features from older Linux based server interfaces. Today we show you our 5 great tips/features for Cpanel.
Tutorial Show Notes Below
Go ahead and access WHM via your hosting company or https://IPaddress:2087. IPaddress is the primary IP for your virtual private server (VPS).
In the upper left-hand corner there should be a search field. In that search field type in create. You will now see a shorter list of choices on the left-hand column. Click on “Create a New Account.”
You are now going to fill in the required information for CPanel.
- Domain Name
- Re-type Password
- Choose a Package (Default if you have not created your own package. We will cover this on the next Wednesday tutorial.)
- Choose Mail Routing Settings (Automatically, Local or Remote. This is what the server does with emails generated by the website.)
The username and password are also the primary FTP credentials. With these, you can access the CPanel account remotely. You would go to domain.com/cpanel. Then enter the username and password and now you have access to CPanel.
There it is. That is how you create Cpanel on a Linux VPS. One last tip is to make sure you create a Cpanel account for every website on your VPS. Yes, you can have multiple domains/website on one Cpanel but it is easier to maintain and keep different clients separate.
Tips for Cpanel Hosting
Today on UV Design Tip and Tricks we show you five great tips for cPanel hosting. If you’re not familiar with cPanel, it is the interface for a Linux server. It is the most popular by far for Linux server. So here are five tips to make your life easier.
Increase Memory Limit
Number one is how to increase memory limits, max upload size, all those fun little things that WordPress and other applications, or CMS applications would like you to increase. So, you’re gonna go down here to software and go to select PHP version. By default, anymore, cPanel should automatically install to the latest version of PHP. We have four choices here. If it’s native 5.4, switch it to one of the other ones and click set as current.
So, you can see all these PHP modules. A mini tip if you need to turn stuff on and off, like if you need zip archive, you’d click on these, any of these. I usually leave them alone until something tells me I need otherwise. That was a mini tip. Main tip, switch to PHP options here. Here you have all these whatchamacallits. You have all these options to change the value. You can change more by creating a .user.ini file or a PHP5.ini file or a PHP.ini file depending on your hosting company and server. But that’s for a later video so that means subscribe to find out that video when it comes out.
These are not specifically the default value; these are just the value that’s defaulted in the change. Which means the memory limit is not 128 my server, it’s probably 32 or something. It doesn’t matter. Drop this down, click the value, choose whatever, click apply. Turns orange, post max size, crank that baby up to 64, upload max file size, 64. Not opening anything too crazy right now. Apply, again you can change these values. Those are the main three. Max execution time is probably the next other one that you need to probably change. It’s usually probably at click save. It has been saved. Refresh. And now they’re green and that means now the server is taken care of. Now you have just changed the values all on your server. So, anytime you upload or install a new application, the values are already in place for the entire server.
Next, is let’s say you have a contact form on your website. That email address that you want the form sent to does not sit on cPanel server, cause the cPanel offers email. Not very good email, but it’s email. You go down here to email and click MX entry. MX entry and then you select the domain you want to change that you are working on.
So, if you have a lot of domains, you would pick it here. So, we want to work with this one. This local mail exchanger means that the email address that the website or contact form is trying to send email sits on the server itself. So. that means it’s a cPanel email. Most of the time it’s not going to be so you’re going to click remote mail exchanger and click change. Bam, now your contact form email can send out to your Office 365 email, your Gmail, your Hotmail. Please don’t use Hotmail. Your domain based email, whatever. It’s going to send it out to it and make it work.
Third tip is Installatron. Installatron is one of my favorite things about here because it makes life easy. You have all these applications to choose from. I’ve not touched 99% of these, maybe more like 95% of these, but hey. Look, there’s a lot of different applications you can install easily. They all can be installed easily. Once you have an application already installed, you can go here. Wow, this is a failed install. It should be uninstalled, let’s uninstall that. Sure, uninstall. It doesn’t matter, I was using it only for test purposes.
Let’s just go to WordPress. It’s easy, install this application. Pick your domain. This is the same for any of this stuff. Go through all the options, blah blah blah. Username, password, email. Change it, love it, install it. Cancel cause it’s still installing. Blah, blah, blah install. It’s processing. Hit refresh. Now last pass. Let’s go back down here and try it one more time. Tutorials are always great. Sure, no not now. Processing, processing, processed. Now last pass, check it out. It’s a great way to save all your passwords and generate customized passwords so you’re not using password one.
Installatron is great. Quick other thing about this once it gets done, hurry, hurry, hurry. We’ve got more important things to show. Try and make this tutorial fast, fast as lightening. But it’s not gonna happen because I’m speaking to you today. Looks like it’s there. Installatron’s got also these great features, update, edit, backup, clone, uninstall. Easy. The best button you can probably ever use is the cloning button. So if you’re maybe developing a site in a test environment.
So let’s say you want to clone it. I want to clone this to, let’s see here, a sub domain that I created. Tips and tricks, I do not want a directory. Click clone. Now it’s going to make the exact same website in the sub domain but it will also fix the prefixes for you automatically so you don’t have to worry about the database. So everything, all your WordPress links and stuff will be towards that sub domain. So you build your site here. Once you have it built out, you can clone it back to the live site. Easy peasy, it’s a great tool.
CPU and Concurrent Usage
Number four, is CPU and concurrent usage. What is that you ask. Well that’s why we tips and tricks today and that’s why we’re telling you. CPU and concurrent connection usage shows you basically just monitors the server stats for you. Well let’s go back one screen cause I kind went too fast to explain something real quick. I just assume everyone knows everything. Hence the Tips and Tricks tutorial video. So it says your site had no issues in the past 24 hours. If your server maxed out on any resources, memory limits, input output, entries, max connections, you’re going to see these limits here.
I have not cause I really don’t use my cPanel for anything cause I have my own server. Click details. Details will give us a visually pleasible, visual pleasing there we go. Visual pleasing graphs system. If your server, I don’t have any websites connected to this right now, you can kinda see, look this little meter went up right here because I installed WordPress and uninstalled Drupal. So the server did something. Yours are gonna up and down, up and down, up and down. You can see what your maxes are at your current resource levels.
Some hosting companies that offer cPanel offer level resources increase one, two and three. You can kinda check the usages 24 hours, today, yesterday, last seven days, last 30 days, see what your websites are doing and seeing maybe what some of your applications are maxing out your server and you can review that.
Tip number five is going to be also in the metric section. It’s Awstats. Awstats is a way to see traffic to your website. Again, I don’t use my cPanel for anything. I don’t even know what that’s from. Who knows, it doesn’t even matter. Unique visits or visitors, pages, hits, bandwidth, how much bandwidth you’re using, it’s always great to know. You get more detailed information on here. This is going to be like Google analytics. They’re both similar in their own ways.
If I remember correctly Awstats is going to show you every time something hits here. Google Analytics I believe if it believes it’s a repeat visit it will not show number of sessions. So they each have their own unique data. You must just realize that it’s going to be a little bit different I might have that flip flopped. Awstats again just a great way to see some stuff. You have all this stuff over here that you can kinda click on and everything. Monthly history, hours, the IP address is, full list, that’s not what I want. Robot Spider visitors, a bunch of great information on here. Check it out, spend some time on it. So that opens up any new web tabs so you just click back on this web tab. That was tip number five.
Because you guys are such great viewers of mine and I know that you’re gonna subscribe today, I’m gonna give you two bonus tips. Bonus tip number one is FTP accounts. FTP accounts obviously, you wanna make an FTP account for your developer, for your buddy, whatnot, let’s just say George, no let’s call him John. John is your developer. This is gonna be his username, john@ your domain name, and you type in your password. And I don’t know what I typed in so I can’t do that. So we’re just gonna password generator. Who cares ’cause I am not going to keep this. You can try, use password.
Number one thing is down here by default FTP accounts will put in public_HTML/ whatever the username is. Highly unlikely that is the folder that your website is that you want this person to have access to. It’s either A gonna be public_HTML so they have full access to everything on your server. So if you have 10 websites, they’re gonna have access to all 10 websites. Let’s say he’s a developer and you only wanna have access to one folder, you’re gonna call it whatever folder is called .com. If it’s bestbuy.com, target.com, seemybooks.net, whatever that will give him access to specifically that folder.
You create FTP accounts and now you have this FTP account and you can see that it kinda ends here. Oh you click the three little dots and now it shows you the folder path. Then you can delete. Do not ever click this or you will delete you website that’s associated with this. Super common I would call I would get. What happened to my website, did you delete an FTP account? Yes, did you click the box that said delete the user’s home directory? They would say yes. Guess what happens, boom, bam, website gone, restore.
Bonus tip number two is kind of a cheap bonus tip number two. This thing right here is your friend. Type in whatever you want.
Goodbye, no I’m just kidding. Those are my five tips plus two bonus tips on cPanel hosting. If you liked the video, make sure you go ahead and hit like, share it with your friends and family. They will be interested in this.
We do two videos a week now. We have Mondays are specifically with WordPress. I am showing people how to make a WordPress site and the ins and outs from start to finish and breaking down. On