Hi guys (new here),
But I am experiencing some difficulties with subdomains on DirectAdmin (my English is rather poor, so let apologize up front).
I am normally kinda used to Plesk (sorry for the foul language
), so DirectAdmin is kinda "hard" on me.
Okay, this is what I am trying to achieve. I created a subdirectory called 'subdir' to my domain.com. So this results in 'subdir.domain.com'
If I now add an index to the directory, how can I load the stuff (like CSS, images and so on) from the main directory (public_html)?
Maybe this will make it a bit clearer. I got contents in domain.com, for example exampleimage.jpg
How do I call this image from the subdirectory? So that the index.php in subdir.domain.com can load the image (exampleimage.jpg) from domain.com.
Once again I apologize if my intentions are not clear, but for some reason I am experiencing tons of problems here.
Maybe I overlooking something, or I am taking the wrong approach, or thinking to difficult.
Can anyone explain. Thank you in advance.
Regards
But I am experiencing some difficulties with subdomains on DirectAdmin (my English is rather poor, so let apologize up front).
I am normally kinda used to Plesk (sorry for the foul language

Okay, this is what I am trying to achieve. I created a subdirectory called 'subdir' to my domain.com. So this results in 'subdir.domain.com'
If I now add an index to the directory, how can I load the stuff (like CSS, images and so on) from the main directory (public_html)?
Maybe this will make it a bit clearer. I got contents in domain.com, for example exampleimage.jpg
How do I call this image from the subdirectory? So that the index.php in subdir.domain.com can load the image (exampleimage.jpg) from domain.com.
Once again I apologize if my intentions are not clear, but for some reason I am experiencing tons of problems here.

Maybe I overlooking something, or I am taking the wrong approach, or thinking to difficult.
Can anyone explain. Thank you in advance.
Regards