Connecting Tech Pros Worldwide Forums | Help | Site Map

Uploading to different (sub)domain

Ricky Romaya
Guest
 
Posts: n/a
#1: Jul 17 '05
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)?

Dani CS
Guest
 
Posts: n/a
#2: Jul 17 '05

re: Uploading to different (sub)domain


Ricky Romaya wrote:[color=blue]
> 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)?[/color]


You want to read about Virtual Hosts in the Apache docs. This has little
to do with PHP.
Ricky Romaya
Guest
 
Posts: n/a
#3: Jul 17 '05

re: Uploading to different (sub)domain


Dani CS <contusiones.merluza@yahoo.es.quita-la-merluza> wrote in
news:ct7nsk$cfd$2@news.ya.com:
[color=blue]
>
> You want to read about Virtual Hosts in the Apache docs. This has
> little to do with PHP.
>[/color]
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.
Closed Thread


Similar PHP bytes