Single static HTML file: how can I serve it efficiently?
Posted
by
Stevo M.
on Stack Overflow
See other posts from Stack Overflow
or by Stevo M.
Published on 2011-01-16T08:26:33Z
Indexed on
2011/01/16
8:53 UTC
Read the original article
Hit count: 227
Good afternoon.
I have a domain and server that I've procured for non-HTML services. Should anyone stumble across port 80 of this server, I'd like to serve them a page explaining what the domain & server is for, instead of just 404'ing them.
How can I serve one small, static, independent (i.e.: no images or CSS) HTML file, with a minimum of effort (meaning both a smooth setup for me, and minimum CPU expense).
The server contains an untouched installation of ArchLinux, and I'm open to solutions in any language.
(Note: I am a slight newbie when it comes to this, so forgive me if this question seems trivial or obvious.)
Thank you.
© Stack Overflow or respective owner