I\'m using python and CherryPy to create a simple internal website that about 2 people use. I use the built in webserver with CherryPy.quickstart and never messed with the c
That depends on how you are running the cherrypy init.
If using cherrypy 3.1 syntax, that wold do it:
cherrypy.server.socket_host = 'www.machinename.com'
cherrypy.engine.start()
cherrypy.engine.block()
Of course you can have something more fancy, like subclassing the server class, or using config files. Those uses are covered in the documentation.
But that should be enough. If not just tell us what you are doing and cherrypy version, and I will edit this answer.