Well, in order to run twisted matrix on a web-server, all you have to do is really just run a simple Python Script:
from twisted.web import server, resource
from twisted.internet import reactor
class HelloResource(resource.Resource):
isLeaf = True
numberRequests = 0
def render_GET(self, request):
self.numberRequests += 1
request.setHeader("content-type", "text/plain")
return "I am request #" + str(self.numberRequests) + "\n"
reactor.listenTCP(80, server.Site(HelloResource()))
reactor.run()
If you listen on port 80
then your server is open to the web. You can learn more about it from here.