How to add custom theme in hosting server?

I know of two options, both will do give the same end result

  1. zip your theme folder, using the cpanel navigate to themes folder, upload and extract. You should be able to see your theme in the wordpress admin dashboard.
  2. zip your theme folder, in wordpress admin dashboard navigate to themes, choose new theme, than upload theme, upload your theme and activate.

If your theme work localy there shouldn’t be any problems with the upload no matter what way you choose