View Full Version : Subdomain help
mrquarter
08-07-2008, 11:10 PM
Okay, I know that if you make, say quarterx.org/forums/, forums.quarterx.org will also work.
Well I am having issues with this...
I made quarterx.org/forums/ and it works when I go to that. But when i try to get to forums.quarterx.org, it gives me a white screen.
I have them as folders, and the subdomains are not working. That is what is wrong.
bugtracker.quarterx.org and changepass.quarterx.org both work, but none other.
Any help?
Victor01469
08-07-2008, 11:27 PM
Eric,
mrquarter is a user on my account.
I'd like you to personally look into this issue, as I, with the experience and knowledge I have with this hosting could not figure it out. If you see what it is and you can fix it, you have full permission to edit whatever files/databases need to be edited to fix it.
From what I could see, it wasn't any settings stored in the files or the database that could be causing this issue.
Thank you.
Tyler
08-07-2008, 11:49 PM
This is an issue with your script. I do not see a white page. It is most likely that the script requires a default URL which you have setup as http://quarterx.org/forums/ Then when you went to forums.quarterx.org it wont show because the script doesnt know what that url is because you told the script that it was http://quarterx.org/forums/
The reason why your background wont work is that it is pulling from http://quarterx.org/images/BGs/background.jpg but when you use forums.quarterx.org it thinks it should get the image from http://forums.quarterx.org/images/BGs/background.jpg which is http://quarterx.org/forums/images/BGs/background.jpg where the image does not exist. In your template you need to specify the exact URL of the image not the relative url.
Why is mrquarter on your account?
Victor01469
08-08-2008, 12:18 AM
mrquarter is a sub-user on my account, and he is on it because he is an admin on the quarterx.org domain.
I still cannot find what is wrong with the script that would be causing this issue. There's nothing in the database from what I can see [1075_server] that would make this not work.
UnlimitedMB
08-08-2008, 12:44 AM
The problem is your script is trying to read files outside of its home directory which is not allowed due to security settings.
eg. in quarterx.org/forums/ your root directory is
/hosted/domains/q/u/quarterx.org/public_html
in forums.quarterx.org your root directory is
/hosted/domains/q/u/quarterx.org/public_html/forums
your script is trying to access the file
/hosted/domains/q/u/quarterx.org/public_html/inc/db.php
this would not work in forums.quarterx.org because the file is outside the allowed home directory.
I know of a fix for this issue which i made for another server but it is not something which I can do immediately, the server needs to be recompiled from source.
mrquarter
08-08-2008, 05:46 PM
Is there anyway which you can fix this?
vBulletin® v3.8.4, Copyright ©2000-2012, Jelsoft Enterprises Ltd.