How should I set up dielines so that they are not printed?
In Illustrator, keep your die lines in a separate layer. You can set that layer to non-print in the Layer Options dialog (double click on the layer).
Checking the Template box will also make it a non-print layer:
When you go to print, make sure that Visible & Printable Layers is selected for Print Layers.