Using cPanel webmail on DO droplet

Posted July 20, 2020 1.8k views

I got a web app running on a droplet. The domain is hosted via namecheap.
I would like to use the built-in(roundcube) email in cPanel(via namecheap account).

currently, the url of is redirecting to the default site, and not not the webmail login page (as it should).

Can you help me configure the droplet so that I will have a subdomain or a url that redirects to the cPanel’s webmail service?

I’m using the DO nameserver, and already setup A records.

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Submit an Answer
1 answer

Hello, @greencup556

If you access the droplet’s IP address on port 2096 this should redirect you to the webmail/roundcube’s login page:


Note: Replace IPaddr with the actual IP address of your droplet.

You will receive a warning message about the certificate but you can ignore it and continue.

Hope that helps!


  • Hi Alex,
    Thank you for your answer.

    Unfortunatly what you suggested did not work… the browser is just loading forever.

    Can you help me figure the problem? do I need to set a MX record at DO DNS for the cPanel webmail?

    • Hi, @greencup556

      I’ve just deployed a cPanel/WHM droplet from our marketplace page

      and I can confirm that the webmail is loading fine from the following links:

      https://IPaddr/webmail will redirect to https://IPaddr:2096

      You do not need to setup a MX record in order to access the webmail. Can you confirm if you’ve installed cPanel/WHM manually or you’re using the marketplace droplet as well?

      If your domain name is pointed to the droplet the webmail should load fine if you access the webmail via the following link:

      and you can also create a subdomain by creating a DNS A record for in your DNS control panel.

      If you’re redirected to the default site page, I will recommend you to check this using an alternative browser or via incognito mode in the same web browser.

      Hope that this helps!