s3cmd and wrong MIME types

23.07.2013
by Esa Turtiainen
tags: S3 MIME

I uploaded a full HTML site to S3 using s3cmd and wondered why CSS did not load at all and even though most HTML files worked, some did not.

It turned out that the MIME types of the files were wrong.

MIME type is a string that tells what type ...

lisää…

Day’s one-liner: sync your web server to S3

05.07.2013
by Esa Turtiainen
tags: S3 git AWS

Deploy your web server from the local machine to S3:

s3cmd sync --exclude '.git\*' --exclude '\*~' ./ s3://www.\`basename $PWD\`

I put my web server into ~/git/domain.com. You cd to this directory. This one-liner sends all important files from the current directory to the S3 web server in bucket ...

lisää…

Startup company IT with couple of dollars - Static web server in S3 - How to configure DNS?

I have couple of startup ideas where I first need a simple web page, email and document archive.

Here I discuss how to create a quick startup office and static web pages. I use my recent project privu.net as an example.

Especially I tell how to configure static pages ...

lisää…

Cheapest Linux & web server? Maybe EC2 but just maybe

I have been looking for a simple web server in the cloud. Something to host web pages but with full root access to do all kind of fancy things.

I have had one for over 10 years. That is in rimuhosting.com. I am fully satisfied with that, but the ...

lisää…