Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

How to use git on subdomain for development or support

Discussion in 'Workarounds and Optimization' started by Harikalar Kutusu, Nov 15, 2016.

Tags:
  1. Harikalar Kutusu

    Joined:
    Jan 13, 2016
    Messages:
    23
    Likes Received:
    6
    Trophy Points:
    3
    Location:
    Istanbul, Turkey
    cPanel Access Level:
    Root Administrator
    I'm fairly noob on internals of git system. We have been using it locally with SmartGit client. Now I seek for options to build remote repositories.

    The scenario I have in mind is as follows:

    I have hostname.mydomain.com VPS with root access.
    I have my company domain on mydomain.com
    I want to develop securely on e.g. git.mydomain.com, which should never be public.
    Master branches of latest versions should be available (not public, e.g. accessible with credentials) on e.g. support.mydomain.com
    I'll use these masters e.g. on IoT device installations with wget etc.

    What is the best way to implement such a scenario?
    I do not want to give SSH access to any device other than in-house developers.

    I'm aware of the included git and namecheap.com's tutorial, but I'm not sure how I can adapt it:
    Namecheap.com Knowledgebase • How to deal with Git on our shared servers (SSH Access)

    Any directions will be much appreciated...
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,803
    Likes Received:
    1,898
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
    Harikalar Kutusu likes this.
  3. Harikalar Kutusu

    Joined:
    Jan 13, 2016
    Messages:
    23
    Likes Received:
    6
    Trophy Points:
    3
    Location:
    Istanbul, Turkey
    cPanel Access Level:
    Root Administrator
    Very good information, thank you !
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice