Service address? - Printable Version +- ispCP - Board - Support (http://www.isp-control.net/forum) +-- Forum: ispCP Omega Contributions Area (/forum-40.html) +--- Forum: Enhancements (/forum-43.html) +--- Thread: Service address? (/thread-2097.html) |
Service address? - bulforce - 01-08-2008 03:59 PM Hi, sorry if i duplicate a post or asking something that is already answered... Is there a way that the added domain can be accessed before the dns is pointed to the server? ex. http://someserver.com/newdomain.com Thank you RE: Service address? - BeNe - 01-08-2008 05:32 PM It exist a Thread in the German Corner --> http://www.isp-control.net/forum/neuem-kunden-automatisch-eine-subdomain-vom-hoster-zuweisen-t-2014.html Maybe you should translate it with google or something. Greez BeNe RE: Service address? - bulforce - 01-09-2008 09:08 AM i translated it with google but couldn't understand almost anything.. is there somebody that can write a how to in english thank you RE: Service address? - joximu - 01-09-2008 09:25 AM hei hei thre are some code snipplets you need to modify the tpl files ... computer-german is not that difficult... take Code: /etc/ispcp/apache/parts/dmn_entry.tpl search Code: ServerAlias www.{DMN_NAME} {DMN_NAME} *.{DMN_NAME} change to Code: ServerAlias www.{DMN_NAME} {DMN_NAME} *.{DMN_NAME} {SUEXEC_USER}.hostdomain.tld and you new host will also be avalilable via e.g. vu2005.hostdomain.tld of course: set your domain name instead of hostdomain.tld, maybe you need to change the apache Serveralias for hostdomain.tld, and thirs: the dns also needs a catchall for hostname.tld... /J RE: Service address? - bulforce - 01-11-2008 08:49 AM my dns did not have catch all... so i try to make the change this way ServerAlias www.{DMN_NAME} {DMN_NAME} *.{DMN_NAME} hostdomain.tld/{DMN_NAME} After creating a new domain i check ispcp.conf in /etc/apache.... and it contain alias myserveraddress.com/demo.com but trying to access this address is giving me 404 error Any ideas RE: Service address? - joximu - 01-11-2008 08:57 AM this does not work. you only can put hostnames/domainnames there - no paths... /J RE: Service address? - bulforce - 01-11-2008 09:12 AM {DMN_NAME} is a domain... not a path but anyway i got your point So is there anyway that i can make service address possible ? I think we have to create separed file like the awstats one 01_awstats maybe 02_servicedmn and create the service addresses rules there Or maybe in the 00_master.conf please lets make it RE: Service address? - joximu - 01-11-2008 09:36 AM hostdomain.tld/{DMN_NAME} is a path: http://domain.com/otherdomain.com so, dive into your dns and configure so that all *.domain.tld ends on your server: * 1D IN A my.server.ip.number /Joximu RE: Service address? - bulforce - 01-11-2008 02:08 PM joximu i understood what you mean but my current dns is external and do not support catch all records. However i remember that before when i had ensim on another server... after i add a domain name it was instantly avalable thru service address like serverdomain.com/~newdomain.com or something like this. I cannot believe that this is not possible with ispcp ;( RE: Service address? - joximu - 01-11-2008 06:25 PM I never had good feelings with this service address: install a Typo3 - you'll always have some strange side effects if you work with server/~user/typo3/ And. Very important! this worked with mod_php - but now almost every virtualhost is running php as a different user -the same user as the ftp user for this customer. So, doing a "maindomain.tld/~user" runs under the maindomain user - and the maindomain php cannot see/execute the php in userdomain.tld So, the only practicable thing are ServerAliases as described above. /Joximu |