Current time: 05-19-2024, 06:09 AM Hello There, Guest! (LoginRegister)


Post Reply 
Different Alias for control panel access?
Author Message
jemmrich Offline
Junior Member
*

Posts: 24
Joined: Nov 2008
Reputation: 0
Post: #1
Different Alias for control panel access?
Hi,

Is it possible to have a different way to access the control panel for each domain?

For example:
example.com/cp
mysite.com/cp

rather than:
ispcp.myhostname.com

I assume that the template would have to be changed to make an alias to ispcp, but not sure what the correct apache config would be for it.

Thanks!
James
11-28-2008 11:16 AM
Visit this user's website Find all posts by this user Quote this message in a reply
joximu Offline
helper
*****
Moderators

Posts: 7,024
Joined: Jan 2007
Reputation: 92
Post: #2
RE: Different Alias for control panel access?
I would not recommend this since the php settings for ispcp (vhost master) differs from the normal virtual user php.ini.
But you can create a redirect on the url */cp to ispcp.myhostname.com

/J
11-28-2008 05:26 PM
Visit this user's website Find all posts by this user Quote this message in a reply
jemmrich Offline
Junior Member
*

Posts: 24
Joined: Nov 2008
Reputation: 0
Post: #3
RE: Different Alias for control panel access?
Alright I guess i will use a redirect, its just my hostname is a little ugly, figured it would look a little more professional if it appeared as if the control panel was on their site.
11-28-2008 05:40 PM
Visit this user's website Find all posts by this user Quote this message in a reply
grg Offline
Junior Member
*

Posts: 49
Joined: Sep 2008
Reputation: 0
Post: #4
RE: Different Alias for control panel access?
You can modify the IspCP URL, it hasn't to be the hostname.

So you can use something like:

Hostname: lnx-a1.srv.yourdomain.tld
IspCP URL: cp-a1.yourdomain.tld

(It's also possible to create a simple htaccess redirect for cp.domain.tld (domaintld is your customer's domain)

GrG
12-02-2008 04:34 AM
Visit this user's website Find all posts by this user Quote this message in a reply
joximu Offline
helper
*****
Moderators

Posts: 7,024
Joined: Jan 2007
Reputation: 92
Post: #5
RE: Different Alias for control panel access?
You could change the 00_master.conf in apache with something like
ServerAlias cp.*

But then you should tell your customers not to use cp in their domains for their own (subdomain)...

/J
12-02-2008 06:12 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)