![]() |
hide Ispcp admin login page from Subdomain - Printable Version +- ispCP - Board - Support (http://www.isp-control.net/forum) +-- Forum: ispCP Omega Support Area (/forum-30.html) +--- Forum: Usage (/forum-34.html) +--- Thread: hide Ispcp admin login page from Subdomain (/thread-15120.html) |
hide Ispcp admin login page from Subdomain - kandsgroup - 09-17-2011 04:46 PM Hi all, when i enter a subdomain, for example any.mydomain.com it is showing the default ispcp admin login page. how can i hide this?, is it possible that when a user wrongly enter a subdomain it will redirect to the main? example i need anyname.mydomain.com redirect to http://www.mydomain.com i have already edited 00_master.conf (both /etc/apache2/sites-enabled and /etc/ispcp/apache ) ServerAdmin to {http://admin.mydomain.com/} bt still showing the ispcp login page. ispCP 1.0.7 OMEGA build: 20101124 please help. thank you RE: hide Ispcp admin login page from Subdomain - yesmeck - 09-27-2011 03:23 AM It seems you are using debian(or ubuntu?), you can edit /etc/apache2/sites-avaliable/default,and change the following line: Code: <VirtualHost *:80> Code: <VirtualHost IP:80> then,enable the default config: Code: a2ensite default RE: hide Ispcp admin login page from Subdomain - kandsgroup - 09-27-2011 10:16 PM (09-27-2011 03:23 AM)yesmeck Wrote: It seems you are using debian(or ubuntu?), you can edit /etc/apache2/sites-avaliable/default,and change the following line: Hi thanks for the reply , i am using Debian 6.0 /Squeeze (64Bit) and ispCP 1.0.7 OMEGA , build: 20101124 RE: hide Ispcp admin login page from Subdomain - Visas - 10-01-2011 06:48 PM I am also looking for it. RE: hide Ispcp admin login page from Subdomain - kandsgroup - 10-13-2011 08:53 PM Hi Yesmeck , Thanks for your help, i managed to solve by following your steps. after that if i want to log in the ISPCP admin i have to re edit <VirtualHost *:80> this line in /etc/apache2/sites-avaliable/default. other than that directly accessing the admin page (IP) i just get this message. "It works! This is the default web page for this server. The web server software is running but no content has been added, yet." currently i have one IP address with dedicated server. my question are 1. is it possible to setup the same IP address both ISPCP admin and the websites? 2. if yes how to setup both with out seeing the ISPCP admin page in every sub domain? thanks again for helping. |