Jump to content

Cpanel Domain Login instead of IP


herpherp

Recommended Posts

Hello I was wondering if anyone could tell me which file to edit to change the path to cpanel in the client details. page... /clientarea.php?action=productdetails

 

I want the "login to cpanel" to direct them to http://www.fullsrv.com/cpanel

instead of the ip addy....

 

 

Also while were at it when someone is logged into cpanel is that using my bandwidth that I have assigned to me or is this utilizing theirs etc...

 

 

Thanks for any help it is greatly appreciated!

Link to comment
Share on other sites

Thank you for the help...

 

Unfortunately though it's not that simple...

 

There is no mention of IP in that file,

 

The code that adds the buttons to login to cpanel and webmail is {$serverclientarea}

 

Can't find a serverclientarea.tpl

 

Thanks again for any assistance!

Link to comment
Share on other sites

Try this:

 

Replace {$serverclientarea} with:

 

<form method="post" action="http://{$domain}:2082/login/" target="_blank" >
<input type="hidden" name="user" value="{$username}"/>
<input type="hidden" name="pass" value="{$password}"/>
<input type="submit" class="button" value="{$LANG.clientareacpanellink}" />
</form>

Link to comment
Share on other sites

  • 5 weeks later...

Hello I am trying to remove the cpanel link and leave webmail.

I tried

 

<form method="post" action="http://ip:2082/login/" target="_blank" >

<input type="hidden" name="user" value="{$username}"/>

<input type="hidden" name="pass" value="{$password}"/>

<input type="submit" class="button" value="{$LANG.clientareawebmaillink}" />

</form>

[/QOUTE]

to replace

{$serverclientarea}

[/QOUTE]

in order to remove the webmail link and leave the cpanel link.

 

I do see a button for webmail, except it tries to open http://ip:2082/login/ and does not even change "ip" to my actual server ip.

Can someone please tell me what string I should replace action="http://ip:2082/login/" with, in order to link to webmail?

Link to comment
Share on other sites

thanks Jason.

I was planning on using "ip" instead of "domain", because you have to wait for the domain to propagate.

But on second thoughts, I will use "domain".

Also, for the record, I had to use 2095 instead of 2082 as below:

action="http://{$domain}:2095/login/"

I guess 2095 points to the webmail section.

Link to comment
Share on other sites

  • 1 month later...

I've been reading through several various posts related to the client being able to login to cpanel and/or webmail and after a bit of testing I see that I need to completely remove the webmail login from his area, mainly because it takes you to the default user name of the account ... which is ok if that is the email your checking, but thats the "catch all" unless you are login in with the full email address.

 

The cpanel login works just fine and client can get to their webmail from within cpanel if need be, so I would just like to verify what I need to edit to ONLY remove the webmail login button. (sorry, I'm getting confused, I'll be seeing dollar signs and curly brackets in my sleep)

 

Would this be correct?:

 

Replace this:

{$serverclientarea}

With this?:

<input class="button" type="button" onclick="window.open('https://{$domain}:2083/login?user={$username}&pass={$password}')" value="Login to cPanel"/>

 

Thank you in advance :)

Link to comment
Share on other sites

  • 1 year later...

I am not cluing into getting these side-by-side on the page.

Otherwise I thought I would share a secure login method for my HostGator account.

Any improvements are welcome!

 

<p align="center"><form method="post" action="https://secure580.websitewelcome.com:2083/" target="_blank" >
<input type="hidden" name="user" value="{$username}"/>
<input type="hidden" name="pass" value="{$password}"/>
<input type="submit" class="button" value="{$LANG.clientareacpanellink}" />
</form>
</p><br />
<p><form method="post" action="https://secure580.websitewelcome.com:2096/"  target="_blank" >
<input type="hidden" name="user" value="{$username}"/>
<input type="hidden" name="pass" value="{$password}"/>
<input type="submit" class="button" value="{$LANG.clientareawebmaillink}" />
</form>
</p>

 

This thread has been very helpful so far!

Link to comment
Share on other sites

  • 7 months later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated