I'm using the API to create multiple subdomains. Each subdomain must run it's OWN copy of a PHP application. I had though that creating an application then adding that to the website would accomplish that? Can someone please confirm? If that is NOT the case, how can I get all files to each subdomain? asked 25 May '16, 14:53 edalzell |
You would need to create a separate PHP app for each site, copy the files to each app, and assign each app to the website set up for each subdomain. answered 25 May '16, 15:14 maryh Thanks @maryh, that doesn't sound great. Maybe I'll just see how to copy a zip file to a site via the API and then unzip it.
(25 May '16, 16:04)
edalzell
Where does the website live? i.e. how can I copy files to it? Or will I have to: 1) create an application 2) copy the files into it 3) use that application for a subdomain website
(25 May '16, 16:08)
edalzell
You'll need to create an application, copy the files into it, and use that application for the subdomain's website. When you create an application, a directory is created in /home/youraccount/webapps, so you would upload your files into /home/youraccount/webapps/<name_of_application>.
(25 May '16, 16:15)
maryh
|