4 ms·
I would like to see a hybrid between DropBox/Cloud Drive and AWS. I would like a /sites/ folder into which I can drop webpages and have them autohosted. It has
by phlux 16y ago
I would like to see a hybrid between DropBox/Cloud Drive and AWS.
I would like a /sites/ folder into which I can drop webpages and have them autohosted. It has the following structure:
/Sites/
-->/root/ <-- primary page @ in DNS
-->/site1/ <-- Subdomain1
-->/site2/ <-- Subdomain2
-->/siteN/ <-- Different DNS
Putting sites in /sites/ are actually hosted on AWS so that traffic surges can be accounted for.
etc...
- trotsky 16y agoI think it'd be fairly easy to put together a v1 quality script hosted on an AWS instance to do that, provided the subdomains have been pre-provisioned or you're ok with them all spinning up on a single instance.
- phlux 16y ago<Picard> Make it so. </Picard> --I agree, but I think that this is a viable actual service model as well - as opposed to a duct-tape scripting hack.
- famfamfam 16y agoNow that Amazon S3 provides Website Endpoints and index documents [1][2], it is probably fairly trivial to set this up either using an S3 sync tool, or an S3 mount such as ExpanDrive, without resorting to CloudDrive or EC2. You would need to set-up CNAMES for your subdomains though, and it will not work with the primary (non-www.) domain. [1] http://docs.amazonwebservices.com/AmazonS3/latest/dev/WebsiteHosting.html http://docs.amazonwebservices.com/AmazonS3/latest/dev/Websit... [2] http://aws.typepad.com/aws/2011/02/host-your-static-website-on-amazon-s3.html http://aws.typepad.com/aws/2011/02/host-your-static-website-...