How to generate webpage with specified extension?

hi,
I want to generate a webpage with extension (*.trc)
how to?
thanks!