Need help with domain, please

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
arukomp
Forum Contributor
Posts: 113
Joined: Sun Sep 24, 2006 4:22 am

Need help with domain, please

Post by arukomp »

Hi,

I have a big problem.

I have a hosting set up on one domain. Now i got another domain and added to the first one as a addon domain. I've also set up for domain to use http://www.maindomain.com/fifty on http://www.seconddomain.com . Now when i go to http://www.maindomain.com/fifty it shows everything it should be. when i go to http://www.seconddomain.com it shows an empty page. Nothing is in it. No errors either. But when there's error in script (can't connect to mysql database etc.), it is showed in second domain. But if everything is good in the script, then http://www.seconddomain.com shows only empty page.

Maybe someone knows anything about it? Anyone encountered this kind of problem?

Thanks for your help a lot.
User avatar
aaronhall
DevNet Resident
Posts: 1040
Joined: Tue Aug 13, 2002 5:10 pm
Location: Back in Phoenix, missing the microbrews
Contact:

Post by aaronhall »

Is it accessibly via http://www.seconddomain.com/fifty?
arukomp
Forum Contributor
Posts: 113
Joined: Sun Sep 24, 2006 4:22 am

Post by arukomp »

No... "The requested URL /fifty was not found on this server."
User avatar
aaronhall
DevNet Resident
Posts: 1040
Joined: Tue Aug 13, 2002 5:10 pm
Location: Back in Phoenix, missing the microbrews
Contact:

Post by aaronhall »

Are your include paths correctly set up to handle seconddomain.com?
Post Reply