ispCP - Board - Support
Old problem... Subdomains. - Printable Version

+- ispCP - Board - Support (http://www.isp-control.net/forum)
+-- Forum: ispCP Omega Development Area (/forum-1.html)
+--- Forum: General discussion (/forum-11.html)
+--- Thread: Old problem... Subdomains. (/thread-809.html)



Old problem... Subdomains. - Z4P - 06-18-2007 05:51 AM

Hey,
I have seen alot of topics for asking to add a subdomain with it's own login. So sub.example.tld can be added. There are alot of questions about this, and i have never seen a good solution. But i know that this can be done. I have seen it on several websites with ispcp.

I'm trying to get it work, but i have no idea how to fix it. This is my situation: I have a domain hostt.nl registered at transip.nl . i have forwarded it to my server. I have created a account with host.nl. now i can add domains like test.hostt.nl . I can even login with this subdomain. But http://test.hostt.nl/ goes to hostt.nl . Has someone an idea how i can make it really go to /var/www/virtual/test.hostt.nl like every domain?

And i have added the domain daantjees.nl too it works like a charm, but i can't add test.daantjees.nl it give me an error that the domain already excist.

I hope we can find a solution for this problem, and make a Howto.

Sincerly, Patrick/


RE: Old problem... Subdomains. - raphael - 06-18-2007 05:54 AM

http://www.isp-control.net/ispcp/wiki/howto_subdomains_as_domains

If the domain already exist you will have to regenerate it's config files


RE: Old problem... Subdomains. - Z4P - 06-18-2007 06:03 AM

Thanks, but how can I regenerate it's config?


RE: Old problem... Subdomains. - raphael - 06-18-2007 06:40 AM

http://www.isp-control.net/ispcp/wiki/howto_regenerate_config_files


RE: Old problem... Subdomains. - Z4P - 06-18-2007 06:46 AM

Thanks raphael, this works Smile finally a good howto, GJ.

But now does http://test.hostt.nl/ work,
but http://www.test.hostt.nl/ doesn't work, is here a fix for too?


RE: Old problem... Subdomains. - raphael - 06-18-2007 09:59 AM

When I open both links it says "Works!"
Are you sure http://www.test.hostt.nl/ doesn't? Big Grin


RE: Old problem... Subdomains. - BioALIEN - 06-18-2007 01:20 PM

Works for me too Smile


RE: Old problem... Subdomains. - Z4P - 06-18-2007 04:11 PM

Jeay, true. i have added * A serverip to my dns settings and now it works Smile