Mobile app version of vmapp.org
Login or Join
Lee4591628

: Redirect cPanel url to something different I have example.com which is the domain that hosts other domains. On cPanel normally you can get to the actual cPanel by visiting cpanel.hosteddomainA.com,

@Lee4591628

Posted in: #Cpanel #Linux

I have example.com which is the domain that hosts other domains.

On cPanel normally you can get to the actual cPanel by visiting cpanel.hosteddomainA.com, hosteddomainA.com/cpanel or hosteddomainA.com:2082

What I would like to accomplish is to have the hosteddomains cPanel auto redirect to something like my.example.com:2082 . Doing this would allow me to adequately throw an SSL cert in my. and really offer a secure experience to my users.

I know it's possible because bluehost does the same. They redirect to my.bluehost.com.

Can anyone think of how to do it?

10.02% popularity Vote Up Vote Down


Login to follow query

More posts by @Lee4591628

1 Comments

Sorted by latest first Latest Oldest Best

 

@Megan663

You can create a CNAME DNS record with the subdomain my.example.com pointing to example.com. This way, the user will be able to access any of the resources available on example.com (such as example.com/cpanel) but will be a part of the my.example.com subdomain.

A CNAME DNS record, btw, creates an "alias" to another subdomain or domain. It is NOT a good idea to create a CNAME record for the root/apex domain, e.g. a CNAME record from example.com pointing to example.com.

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme