Definitely! I usually name my files starting with YYYY_MM_DD
(which makes it easy to sort by the date I started making the file), a number for which entry it was on that day (1,2,3,4… plus sometimes a letter too if I want to keep multiple drafts), and a few words if I have other details I want to remember. e.g. “transcribe_song_by_artist
” or things like “cont_YYYY_MM_DD-entry
” when I continue working on a piece from a long time I ago. Sometimes I add a title after that too if I wanted to give the piece one.
You can do this by configuring an HTTP server (e.g. Apache) to listen on port 80 and/or 443 (HTTP and HTTPS standard ports, respectively) and select which site to serve based on the name of the site requested. Apache documentation for this feature is here: https://httpd.apache.org/docs/2.4/vhosts/name-based.html
Note the sample config snippet showing how to set up a simple static site serving both
www.example.com
andother.example.com
usingServerName
in aVirtualHost
to select between them.You can also have Apache match a pattern in the URL and reverse proxy to another HTTP server – that can just be another program on the same computer listening on a different port, or could be on another computer entirely. See the simple reverse proxy config example on this page for a starting point: https://httpd.apache.org/docs/2.4/howto/reverse_proxy.html (Note also that you probably don’t need anything further down that page – e.g. the load balancer and failover stuff is not likely to be useful to you for a small personal project.)
Other popular HTTP servers can do this too; I just happen to have done it with Apache before.