FRIHOST • FORUMS • SEARCH • FAQ • TOS • BLOGS • COMPETITIONS
You are invited to Log in or Register a free Frihost Account!


Access forbidden to my subdomain





DoctorBeaver
I created a subdomain, the folder appeared in my public_html folder, loaded an index.php page into it, tried to run it using http://subdomain.mysite.frih.net/ and got "You do not have permission..."

Permission for the folder is set to 755.

What am I doing wrong?

(No point in anyone trying it as I've deleted the page)
enternaldr
Is all your files and folders set to 755. Maybe thats the problem.
mathiaus
I re-created a test file (index.php) and it worked for me. Can you check it shows up fine for you please?
DoctorBeaver
Yeah, that 1 works. I wonder why mine didn't Confused

Actually, while I'm at it - instead of having the index.php page in the subdomain folder, can I have it in a subfolder? That would make life a lot easier as a package I want to install uses its own folder name in the preset menu URLs.
Bondings
DoctorBeaver wrote:
Yeah, that 1 works. I wonder why mine didn't Confused

Actually, while I'm at it - instead of having the index.php page in the subdomain folder, can I have it in a subfolder? That would make life a lot easier as a package I want to install uses its own folder name in the preset menu URLs.

Yes, that should be working if you use a .htaccess file.

If you already have one in that directory, then simply add the code, otherwise create a blank .htaccess file and put it in there.
Code:
DirectoryIndex directory/filename.extension

That should normally be working.
DoctorBeaver
Thanks guys. All working now.
Related topics
Help with new account
I need some major help...
Newbie to the Extreme, Help with uploading website?
Domain not resolving...
You should try HideIP Platinum
What΄s wrong with server 2
403 access forbidden
How to redirect to a particular directory
How to have dynamic link button
Making a Dynamic link button
Multiple index.php requests in one second?
server 4 - down for at least a week
access forbidden from internet, works locally
Access of Subdomains
This topic is locked: you cannot edit posts or make replies.    Frihost Forum Index -> Support and Web Hosting -> Web Hosting Support

FRIHOST HOME | FAQ | TOS | ABOUT US | CONTACT US | SITE MAP
© 2005-2011 Frihost, forums powered by phpBB.