🪣 NIPA S3 — Static Website Test

Upload this to your bucket and verify each check below

Current URL Hostname Protocol Loaded at

✅ Diagnostic Checklist

🌐
HTML served correctly If you can read this, index.html loaded. Basic static hosting is working.
PASS
🎨
CSS MIME type If the page has a dark background and white text → style.css loaded with correct text/css MIME type.
If white background → MIME type is wrong (text/plain). Re-upload with --guess-mime-type --no-mime-magic.
checking...
⚙️
JavaScript execution JS is running if the URL info above is filled in and this badge shows PASS.
If badge shows FAIL → script.js blocked or served with wrong MIME type. Re-upload with --guess-mime-type --no-mime-magic.
JS not running
🔒
HTTPS / SSL Protocol above should show https:. If http:, CNAME not mapped yet or auto-SSL hasn't provisioned (wait a few minutes after DNS propagation).
checking...
🖼️
Image serving The image below should render. If broken → ACL not public-read on image file, or wrong path. Upload with --acl-public.
checking...

🖼️ Image Test

Upload test-image.png to your bucket alongside this file. If the box below is empty or broken, the image isn't loading.

Test image

🔴 Error Page Test

Click the button below to navigate to a non-existent path. You should see your error.html page, not a raw S3 XML error response. Press Back to return.

Trigger 404 →

If you see an XML error like <Code>NoSuchKey</Code> instead of your error page, the Error Document isn't configured in the portal or error.html wasn't uploaded.

📋 Upload Commands

Run these to upload all test files correctly:

# Upload all files with public-read ACL and correct MIME types
s3cmd put index.html  s3://YOUR-BUCKET/ --acl-public --guess-mime-type --no-mime-magic
s3cmd put error.html  s3://YOUR-BUCKET/ --acl-public --guess-mime-type --no-mime-magic
s3cmd put style.css   s3://YOUR-BUCKET/ --acl-public --guess-mime-type --no-mime-magic
s3cmd put script.js   s3://YOUR-BUCKET/ --acl-public --guess-mime-type --no-mime-magic
s3cmd put test-image.png s3://YOUR-BUCKET/ --acl-public --guess-mime-type --no-mime-magic

# Verify all files are uploaded
s3cmd ls s3://YOUR-BUCKET/