subdomain problem

nem

Verified User
Joined
Apr 9, 2005
Messages
49
Hello,

When i create a sub-domain i can't access it.

For example: test.domain.com shows an error 403.

However if i were to go to: www.domain.com/test then it works.


What am i doing wrong? I see the A records and it has www.test and test.
 
nem,

It's impossible to respond to your question because you don't own domain.com; you've obviously decided to not tell us your domain name.

Without the domain name there's no way to test.

jum,

www.vanmie.nl/sanne tells me I'm not allowed to access the sanne directory. That tells me there's either no index.html file in the subirectory or the permissions/ownership for either the subdirectory or the files are wrong. If you're not admin of the server with root access, and you definitely have an index.html file in the sanne directory, then you need to have your hosting company help you.

Jeff
 
I am the admin of the page, what do i have to change in the root then?
 
I don't know because I don't know what's wrong.

Log in as root and navigate to the user's directory at:

/home/<username>/domains/vanmie.nl/public_html

Then run these commands and post the output.

ls -ald .
ls -al index.*
ls -ald sanne
ls -al sanne/index.*

Jeff
 
I'm just a rookie with DA, how do i run those commands and what is login as root :(
 
Well the permissions of the directory was 744 and of another map (forum.vanmie.nl), which was working, was the permission 755 so i changed it and it worked.
 
I don't know how it got to be 744; you can't get into a directory unless it's got exec privileges.

Jeff
 
Back
Top