[ SDF Public Access UNIX System .. Est. 1987 ]

join welcome faq status members store tour gopher abuse minecraft
social tilde europa webmail gallery usermap irc tutorials telnet git ssh
Building a website on SDF

Building a website on SDF


Contents


Introduction

Creating your own websites can be fun and SDF gives webspace to all its validated users, so the moment you become validated you can begin creating your own websites straight away.

In this tutorial when text looks like this this means it's a command you can run in your shell, once you've logged into SDF.

Getting Started

Your First Page!

Creating your first page is SO easy! First you'll need to open a text editor. SDF has many text editors installed but new users to UNIX often find that nano is the easiest to work with.

Bot Traffic and Robots.txt

You may see unusual or heavy traffic in your access logs, and this can even impact performance. As of this writing (late 2025), AI bots are crawling huge swaths of the internet and causing issues, particularly with smaller sites that are not designed to handle the load.

Mainstream search engines and AI-crawlers will honor a robots.txt file in your website root directory. Wikipedia is a good starting point for information on robots.txt, but due to the large number of potential bot user agent names, a suggested robots.txt that only allows a small number of small-web friendly bots is as follows:

User-agent: Ariadne
User-agent: Wibybot
User-agent: MojeekBot
User-agent: DuckDuckBot
User-agent: search.marginalia.nu
Disallow:

User-agent: *
Disallow: /

This example allows only the five search bots listed, and blocks anyone else. Here is some info about the listed user agents:

If you find bots in your access logs that are clearly ignoring robots.txt, here are some ideas:

Problems

The most important thing you need to have is patience. Sometimes updates when running mkhomepg may take a few hours to complete, sometimes they will occur almost immediately. By using the higher functions of your brain and patience you will solve a lot of the problems you may meet!

In case a page is not found on your site, the client may be forwarded to a page of sdf.org or redmartian, which can be confusing (but which is in fact completely reasonable, as all the domains belong to one entity). If you want to prevent this also for broken links, you have to set up error handler documents. Please consult the faq:WEB:7 item for this!

Diagnose

If your site is hosted on sdf.org (you are an ARPA member) then you can grep inside the httpd log file in /var/log. For example:

$ grep abc123.sdf.org /var/log/httpd/*.log

If your site is hosted on ma.sdf.org (you are a MetaARPA member) then your can look inside the log file for your web site in /meta/log. For example:

$ less /meta/log/abc123.sdf.org

For aditional help, check the information in the FAQ page "What About the Access Logs, Statistics, and Quotas?"

$Id: building_a_website.html,v 1.10 2025/10/07 17:39:57 slugmax Exp $

©1987-2065 SDF Public Access UNIX System, Inc. 501(c)(7)
(this page was generated using ksh, sed and awk)