Help - Search - Members - Calendar
Full Version: Sub Domain Problem
The Planet Forums > Control Panels > Plesk
nacarls
I have wrote a php script which forwards users in a frame to a given remote location depending on which subdomain is give. If no subdomain is used or "www" is used then obviously it just redirects to the correct page.

My only problem now is that no matter which subdomain i used(those not an actual subdomain in plesk) I get the default PLESK page. Is there anything i need to do to stop this page from showing and allow the index.php page to be views from all subdomains other than those setup in plesk?

Ive also inserted the dns entry into plesk:

*.domain.com CNAME domain.com

IS there anything else im going to need to do to get this to work. Thanks in advance for any help.
nick
nacarls
Can anyone help?

I guess plesk took a dive here since they stopped supporting it. Well, One of my biggest owrries has been resolved. its not DNS for the domain. But the problem is that plesk binds all the subdomains for this virtual domain to the default plesk page. I think i might try do edit it but then again is php supported on the default page? Cant believe no one else has had these problems.

nick
LadyHawk
There is a sub domain hack over on the plesk forum that works nicely so I have been told icon_smile.gif
hansm
[Mod Edit] No soliciting allowed [Mod Edit]
nacarls
Hi sorry for the delay i was away for a couple days. But, I have my own php script for this but my problem is plesk is catching all the subdomains. For instance even though sub.domain is not in plesk as an actual domain, shouldnt it not even point to plesk. So if plesk doesnt forward these domains tot he actual domain then how could my php script on the actual domain even work.

I can only figure that its some sort of dns problem in plesk. And im not usre what i need. Like i have said i have tried bot the CNAME and A records in plesk together and individually and it still refuses to work. I know someone out there has gotten that plesk hack to work since its basically the same thing i have i sahouldnt have any trouble right? The post on plesk has not extra info other then its a php script and thats it. Ill go ahead and post this over in plesk but i was hopoinh to get an answer form you smart guys icon_smile.gif.

thanks foir the help.
nick
nacarls
Ok, I have figured out what the problem was and now want to know what i should do. The problem was the RS dns entries since there was an IP change involved. The problem now is that they will not set up a wildcard dns entry for this domain. SO each and every domain i want to run is going to have to be entered into the dns in the members area. Which is what i wanted to steer clear of. Does anyone know of any good dns providers out there. The reason i do not want to run my own dns servers is just cause i do not want to have to deal with 2 more machines and setting them up. Any help here or advice would be appreciated.

thanks
Nick
NightHawk
QUOTE
Originally posted by nacarls
Ok, I have figured out what the problem was and now want to know what i should do. The problem was the RS dns entries since there was an IP change involved. The problem now is that they will not set up a wildcard dns entry for this domain. SO each and every domain i want to run is going to have to be entered into the dns in the members area. Which is what i wanted to steer clear of. Does anyone know of any good dns providers out there. The reason i do not want to run my own dns servers is just cause i do not want to have to deal with 2 more machines and setting them up. Any help here or advice would be appreciated.  

thanks
Nick


If you only have the one plesk box...why not just run your nameservers on it......plesk does this very easily...and while it does not give you redundant dns....do you really need it with one only box??? If the nameservers are on the box..and they are down..the box is probably down...does it matter if dns answers when the box is down? the box would still be down??

Hope that helps cool.gif
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2009 Invision Power Services, Inc.