ispCP - Board - Support
Different Alias for control panel access? - Printable Version

+- ispCP - Board - Support (http://www.isp-control.net/forum)
+-- Forum: ispCP Omega Support Area (/forum-30.html)
+--- Forum: System Setup & Installation (/forum-32.html)
+--- Thread: Different Alias for control panel access? (/thread-5029.html)



Different Alias for control panel access? - jemmrich - 11-28-2008 11:16 AM

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


RE: Different Alias for control panel access? - joximu - 11-28-2008 05:26 PM

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


RE: Different Alias for control panel access? - jemmrich - 11-28-2008 05:40 PM

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.


RE: Different Alias for control panel access? - grg - 12-02-2008 04:34 AM

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


RE: Different Alias for control panel access? - joximu - 12-02-2008 06:12 PM

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