cPanel

cPanel

DevOps / Build, Test, Deploy / Server Configuration and Automation
Needs advice
on
MongoDBMongoDB
and
MySQLMySQL

Hello, I wanna build an e-commerce website for myself and planning to build for others in the future. I really like Node.js, React, ExpressJS. But I don't know if MySQL or MongoDB is what suits me the best because at the moment I have a webhotel at a hosting provider and I like that setup, setting up emails, and having more control I guess over my situation.

But is there any way I can use MongoDB on cPanel or direct admin except using MongoDB Atlas which costs a lot of money?

Because I have a setup using React, Node, Express, and MySQL and it works kind of well when working in the direct admin panel. But I just wanna make sure I make the right decision now when I start building an e-commerce website both to be cost effective and also not have to learn too many things.

I am also open to tips for example choosing Next.js instead etc if that is actually necessary and would help me in the long run.

READ MORE
5 upvotes·64.7K views
Replies (5)
Recommends
on
MongoDB
MySQL

Why would you allow your decision to be driven by the limitations of a hosting account? MySQL is a relational database, and typically you need a solid understanding of relational database design and SQL. MongoDB as a so called "Document database" is not relational. You can associate several MongoDB collections together if you understand the basic concepts behind, it, but in general, MongoDB does not have nor require a fixed schema. It can do many of the things a relational database can do, particularly if your data fits nicely into a hierarchical structure. It also often appeals to people like yourself that are working with a javascript stack, as the interface to MongoDB is json. If you can install a package onto your host, then you should be able to use MongoDB. With that said, you can do all your development locally using Docker containers. I would not suggest that you let important design decisions be dictated by what one shared host allows you to do.

READ MORE
9 upvotes·33.8K views
Backend Developer at GBarena·
Recommends
on
MySQL

I think you should use MySQL but with php or Python because e-commerce websites needs to be fast and reliable with more admin tools and you’ll find what you need and more in e-commerce when using php or python frameworks with MySQL database.

Example: Using django (python framework) with MySQL gives you administration dashboard that you can use to edit in a lot of things and django also supports a lot of things like generating ready forms linked to the models you generated

READ MORE
5 upvotes·32.7K views
View all (5)
Needs advice
on
cPanelcPanelDirectAdminDirectAdmin
and
HostGatorHostGator

Hello,

I’ve been using a Reseller account to host my client's websites for many years ago.

I noticed in the last few years low performance and weakness in technical support services, so I intended to move to another provider just like "HostGator," the problem is I'm using currently Plesk "Direct Admin" but the intended new reseller using "cPanel," the question is could I move my reseller without interrupting my clients? "No change from client-side will be performed ex (FTP accounts, control panel credentials, MySQL databases, users, DNS configuration, webmail boxes, and messages)."

I would love your insights on where I should go. (Experienced)

Note: I called the HostGator support, and they will make a migration manually; they also assure me that it wouldn't be any interruption, but I'm also not sure.

READ MORE
4 upvotes·77.3K views
Replies (1)
Technical Lead at DPO International·
Recommends
on
CloudFlare

I think if you want to move all accounts in current your reseller to a new one will take more time for that, because you should test all of them one by one . and also you should change DNS for them to a new one. so my opinon move your website one by one and Testing it in a new server and also use cloudflare for managing DNS in it because cloudflare is so faster for changing DNS fron old one to a new one. if you do that your accounts never stop. notes, also you should use same modules and librarys in old server

READ MORE
4 upvotes·1 comment·6K views
Peter Vereshagin
Peter Vereshagin
·
March 28th 2021 at 6:03PM

Mohammed, should you think of move from hoster to hoster as a process which is different than move from one server management software to another? Is there any reason for you to combine these two in one?

I understand that you aim is to increase the performance but the compatibility maintenance for your hosted applications may require more time and resources than could be thought originally.

For example, the time you need to accomplish such a process - moving your domains very carefully , one by one, testing every of them thoroughly, this may require bring them back and forth, paying for both machines... for count of sites, say 300+ it may represent a major headache even to keep records on what was done, when and why, and planning on what should be done, when and why. And your DNS provider can be very fast and separate from your server, meaning additional maintenmance overhead, but the web users' cache updating may require additional time up to the weeks. All of that time you should have at least email being received by your old server. And your email users should read from your both new and old servers.

The best option IMO is to clone your server as a whole server backup/restore propcedure from old provider to the new one, including both users' data and server management software like Plesk or Cpanel. Then after you will get your DNS moved, you can get it done manually without a shadow of a hurry, two weeks should be enough for the purpose, you may compare if the performance is made better, you should have the old benchmarks taken by the tools like Apache Benchmark before you start all of that move, and have the old server abandoned. You may have it at a hot reserve though if some of your projects will require special care.

For the case if you're pretty sure you should switch from the Plesk which made by the guy who interviewed me this March) to CPanel or anything else, I'd suppose you could prefer to have a VPS or a container inside your server and have every new domain hosted there as well as the moved ones, one by one, by your own schedule not by the need to keep 2+ servers paid instead of 1.

·
Reply
Needs advice
on
cPanelcPanelFirebaseFirebase
and
Nuxt.jsNuxt.js

I'm planning to make a web app with browser games that would be a Progressive Web App. I decided to use Vue.js as the front framework and Firebase to store basic information about users. Then I found out about Nuxt.js and I figured it could be really handy for making the project as PWA.

The thing is, that I don't know if I will need Server Side Rendering for this, I couldn't find a lot of information but from what I know, the web app doesn't need SSR to be PWA. I am not sure how this would work with JavaScript browser games made with frameworks like Phaser or melon.js. Also, I host my website on GoDaddy and I've heard that it's quite hard to set up SSR with cPanel.

So my questions are:

Should I use SSR for Progressive Web Application built with Nuxt, filled with javascript browser games that are lazily loaded, or does that not make sense? If it makes sense, would SSR work with godaddy hosting and cPanel?

Any help would be appreciated!

READ MORE
7 upvotes·145.4K views
Replies (1)
Recommends
on
Nuxt.js

Perhaps you could generate static website with Nuxt and deploy on cPanel or some free static hosting.

READ MORE
6 upvotes·2.6K views