Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


Doubts with shared
New on LowEndTalk? Please Register and read our Community Rules.

All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.

Doubts with shared

netomxnetomx Moderator, Veteran

Hi, bought a BuyShared Reseller, and want to give my clients access. Is there a way to give them a custom URL to enter cPanel? Tried with CloudFlare but it doesn't work.

Thanked by 1DewlanceVPS
«1

Comments

  • GCatGCat Member

    Have you tried asking @Francisco?

  • netomxnetomx Moderator, Veteran

    @GCat said:
    Have you tried asking @Francisco?

    Nope. I thought it was something general, instead of BuyShared. A lot of ppl sell cPanel reseller, isn't it?

  • They can do.

    Tld.tld/cpanel

    Or create cname.

  • netomxnetomx Moderator, Veteran

    @perryoo11 said:
    They can do.

    Tld.tld/cpanel

    Or create cname.

    Tried that. All browsers complain of SSL mismatch. If I tunnel it with CF, the IP changes and it will not work.

  • LeeLee Veteran

    netomx said: Is there a way to give them a custom URL to enter cPanel? Tried with CloudFlare but it doesn't work

    You mean a customer URL so that they don't know what they are really connecting to?

    Thanked by 1netomx
  • netomxnetomx Moderator, Veteran

    @Lee said:

    netomx said: Is there a way to give them a custom URL to enter cPanel? Tried with CloudFlare but it doesn't work

    You mean a customer URL so that they don't know what they are really connecting to?

    Yup.

  • WHTWHT Member

    Normally hosts uses whitelabeled domain that I think buyshared have it also.

  • LeeLee Veteran

    Only thing I can think of is a whitelabel domain.

  • netomxnetomx Moderator, Veteran

    Care to explain? I don't really get the "white label". The thing I thought it could work is to use a small VPS to tunnel it.

  • A reverse proxy maybe? I don't think there are any other ways. I know for webmail, you can just set up a CNAME of webmail.yourdomain.com to cpanelserver.com and that will work (except for the SSL part, but cloudflare can solve that easily), not sure if that's the same for cpanel directly.

    Thanked by 1netomx
  • netomxnetomx Moderator, Veteran

    TheOnlyDK said: the same for cpanel directly.

    Nope, because Cookie IP validation

  • Awmusic12635Awmusic12635 Member, Host Rep

    It's been a requested feature from cPanel for a while. As most said, while labeled domain is the way to do it, we do it for our stuff

  • Awmusic12635Awmusic12635 Member, Host Rep
    edited August 2016

    @netomx said:
    Care to explain? I don't really get the "white label". The thing I thought it could work is to use a small VPS to tunnel it.

    Basically the host uses a domain that isn't directly associated with them.

    For example we use shared panel com . Then host names come from that making it white labeled

    Thanked by 1netomx
  • @Awmusic12635 said:

    @netomx said:
    Care to explain? I don't really get the "white label". The thing I thought it could work is to use a small VPS to tunnel it.

    Basically the host uses a domain that isn't directly associated with them.

    For example we use sharedpanel.com . Then host names come from that making it white labeled

    Now everyone knows :P

    Thanked by 3dedicados cassa vpsGOD
  • why you don´t create a login directly from your website.

  • netomxnetomx Moderator, Veteran

    @dedicados said:
    why you don´t create a login directly from your website.

    Huh?

    Awmusic12635 said: Basically the host uses a domain that isn't directly associated with them.

    Ohhhhhhhhhhhh OK. Well, I think I will use a small VPS instead. Thank you all!

  • @netomx I just tried what I said above, it works just fine, able to login to cpanel.

    So basically what I did was set CNAME of cpanel.mydomain.com to server1.hostingprovider.com and enable cloudflare. When I visit https://cpanel.mydomain.com, it doesn't redirect and instead it will just show the page and proxy everything just like a VPS + nginx, and with free SSL. The only thing you need is to set your crypto to Full (NOT strict) and everything should be fine.

  • FranciscoFrancisco Top Host, Host Rep, Veteran

    We have the whitelabel domain so it shouldn't be hat big of an issue.

    Francisco

  • yeah

  • NekkiNekki Veteran

    @dedicados said:
    yeah

    Top posting.

  • CNAME on Cloudflare

    Aguante Latinoamerica

  • raindog308raindog308 Administrator, Veteran

    @netomx said:
    Hi, bought a BuyShared Reseller, and want to give my clients access.

    image

    Thanked by 1netomx
  • @raindog308 said:

    @netomx said:
    Hi, bought a BuyShared Reseller, and want to give my clients access.

    image

    this meme

  • @netomx

    I do have a trick I use sometimes for cPanel resellers - a NGINX reverse proxy.

    Sure, the last login IP is messed up but hey, it pretty much guarantees that the client will not figure out the actual host.

    Thanked by 1netomx
  • Sure, the last login IP is messed up but hey

    That's sortable.

    Thanked by 1netomx
  • netomxnetomx Moderator, Veteran

    @FlamesRunner said:
    @netomx

    I do have a trick I use sometimes for cPanel resellers - a NGINX reverse proxy.

    Sure, the last login IP is messed up but hey, it pretty much guarantees that the client will not figure out the actual host.

    I will do this, thanks everyone

    @raindog308 said:

    @netomx said:
    Hi, bought a BuyShared Reseller, and want to give my clients access.

    image

    Nah, just internal clients, pal :)

  • FlamesRunnerFlamesRunner Member
    edited August 2016

    @netomx

    Here's the configuration I used:

    (where yourwhitelabeledserverhostname.com is the hostname you'll use, and buyvmserverhostname.com being the hostname of BuyVM's reseller servers)

    server {
    listen yourserverip:2082;
    server_name _;
    location / {
    proxy_redirect off;
    client_max_body_size 10m;
    client_body_buffer_size 128k;
    proxy_connect_timeout 90;
    proxy_send_timeout 90;
    proxy_read_timeout 90;
    proxy_set_header        remote_addr       $remote_addr;
    proxy_set_header        X-Forwarded-For $proxy_add_x_forwarded_for;
    proxy_pass http://buyvmserverhostname.com:2082;
    rewrite     ^   https://yourwhitelabeledserverhostname.com$request_uri? permanent;
    }
    }
    
    
    server {
        listen              2083 ssl;
        server_name         _;
        ssl_protocols TLSv1 TLSv1.1 TLSv1.2;
        add_header              Front-End-Https   on;
        ssl_certificate     /path/to/your/ssl/certificate.pem;
        ssl_certificate_key /path/to/your/ssl/certificate.key;
        ssl_ciphers 'EECDH+AESGCM:EDH+AESGCM:AES256+EECDH:AES256+EDH';
    
    location / {
    proxy_redirect off;
    ### Set headers ####
    proxy_set_header        Accept-Encoding   "";
    proxy_set_header        Host            $host;
    proxy_set_header        remote_addr       $remote_addr;
    proxy_set_header        X-Forwarded-For $proxy_add_x_forwarded_for;
    client_max_body_size 10m;
    client_body_buffer_size 128k;
    proxy_connect_timeout 90;
    proxy_send_timeout 90;
    proxy_read_timeout 90;
    proxy_pass https://buyvmserverhostname.com:2083;
    }
    }
    
    Thanked by 1netomx
  • netomxnetomx Moderator, Veteran

    @FlamesRunner said:
    @netomx

    Here's the configuration I used:

    (where yourwhitelabeledserverhostname.com is the hostname you'll use, and buyvmserverhostname.com being the hostname of BuyVM's reseller servers)

    > server {
    > listen yourserverip:2082;
    > server_name _;
    > location / {
    > proxy_redirect off;
    > client_max_body_size 10m;
    > client_body_buffer_size 128k;
    > proxy_connect_timeout 90;
    > proxy_send_timeout 90;
    > proxy_read_timeout 90;
    > proxy_set_header        remote_addr       $remote_addr;
    > proxy_set_header        X-Forwarded-For $proxy_add_x_forwarded_for;
    > proxy_pass http://buyvmserverhostname.com:2082;
    > rewrite     ^   https://yourwhitelabeledserverhostname.com$request_uri? permanent;
    > }
    > }
    > 
    > 
    > server {
    >     listen              2083 ssl;
    >     server_name         _;
    >     ssl_protocols TLSv1 TLSv1.1 TLSv1.2;
    >     add_header              Front-End-Https   on;
    >     ssl_certificate     /path/to/your/ssl/certificate.pem;
    >     ssl_certificate_key /path/to/your/ssl/certificate.key;
    >     ssl_ciphers 'EECDH+AESGCM:EDH+AESGCM:AES256+EECDH:AES256+EDH';
    > 
    > location / {
    > proxy_redirect off;
    > ### Set headers ####
    > proxy_set_header        Accept-Encoding   "";
    > proxy_set_header        Host            $host;
    > proxy_set_header        remote_addr       $remote_addr;
    > proxy_set_header        X-Forwarded-For $proxy_add_x_forwarded_for;
    > client_max_body_size 10m;
    > client_body_buffer_size 128k;
    > proxy_connect_timeout 90;
    > proxy_send_timeout 90;
    > proxy_read_timeout 90;
    > proxy_pass https://buyvmserverhostname.com:2083;
    > }
    > }
    > 

    I just modified with:

    server {
        listen 80;
    
        # The host name to respond to
        server_name _;
    
        location / {
            return 301 https://MYURL:2083$request_uri;
    
        }
    }
    
    

    And works wonderfully, thank you!

    Thanked by 1FlamesRunner
  • Meh, I don't go for the cleanest configuration, but hey, good job :)

    Thanked by 1netomx
  • ClouviderClouvider Member, Patron Provider
    edited August 2016

    Proxy is a bad idea. All connections to Buyshared will be from the Proxy's IP.

    Say someone using your proxy will enter a wrong password X time. Assuming they use cPHulkd entire proxy will be banned for X minutes.

    There is no good solution AFAIK. If you want to look independent from the provider you should really take a look at Dedicated or VPS...

    Thanked by 1netomx
Sign In or Register to comment.