Go Back   HostGator Peer Support Forums > Public Forums > Pre-Sales Questions

Notices

Reply
 
Thread Tools
  #1  
Old 10-11-2008, 12:49 AM
Tyronemorrisey Tyronemorrisey is offline
Hatchling Croc
 
Join Date: Oct 2008
Location: Nanaimo BC Canada
Posts: 21
Default Can I embed the cpanel login on my site?

Can I embed the Cpanel Sign in text box's on my site? I have little knowlege of cpanel.
Reply With Quote
  #2  
Old 10-11-2008, 01:17 AM
gwyneth's Avatar
gwyneth gwyneth is offline
Supreme Croc
 
Join Date: Sep 2006
Location: up north
Posts: 6,843
Default Re: Can I embed the cpanel login on my site?

Why do you want to do this?
Reply With Quote
  #3  
Old 10-11-2008, 02:53 AM
striddy's Avatar
striddy striddy is offline
Veteran Croc
 
Join Date: Mar 2008
Location: /home/australia/earth
Posts: 4,040
Default Re: Can I embed the cpanel login on my site?

Quote:
Originally Posted by Tyronemorrisey View Post
Can I embed the Cpanel Sign in text box's on my site? I have little knowlege of cpanel.
What's the point? You only need type yourdomainname.com/cpanel and you're there. Or setup a bookmark / favorite and just click it.

__________________
- David
Reply With Quote
  #4  
Old 10-11-2008, 03:00 AM
Keith W's Avatar
Keith W Keith W is offline
King Croc
 
Join Date: May 2007
Location: UK
Posts: 904
Default Re: Can I embed the panel login on my site?

Maybe they are a reseller and what to provide a log in for the clients direct on there web site?
__________________
Mouse potato - The online generations version of a couch potato
Reply With Quote
  #5  
Old 10-11-2008, 07:51 AM
Roger4000 Roger4000 is offline
Hatchling Croc
 
Join Date: Oct 2008
Posts: 1
Default Re: Can I embed the cpanel login on my site?

i`have the c panel also on a bookmark, works just fine
Reply With Quote
  #6  
Old 10-11-2008, 08:34 AM
AngelFire AngelFire is offline
Baby Croc
 
Join Date: Sep 2008
Location: Sydney, Australia
Posts: 88
Default Re: Can I embed the cpanel login on my site?

Simple answer is Yes it can be done.

Longer answer, is Yes it can be done, but it is not something that I would do. I don't see that point in doing that for cPanel.
Reply With Quote
  #7  
Old 10-11-2008, 03:07 PM
GatorMikaelN GatorMikaelN is offline
Banned User
 
Join Date: Apr 2008
Location: Houston, Texas
Posts: 58
Default Re: Can I embed the cpanel login on my site?

Probably the easiest way of doing it would be to simply take a look at the HTML source of the cPanel login page by going to http://yourdomain.com/cpanel (and canceling out of the login 'popup' if you get it).
Then just simply copy/paste the whole form from the HTML code and put it on your page with whatever edits you need to make it suit your needs.
The form code used is this (not the prettiest HTML seen and.. tables )
HTML Code:
<form action="/login/" method="POST">
<input type="hidden" name="login_theme" value="cpanel">
<table width="200" class="login" cellpadding="0" cellspacing="0">
<tr>
<td align="left"><b>Login</b></td>
<td>&nbsp;</td>
</tr>
<tr>
<td>Username</td>
<td><input autocomplete="off" type="text" name="user" size="16"></td>
</tr>

<tr class="row2">
<td>Password</td>
<td><input type="password" name="pass" size="16"></td>
</tr>
<tr>
<td colspan="2" align="center"><input type="submit" value="Login" class="input-button"></td>
</tr>
</table>
</form>
Replace
HTML Code:
<form action="/login/" method="POST">
with
HTML Code:
<form action="http://yourdomain.com:2082/login/" method="POST">
or
HTML Code:
<form action="http://YOURSERVERIP:2082/login/" method="POST">
and voila you've got an embedded cPanel login form.


Mikael N.
HostGator Transfers Department
Reply With Quote
  #8  
Old 10-11-2008, 10:49 PM
Tyronemorrisey Tyronemorrisey is offline
Hatchling Croc
 
Join Date: Oct 2008
Location: Nanaimo BC Canada
Posts: 21
Default Re: Can I embed the cpanel login on my site?

Perfect! I'm going to try alittle reseller site, sold! I have wanted to try to do one for a few years now. I figered that I could put the cpanel login on my host site, but you never know. I could not find a terms of service or anything on cpanel, other then whats on this forum or on the resellers page. This forum rocks for peer to peer and admin to peer help, Thank you

Sorry for not saying it was for a reseller site, I guess that may have confused a few people
Reply With Quote
  #9  
Old 10-12-2008, 08:50 AM
AngelFire AngelFire is offline
Baby Croc
 
Join Date: Sep 2008
Location: Sydney, Australia
Posts: 88
Default Re: Can I embed the cpanel login on my site?

Hope you get it all working the way you want it Tyronemorrisey
Reply With Quote
Reply

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Can't login to Site Builder since changing cpanel password bigkidrobert Shared Hosting Support 0 05-29-2008 03:39 PM

All times are GMT -6. The time now is 01:17 AM.