Uploading to different (sub)domain

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View
Suppose I have this domain: www.mydomain.net
and this subdomain: foo.mydomain.net

I want to make foo.mydomain.net as the control panel of www.domain.net,
which maintains all file uploading. How can I do this if each sub/domain
have their own seperate 'www' folder (assuming apache web server)?

Re: Uploading to different (sub)domain

Ricky Romaya wrote:
Quoted text here. Click to load it

You want to read about Virtual Hosts in the Apache docs. This has little
to do with PHP.

Re: Uploading to different (sub)domain

Quoted text here. Click to load it
What I ask is when I 'upload' the file to foo.mydomain.net (the control
panel resides there), it's in my understanding that the uploaded file will
reside somewhere in the foo.mysubdomain.net's docroot. What I want is the
uploaded file to be placed somewhere on www.mydomain.net's doc root, which
is a seperate docroot.

If I own the web hosting it might be a matter of symbolic linking, but I
don't own the hosting, and it's the server's policy to have seperate
docroot for each sub/domain.

Site Timeline