Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
I have installed and used Xampp years ago and it just takes up so much space on my computer i find using it a hassle. I found that using Cpanel on my hosting is a quicker way to get things done. Some of the reasons I am learning on Treehouse is because I am self taught in most areas and I probably have some really bad habits. What would be the reason/advantages in using XAMPP over using Cpanel?
XAMPP is a PHP/Perl development environment, an Apache server, and a MySQL installation, whereas CPanel is a hosting control panel, so they're pretty different things. If you're not developing in PHP or Perl or using MySQL, you probably don't need XAMPP. Since you said you're using CPanel "on [your] hosting," I'm assuming that you're using CPanel on server space you're paying for from a hosting company, so not on your own PC, which makes perfect sense and is probably just fine for your needs if you're not actually developing software using XAMPP's tools.
XAMPP is good for local testing before committing changes to the Internet (or your live host). I'm not sure why XAMPP takes up "so much space" on your computer. I have not less than 20 websites with database back-ends and videos. My entire XAMPP directory sums up to about 1GB which isn't 'so much' in my opinion.
XAMPP is much quicker for working on an entire project as your working on the files locally and then can upload them to the hosting space once done, its also safer incase theres an error in the code just done it only effects the site on your local computer instead of the site the world can see.
If disk space is an issue you could try archiving some old sites in the htdocs folder your no longer actively working on to an external hard drive, the cloud(dropbox e.t.c) or just a space on your hosting set aside for uploaded files.
Great! Thanks for all your input! It's really appreciated !I was using the cpanel of my hosting as a test server. I wouldn't test the code on an actual site but i would play around with phpmyadmin and mysql through the cpanel. To date I have only edited and tweaked PHP scripts through a PHP editor and sometimes test a script on "writecodeonline.com" . But as far as developing PHP from scratch it seems that Xampp would be the way to go with that. I already have Dropbox which is currently full so I will have to open up another account.
I guess my question is how do I change the records in cpanel to use webflow. I saw the video on adding a custom domain but there are so many A records in the cpanel with the domain I want to change over. Is there a video on this or can someone instruct me?
What are you trying to achieve? Are you going to discontinue with the host providing this cpanel? if so I think you should be making changes to the dns editor your domain registrar provides. it depends what you are trying to do.
Hi @J_Stdy_Rockn, welcome to the forums. If your goal is to maintain a cPanel hosted domain, and have Webflow host the website, you just need to set main A record for domain.com, then add the additional IP for the backup Webflow IP address (Webflow suggests you have two A records), then point your www CNAME to the one Webflow provides in the docs for either SSL or non-SSL hosting.
@Jebran_Ahmed - That has to be an error as the record type should be A, not TXT. I will look at the settings in one of my projects and raise this as an issue with Webflow if it actually says to use that record type.
I have a cPanel/WHM instance on a CentOS distribution and am trying to install git without breaking cPanel. The information I have found says that installing git can break cPanel because of the Perl dependencies.
We do distribute the git RPM as a convenience during install, however, it's not setup or supported - it's only added as a convenience and requires manual install of further packages and configuration.
The RPM we provide for git installs the binary to /usr/local/cpanel/3rdparty/bin so you will need to run it out of here. It's not the full tool set, so anything outside of this would need to be installed by the systems administrator.
Does anyone have advice on how best to install git on cPanel such that all cPanel user accounts will be able to use git, make sure that the installation doesn't break Perl, and what is missing in the RPM provided by cPanel based on the statement in the last paragraph quoted above?
I find a semi-solution, use VSCode and connect ssh with it to webhost/cpanel then stop app(because conflict) run strapi (npm run develop[package.json script]) on localhost:port (ex:localhost:1337 on your webhost) use port forwarding and forward the port 1337 then you can open in your browser from localmachine
for more info : Connect over SSH with Visual Studio Code
so the Cpanel backup went through without errors but I noticed that the database was created in UTF8 character set instead of UTF8MB4. Could you change the setting so that UTF8MB4 is always taken. UTF8 should not be used by anyone.
but that does not make sense. UTF8 is a bug and should not be used by anyone. that means if UTF8 is used in the cpanel it would be better if the imported database uses UTF8MB4. Surely this can be added in the source code so that it is imported correctly. Why use a wrong charset? It makes no sense.
So I'm fairly tech savvy but AWS feels like a whole different ball game to me and I'd really appreciate if someone could explain like I'm 5 how I move my entire website (this includes several subdomains) over from cPanel through InMotion hosting over to Lightsail and set it all up. The majority of the sites are Wordpress but I do have a Craft CMS subdomain which hosts a custom built platform.Also, can I install cPanel on Lightsail?
This quick start document is up to using cPanel with Lightsail, so I don't think it covers the migration process.The following documentation may be helpful in migrating from the old cPanel to the new cPanel. -base/transfers-and-restores/how-to-move-all-cpanel-accounts-from-one-server-to-another/
You can surely install cpanel but it will be an overhead as Lightsail is kids of cpanel service. I will suggest rearchitecting and finding out if you want to have the cms on different light sails and decide your migration strategy.
So what do you suggest I do? since I have a 8-core dedicated cpanel environment hosting server from Hostgator for our website and other PHP webapps on it. I need to setup the indico for an upcoming conference.
Hey I got the ftp to work. For anyone trying to achieve the same thing with a WHM or Cpanel server:
The answer is that the ftp cannot start higher in the directory of the account than public_html directory position.
you cannot move the specific user directory (thats how the cpanel architecture works - /home/username/everythingEsle )- but on other ssh clients everything is working fine. I guess there is an issue with this feature and cpanel servers. maybe look into this? It would be really nice to resolve since that user and key do work with putty. in the mean time I will use ftp since I got it to work, but I would prefer to use the ssh (sftp)
The choice depends, for example, on your technical skills and your willingness to invest your own time. For example, with WordPress-specialized hosting, someone may take care of the updates of WordPress and your plugins for you. What is actually included in the offer, you have to read there. cpanel is just a server management software where you can do much more than just install WordPress.
ordered contos vps with cpanel
using link that was send in installation email, but cant login with send it user and password
_HCs
tryed allready reinstall few times. it goes to login page, but it should go to cpanel window. cpanel license allready active